Fix LIGHT compilation for canvas shader
This commit is contained in:
parent
98ccaa1bad
commit
fdfddbdc3c
2 changed files with 6 additions and 6 deletions
|
|
@ -2506,7 +2506,7 @@ RendererCanvasRenderRD::RendererCanvasRenderRD(RendererStorageRD *p_storage) {
|
|||
actions.renames["FRAGCOORD"] = "gl_FragCoord";
|
||||
actions.renames["POINT_COORD"] = "gl_PointCoord";
|
||||
|
||||
actions.renames["LIGHT_POSITION"] = "light_pos";
|
||||
actions.renames["LIGHT_POSITION"] = "light_position";
|
||||
actions.renames["LIGHT_COLOR"] = "light_color";
|
||||
actions.renames["LIGHT_ENERGY"] = "light_energy";
|
||||
actions.renames["LIGHT"] = "light";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue