Render inside faces of a cube, wireframe material inside of other doesnt render

Hi!



I created a mesh (scalar field), it has a bounding box and a box with wireframe material to show that bounding box.

I created a spotlight and another wireframe to show its position; all this is happening inside of the bounding box.

The problem is, when I attach the box (to show the bounding box) to rootNode, the spotlight mesh disappears!!



I tried bucket transparent, sky, looked for render inside faces of the cube (render inside faces, but I couldnt find info on this), thought on the Dome (but it is radial), none helped… any tips?

I just thought invert the normals of cube faces, have no idea yet how to do it in a simple way, could be it?

Have you tried setting the MaterialFace?



Check out this snippet: http://hub.jmonkeyengine.org/groups/general-2/snippets/single/9/