7 #include "ShaderMacros.h"
8 #include "VectorMath.h"
21 virtual void SetMVP(
const m44& mvp)
const {;}
22 void SetUnpackModelViewProjectionMatrix(
const m44& unpackModelViewProjectionMatrix)
const;
23 void SetDiffuseColor(
const v4& color)
const;
24 void SetHighlightColor(
const v4& color)
const;
25 void SetSaturation(
float saturation)
const;
26 void SetLightColors(
const m44& colors)
const;
27 void SetModelToLightDirections(
const m44& modelSpaceToLightDirections)
const;
32 const Rendering::TShaderId shaderId,
33 const std::string& vertexShaderCode,
34 const std::string& fragmentShaderCode);
37 GLuint m_unpackModelViewProjectionMatrixUniformLocation ;
38 GLuint m_lightColorsUniformLocation;
39 GLuint m_modelToLightDirectionsUniformLocation;
40 GLuint m_diffuseColorUniformLocation;
41 GLuint m_highlightColorUniformLocation;
42 GLuint m_saturationParamUniformLocation;