Model shadows


How can I obtain model shadows (see the hydraulic piston shadow) with JME ?


Did you search the jmetest-package?

There is a Test: jmetest.renderer.TestShadowPass

Are you using StandardGame or one of the others?  Using StandardGame and GameStates complicates matters a bit fyi

No GameStates at the moment…

@ttrocha: as you can notice the model is self-projecting shadows. Is this achieved by creating 2 separate parts of the model ? one is the "piston" and one is the rest ?