Hi guys!
I want you give me some idea to implement the two following idea:
- My model has invisible function. So, any opponent can't see my model!
- Morever, the model can be seen but not clearly from any opponent.
Hope to get reply soon!
Hi guys!
I want you give me some idea to implement the two following idea:
to completely hide a model you can set the cull mode.
if (isInvisible) {
node.setCullMode(SceneElement.CULL_ALWAYS);
} else {
node.setCullMode(SceneElement.CULL_DYNAMIC);
}
If you mean you want the invisible effect used by most modern games you'll probably need to used a shader?
Does cull mode keep the bounding boxes?
Yes it does… it only skips it from rendering.
Thanks all! Especially Core-Dump.
I solved my problem by your way.