Render by Layer
dkazantsev-wrg opened this issue · 3 comments
dkazantsev-wrg commented
Is there any way to render decal only on objects in specific LayerMask and ignore projection on some objects?
ColinLeung-NiloCat commented
It is not easy because it is a screen space method, you can control draw area by:
-stencil buffer
-render order
JuniorDjjr commented
I did this by changing Render Queue, not so modular, but my goal was to render it only on terrain, so no problems.
ColinLeung-NiloCat commented
yes, this is a limitation to any screen space decal method. It is not easy to render decal only on some objects