Hello,
Currently I'm trying to clean up a Unity scene. I'm sure some of the shaders don't work well with existing deferred lighting. I'd like to replace them but berote that I have open all shaders in a 'notepad' and somehow figure out what shaders are prepered for forward and what for deferred lighting.
Is there any 'key' word in every single shader which I could look for?
Or maybe formation, construction, characteristic beginning or ending?
I hope so :poly136:
Thanks
Tom
Replies
But even if you have deferred rendering enabled, a shader that is only compatible with forward rendering will still render in a forward pass after the deferred pass.
With vert/frag shaders there's any pass using #pragma multicompile _something_ but I'm not sure what it is.