Hi.
I am attempting to get SSAO working with latest R3F. I’ve tried a couple of publically available examples, amongst others, this one: react-three-fiber by example | A collection of examples of using react-three-fiber
I get a lot of Typescript errors about missing properties (21 or so) but they all seem to be non-required, so not really sure what’s going on. I’ve made sure the imports are from the correct libraries, etc.
In other words, I can’t even get the code to compile.
Thankful for any help
Example I’ve tried:
<EffectComposer>
<SSAO
blendFunction={BlendFunction.MULTIPLY} // Use NORMAL to see the effect
samples={31}
radius={5}
intensity={30}
/>
</EffectComposer>