is it possible to set the stencil reference value and stencil mask for a RenderState or Material? I found that it is possible in JME2, is it also possible in JME3?
Thanks in advance!
You can somehwo use stencil in jme3, I dont know wich way, but I know there is a shadowvolume rendere somewhere around the forum, that nearly works out of the box and is stencil based.
Yeah but I think it doesn’t set the ref + mask, it only sets the functions and operators.
In the RenderManager code I see the following:
At the 0 there should be the stencil ref and at the Integer.MAX_VALUE the mask imho …