|
Using the code sample in the docs: http://unity3d.com/support/documentation/ScriptReference/Camera.RenderToCubemap.html I have been able to create a reflective surface using a cube map generated from the camera. The problem I have is that the reflection will always reflect only in one direction, not taking into account rotation or anything despite hardcoding the rotation value. Is there a way I can generate a cube map from the main player camera that takes into account the rotation of the camera (using the code from the link above)?
(comments are locked)
|
