7 #include "VectorMath.h"
20 virtual void SetMVP(
const m44& mvp)
const {;}
21 void SetUnpackModelViewProjectionMatrix(
const m44& unpackModelViewProjectionMatrix)
const;
22 void SetDiffuseColor(
const v4& color)
const;
23 void SetHighlightColor(
const v4& color)
const;
24 void SetSaturation(
float saturation)
const;
25 void SetLightColors(
const m44& colors)
const;
26 void SetModelToLightDirections(
const m44& modelSpaceToLightDirections)
const;
30 GLuint GetDiffuseSamplerId()
const {
return 0; }
34 const Rendering::TShaderId shaderId,
35 const std::string& vertexShaderCode,
36 const std::string& fragmentShaderCode);
39 GLuint m_unpackModelViewProjectionMatrixUniformLocation ;
40 GLuint m_lightColorsUniformLocation;
41 GLuint m_modelToLightDirectionsUniformLocation;
42 GLuint m_minUVRangeUniformLocation;
43 GLuint m_maxUVRangeUniformLocation;
44 GLuint m_diffuseColorUniformLocation;
45 GLuint m_highlightColorUniformLocation;
46 GLuint m_saturationParamUniformLocation;
47 GLuint m_diffuseTextureSamplerUniformLocation;