Merge pull request #103617 from stuartcarnie/fix_texture_pixel_size

2D: Fix light shader accessing `TEXTURE_PIXEL_SIZE`
This commit is contained in:
Thaddeus Crews 2025-03-12 10:31:50 -05:00
commit 2f5f3c9a5a
No known key found for this signature in database
GPG Key ID: 62181B86FE9E5D84

View File

@ -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);