Hello,
i'm using the mirror script by Aras from [the wiki][1] and my scene is in deferred rendered mode with lightmapping.
and there's no sun rays in the mirror reflection ...
see this screen
![alt text][2]
but it's working in forward rendering
![alt text][3]
there's a line in the script that says " // Optionally disable pixel lights for reflection"
right below there's a pixelLightCount value ... but changing that value didn't changed anything (so i guess it does'nt have anything to do with it^^)
is there any way to make it happen ? is that even possible ?
mirror reflection already increase a lot the draw calls ... i imagine that a feature like it will dramatically increase it more
i mostly want to understand where the problem is before all
and any idea of a workearound solution is welcome :)
thkx !
edit : just saw that [question][4] ... same issue in fact ...
my scene is lightmapped, could be a bit different
[1]: http://wiki.unity3d.com/index.php/MirrorReflection2
[2]: https://dl.dropboxusercontent.com/u/172974271/UnityVinci/Screen/sun_mirror_issue_deferred.jpg
[3]: https://dl.dropboxusercontent.com/u/172974271/UnityVinci/Screen/sun_mirror_issue_forward.jpg
[4]: http://answers.unity3d.com/questions/27963/mirror-reflection-deferred-shading.html
↧