Merge pull request #14656 from apezel/master

Fixes built-In "LIGHT" causing fragment compilation error
This commit is contained in:
Rémi Verschelde 2017-12-15 16:55:55 +01:00 committed by GitHub
commit 72d5ae84b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -812,6 +812,7 @@ ShaderCompilerGLES3::ShaderCompilerGLES3() {
//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";