Hi all,
I am testing some Gaussian Splatting models, which I captured by Postshot and edited and exported in SuperSplat, that worked fine. But when I tried to put it in the Statue Gallery project, which I forked, I am having a console error:
Failed to compile vertex shader:
ERROR: 0:412: ‘splatUV’ : undeclared identifier
ERROR: 0:412: ‘texelFetch’ : no matching overloaded function found
ERROR: 0:412: ‘=’ : dimension mismatch
ERROR: 0:412: ‘assign’ : cannot convert from ‘const mediump float’ to ‘out mediump 4-component vector of float’407: }
408:
409: vec4 v1v2 = calcV1V2(splat_cam.xyz, covA, covB, transpose(mat3(model_view)));
410:
411:
412: color = texelFetch(splatColor, splatUV, 0);
413:
414:
415: float scale = min(1.0, sqrt(-log(1.0 / 255.0 / color.a)) / 2.0);
416:
417: v1v2 *= scale;
while rendering Pass:RenderPassForward | Camera: Camera, Layer: World(TRANSP) | Node: Bird, Material: compressedSplatMaterial
What I am doing wrong?