I’ve been trying to use the
THREE.BokehPass alongside with instanced geometry, however I’ve been running into some strange artifacts.
Take a look at this stack of oranges
There are 2 things that concern me:
- The ground floor plane messes up the result of oranges, despite being behind them. There is an option to make it invisible just to showcase the difference
[Regarding instancing] When you move the camera around, you’ll notice that in the middle of the stack, there is a “glitched” orange. I think that is actually where the original one would be placed if it wasn’t instanced.
Edit: forgot to add, that the shape of the “glitched” object is always the same as the instanced mesh.
The bokeh was the last step for my project, so this setback is rather irritating. Does anyone have explenation for this? I would appreciate any help