Beispiel #1
0
 public void SetLightModel(Vector4 LightModel)
 {
     GL.ProgramUniform4(handle, UniformLayout.LightModel, (float)LightModel.X, (float)LightModel.Y, (float)LightModel.Z, (float)LightModel.W);
 }
Beispiel #2
0
 public void SetAtlasLocation(Vector4 atlasLocation)
 {
     GL.ProgramUniform4(handle, UniformLayout.AtlasLocation, (float)atlasLocation.X, (float)atlasLocation.Y, (float)atlasLocation.Z, (float)atlasLocation.W);
 }
Beispiel #3
0
 public void SetLightModel(Vector4 LightModel)
 {
     GL.Uniform4(UniformLayout.LightModel, (float)LightModel.X, (float)LightModel.Y, (float)LightModel.Z, (float)LightModel.W);
 }