After a first successful test with shaders in Java 3D, I would like to go further and try to generate shadows in a scene with one or more shadow maps.
Did anyone among you already try this feature with Java 3D?
What API should I use to build a shadow map quickly, and how can I use it in a shader?
Java3D still supports GLSL shaders but it's quite limited (only vertex and pixel shaders). You can use javax.media.j3d.SourceCodeShader and javax.media.j3d.ShaderAppearance. If you need to use tessellation or geometry shaders, contribute or use another scenegraph (Ardor3D, JMonkeyEngine).