19 ScreenSpaceRouteViewShader(
const Rendering::TShaderId shaderId,
const std::string& vertexCode,
const std::string& fragmentCode);
26 void SetModelView(
const m44& modelView)
const
28 const bool transpose =
false;
29 SetUniformM44(modelView, m_modelViewUniform, transpose);
32 void SetModelViewInverseTranspose(
const m44& modelViewInverseTranspose)
34 const bool transpose =
false;
35 SetUniformM44(modelViewInverseTranspose, m_modelViewInverseTransposeUniform, transpose);
38 void SetProjection(
const m44& modelView)
40 const bool transpose =
false;
41 SetUniformM44(modelView, m_projectionUniform, transpose);
44 void SetAltitudeFade(
float fade)
46 SetUniformFloat(fade, m_altitudeFadeUniform);
49 void SetThickness(
float thickness)
51 SetUniformFloat(thickness, m_thicknessUniform);
54 void SetAspect(
float aspect)
56 SetUniformFloat(aspect, m_aspectUniform);
59 void SetMVP(
const m44& mvp)
const
66 GLuint m_modelViewUniform;
67 GLuint m_modelViewInverseTransposeUniform;
68 GLuint m_projectionUniform;
69 GLuint m_altitudeFadeUniform;
70 GLuint m_thicknessUniform;
71 GLuint m_aspectUniform;