public JTerrainRenderer(JTerrainShader shader, Matrix4 projectionMatrix, JTerrainTexturePack texturePack) { TerrainShader = shader; shader.start(); shader.LoadProjectionMatrix(projectionMatrix); shader.LoadTextures(texturePack.TerrainHeights, texturePack.Count); shader.stop(); }