Skip to content

Commit ad6218d

Browse files
committed
Merge pull request godotengine#100028 from clayjohn/rd-lights-array
Use a vector instead of an array in canvas shader instance buffer
2 parents e5d5f96 + 7e5700d commit ad6218d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

servers/rendering/renderer_rd/shaders/canvas_uniforms_inc.glsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ struct InstanceData {
3737

3838
#endif
3939
vec2 color_texture_pixel_size;
40-
uint lights[4];
40+
uvec4 lights;
4141
};
4242

4343
//1 means enabled, 2+ means trails in use

0 commit comments

Comments
 (0)