Skip to content

Commit

Permalink
Shader fix (playcanvas#7187)
Browse files Browse the repository at this point in the history
  • Loading branch information
slimbuck authored Dec 9, 2024
1 parent fd10688 commit c26ecf6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ mat3 quatToMat3(vec4 R) {
// read center
vec3 readCenter(SplatSource source) {
uint w = uint(textureSize(chunkTexture, 0).x) / 5;
uint w = uint(textureSize(chunkTexture, 0).x) / 5u;
uint chunkId = source.id / 256u;
ivec2 chunkUV = ivec2((chunkId % w) * 5u, chunkId / w);
Expand Down

0 comments on commit c26ecf6

Please sign in to comment.