21 bool LightingShaderLightScatteringDefaultImplementation::isSupported(
Renderer* renderer) {
41 "shader/" + shaderVersion +
"/lighting/light_scattering",
42 "render_fragmentshader.frag",
50 "shader/" + shaderVersion +
"/lighting/light_scattering",
51 "render_vertexshader.vert",
Lighting shader implementation.
virtual void initialize() override
Initialize renderer.
Lighting shader implementation.
virtual void initialize() override
Initialize renderer.
LightingShaderLightScatteringDefaultImplementation(Renderer *renderer)
Public constructor.
virtual void registerShader() override
Register shader.
virtual const string getId() override
virtual void updateShaderParameters(Renderer *renderer, int contextIdx) override
Update shader parameters.
virtual int32_t loadShader(int32_t type, const string &pathName, const string &fileName, const string &definitions=string(), const string &functions=string())=0
Loads a shader.
int32_t SHADER_FRAGMENT_SHADER
int32_t SHADER_VERTEX_SHADER
virtual int32_t createProgram(int type)=0
Creates a shader program.
virtual void attachShaderToProgram(int32_t programId, int32_t shaderId)=0
Attaches a shader to a program.
virtual const string getShaderVersion()=0
File system singleton class.