Пример #1
0
 /// <summary>
 /// Loads all shaders for the standard Game Engine 2D.
 /// </summary>
 public override void GetShaders()
 {
     Shader_Lightmap        = Shaders.GetShader("lightmap2d");
     Shader_Lightmap1D      = Shaders.GetShader("lightmap1d_2d?line_densen");
     Shader_Addlighttoscene = Shaders.GetShader("addlighttoscene2d");
     Shader_Combine         = Shaders.GetShader("combine2d");
     Shader_ApplyLights1D   = Shaders.GetShader("applylights1d_2d");
     GraphicsUtil.CheckError("GetShaders");
 }