x


Cubemaps using the camera

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)?

more ▼

asked Jun 13 '12 at 11:50 AM

JaMeZwHiTe gravatar image

JaMeZwHiTe
0 2 3 3

(comments are locked)
10|3000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x3001
x1655
x814
x139
x57

asked: Jun 13 '12 at 11:50 AM

Seen: 567 times

Last Updated: Jun 13 '12 at 11:50 AM