Open pranavmalikk opened 4 months ago
i've tried multiple solutions, but none seem to work. For some reason i'm able to do processes like HBAOEffect, MotionBlurEffect, TRAAEffect. Just the SSGI is giving me the above error. I've tried reworking the threejs libraries to get the right versioning, tried multiple different rendering codes, and pretty much everything available but it doesn't work. It states my error is here:
useFrame((state, delta) => { gl.autoClear = true; composerRef.current?.render(delta); }, 1);
specifically on composerRef.current?.render(delta); but it's strange that the code works perfectly with the other post processing just not ssgi
I get a couple of errors when i'm calling SSGI in the latest version of the repo. I built this myself since npm was a little behind. I also tested this on the older npm version and i get the same errors. I'm using a couple gltf's and a boxGeometry. I thought this had to do with uv's but it seems boxGeometry has accurate uv's so that can't be the issue. And my GLTF's rendered fine in the previous version but now they don't render at all with the updated build.
I tried these configurations
Latest Github Repo build:
Previous NPM install 1.1.2:
One thing i want to note is that i'm able to successfully utilize the following:
specifically MotionBlur and SharpnessEffect