6 #include "VectorMath.h"
23 void SetMVP(
const m44& mvp)
const;
25 void SetOpacity(
float opacity)
const;
27 void SetGradientSaturation(
float colorSaturation)
const;
29 void SetGradientBrightness(
float colorIntensity)
const;
31 void SetIntensityBias(
float intensityBias)
const;
33 void SetIntensityScale(
float intensityScale)
const;
35 void SetIntensityUnpack(
const v2& unpack)
const;
37 void SetDensityBlend(
float densityBlend)
const;
39 GLuint GetIntensityMinRadiusSamplerId()
const {
return 0; }
41 GLuint GetIntensityMaxRadiusSamplerId()
const {
return 1; }
43 GLuint GetGradientSamplerId()
const {
return 2; }
47 const Rendering::TShaderId shaderId,
48 const std::string& vertexShaderCode,
49 const std::string& fragmentShaderCode
53 GLuint m_mvpUniformLocation;
54 GLuint m_intensityMinRadiusTextureSamplerUniformLocation;
55 GLuint m_intensityMaxRadiusTextureSamplerUniformLocation;
56 GLuint m_gradientTextureSamplerUniformLocation;
57 GLuint m_densityBlendUniformLocation;
58 GLuint m_intensityBiasUniformLocation;
59 GLuint m_intensityScaleUniformLocation;
60 GLuint m_intensityUnpackUniformLocation;
61 GLuint m_opacityUniformLocation;
62 GLuint m_gradientSaturationUniformLocation;
63 GLuint m_gradientBrightnessUniformLocation;