PSSM Renderer doubles Object Count?

I’m not sure whether I’m doing anything wrong. However, when I add the PSSM to the Viewport and a Node is set to Receive, the number of objects double. Does this always happen, or am I doing something wrong?


PssmShadowRenderer pssmRenderer = new PssmShadowRenderer(assetManager, 512, 1);

pssmRenderer.setDirection(new Vector3f(-.5f,-.5f,.5f).normalizeLocal()); // light direction




Every renderer that needs multiple passes doubles, triples and then somes the rendered object count yeah, thats normal.

1 Like

That’s normal, if you set them to cast and receive it may triple them even more in some case.

That’s one of the reason shadows are expensive…but nothing comes for free…except maybe JME :smiley:

1 Like

Small price to pay :wink: