as i want the object appear different between forward rendering and deferred lighting rendering ,how to do it
thanks
and also i have got the water from BootcampDemo,but find it not work in forward rendering
if it’s just about querying whether you are in deferred or forward mode, you can just ask your Camera.mainCamera.renderingPath if it’s forward or deferred and then make specific settings accordingly.
the bootcamp water requires some scripts that come with it, e.g. make sure it has a script that sets the depth texture mode of your main camera to “Depth”.