Self Shadowing with SPS?


I’m trying to have particles cast shadows on each other in the SPS. I didnt read anywhere that it was or wasnt supported. When I set the mesh to receive a shadow from itself, it kind of works in this playground (move the camera around, you can see the edges of the planes are receiving some light).
Test with line 38


Actually the SPS is a standard BJS mesh. So the same way to cast shadows on itself should work with the same result. I don’t know much about shadows…

Actually playing with the bias gets you something, but you get some odd artefacts. Not a bug then.

1 Like