ZBuffer

Hello!



How can I achieve that an Object for example a sphere is always visible?

Always in Front of the other objects even though it’s in the back.





Thanks!





regards



-René

I would create a variable which stores the lowest value of depth and make the object’s Z position 1 lower than the variable. Then again, I am no expert, so I suggest you wait for the others to reply.

go to material and set boolean DepthTest to false.



https://wiki.jmonkeyengine.org/legacy/doku.php/jme3:advanced:j3m_material_files