GLES2: Define LIGHT Spatial shader builtin

Fixes #25421.
This commit is contained in:
Rémi Verschelde 2019-01-28 17:27:16 +01:00
parent ac01aef9e3
commit 1148a33b20

View file

@ -869,6 +869,7 @@ ShaderCompilerGLES2::ShaderCompilerGLES2() {
//for light
actions[VS::SHADER_SPATIAL].renames["VIEW"] = "view";
actions[VS::SHADER_SPATIAL].renames["LIGHT_COLOR"] = "light_color";
actions[VS::SHADER_SPATIAL].renames["LIGHT"] = "light";
actions[VS::SHADER_SPATIAL].renames["ATTENUATION"] = "attenuation";
actions[VS::SHADER_SPATIAL].renames["DIFFUSE_LIGHT"] = "diffuse_light";
actions[VS::SHADER_SPATIAL].renames["SPECULAR_LIGHT"] = "specular_light";