Skip to content

Commit

Permalink
Shader fix (#7187)
Browse files Browse the repository at this point in the history
  • Loading branch information
slimbuck committed Dec 9, 2024
1 parent a9c496b commit 69a4be1
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 69a4be1

Please sign in to comment.