Skip to content

Commit 69a4be1

Browse files
committed
Shader fix (#7187)
1 parent a9c496b commit 69a4be1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scene/shader-lib/chunks/gsplat/vert/gsplatCompressedData.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ mat3 quatToMat3(vec4 R) {
6262
6363
// read center
6464
vec3 readCenter(SplatSource source) {
65-
uint w = uint(textureSize(chunkTexture, 0).x) / 5;
65+
uint w = uint(textureSize(chunkTexture, 0).x) / 5u;
6666
uint chunkId = source.id / 256u;
6767
ivec2 chunkUV = ivec2((chunkId % w) * 5u, chunkId / w);
6868

0 commit comments

Comments
 (0)