2D: Fix light shader accessing TEXTURE_PIXEL_SIZE
(cherry picked from commit b3694662a2)
This commit is contained in:
committed by
Rémi Verschelde
parent
f6791c0c83
commit
4248781085
@ -306,6 +306,7 @@ vec4 light_compute(
|
||||
vec2 screen_uv,
|
||||
vec2 uv,
|
||||
vec4 color, bool is_directional) {
|
||||
const InstanceData draw_data = instances.data[instance_index];
|
||||
vec4 light = vec4(0.0);
|
||||
vec3 light_direction = vec3(0.0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user