Пример #1
0
 public TerrainRenderer(TerrainShader shader, Matrix4 projectionMatrix)
 {
     this.shader = shader;
     shader.Start();
     shader.LoadProjectionMatrix(projectionMatrix);
     shader.ConnectTextureUnits();
     shader.Stop();
 }