7 #include "ShaderMacros.h"
21 virtual void SetMVP(
const m44& mvp)
const {;}
22 void SetUnpackModelViewProjectionMatrix(
const m44& unpackModelViewProjectionMatrix)
const;
23 void SetNormalToWorldMatrix(
const m44& normalToWorldMatrix)
const;
25 void SetDiffuseColor(
const v4& color)
const;
26 void SetOutlineColor(
const v4& color)
const;
27 void SetOutlineThickness(
const float outlineThickness)
const;
28 void SetLightColors(
const m44& colors)
const;
29 void SetWorldToLightDirections(
const m44& worldSpaceToLightDirections)
const;
33 GLuint GetDiffuseSamplerId()
const {
return 0; }
37 const Rendering::TShaderId shaderId,
38 const std::string& vertexShaderCode,
39 const std::string& fragmentShaderCode);
42 GLuint m_unpackModelViewProjectionMatrixUniformLocation;
43 GLuint m_normalToWorldMatrixUniformLocation;
45 GLuint m_lightColorsUniformLocation;
46 GLuint m_worldToLightDirectionsUniformLocation;
48 GLuint m_diffuseColorUniformLocation;
49 GLuint m_outlineColorUniformLocation;
50 GLuint m_outlineThicknessUniformLocation;