I’ve set the GameObject the Decal Projector is on to a layer called ‘FOV’ and I’ve created a camera that only renders that layer but for some reason the Decal doesn’t show in the camera and it renders nothing.
Is there a way to do this?
What effect are you actually trying to achieve?
Basically I want to only render the decals and nothing else so that I can output the render in to a texture and then I can use that texture as a mask in another shader.
Bump.
EDIT: I found a way to achieve what I wanted by rendering the camera with the decals enabled and then rendering it again with the decals disabled then passing the two render textures in to a shader to compare the differences to make a mask which I then used for the cutout. It was awkward but the end result is perfect!