Hello everybody
I’ve got a maybe pretty difficult question for you guys.
In my scene there are 2 things I need:
- Realtime Shadows (with point lights)
- Realtime Mirrors (I use the MirrorReflecting.shader from the wiki)
For the shadows I need Deffered Lighting, for the mirror I need forward rendering (else it doesn’t render lights).
My idea: Use 2 cameras, one for each rendering type.
The problem: One will always be higher than the other and that’s why I need suggestions how to be able to get both cameras to the same depth.
Or maybe somebody has an idea how to cast shadows with forward rendering OR making a mirror with deffered lighting.
I really hope that we can find a solution for this issue
Thanks in advance!
SoBiT