I am trying to render only the Projectors of my scene but I can’t, all I have is a black image and it seems logical as Projectors need other objects to be projected on.
For this I am using replaced shaders but it doesn’t work and to be honest, I don’t have any idea on how to render only my projectors of my scene… Is there a way to do that ?
Even with Unity 5 and the framedebugger, I can’t retrieve the projector pass, it’s always combined with other objects. It doesn’t seem that it’s possible but maybe I am wrong. Any idea @Aras ?
The aim is to use a post process effect on some projectors with a specific shader.
For that I would like to exclude any other object from the camera and render only some specified projectors inside a rendertexture.
First, I am using a disabled camera with a script and a target rendertexture. In that rendertexture I only want to retrieve the MainTex of some projectors with a black background.
After that I want to send my rendertexture to the specified projector and apply it but this should not be a problem except maybe for the projection.
For the moment, I have a simple setup scene with two projectors and a plane and my rendertexture is all black.
The first thing would be to fill the rendertexture with black and the specified projectors with their MainTex colors. But I don’t know what I am doing wrong…and I don’t know if what I want to do is possible.
@Aras I take the liberty to remember you my question, I would like to know if you have an idea if there is an issue or if it’s not possible.
Of course, any other idea is also welcome !