Merge pull request #15636 from mrcdk/fix_canvas_light
Set correct types on a couple variables inside light_compute in canvas.glsl
This commit is contained in:
commit
e1a0f2bd71
1 changed files with 1 additions and 1 deletions
|
@ -285,7 +285,7 @@ MATERIAL_UNIFORMS
|
|||
|
||||
FRAGMENT_SHADER_GLOBALS
|
||||
|
||||
void light_compute(inout vec3 light,vec3 light_vec,float light_height,vec4 light_color,vec2 light_uv,vec4 shadow,vec3 normal,vec2 uv,vec2 screen_uv,vec4 color) {
|
||||
void light_compute(inout vec4 light,vec2 light_vec,float light_height,vec4 light_color,vec2 light_uv,vec4 shadow,vec3 normal,vec2 uv,vec2 screen_uv,vec4 color) {
|
||||
|
||||
#if defined(USE_LIGHT_SHADER_CODE)
|
||||
|
||||
|
|
Loading…
Reference in a new issue