Hey all. I’m trying to figure out what’s going on with my shadowPass.
It took me forever to figure out how to even get the shadows to appear, so it’s better than nothing, but it’s looking like this. I don’t understand why.
Here is my code…
shadowPass = new ShadowedRenderPass();
shadowPass.setEnabled(true);
shadowPass.setLightingMethod(ShadowedRenderPass.MODULATIVE);
shadowPass.setRenderShadows(true);
shadowPass.addOccluder(charNode);
shadowPass.setShadowColor(ColorRGBA.darkGray);
Also, calling
shadowPass.setLightingMethod(ShadowedRenderPass.ADDITIVE);