mirror of
https://github.com/godotengine/godot.git
synced 2025-03-26 00:16:37 +08:00
Fixes built-In "LIGHT" causing fragment compilation error
Add a rename for shader LIGHT built-in, Fix bug #14537
This commit is contained in:
parent
f3ad14224e
commit
6f114c50a7
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user