|
Hello, we all know the backward mirrors of a car :P my question is, since i don't have unity pro and i am an absolute retard when it comes to understanding cubemaps, is it possible to hook a camera onto the mirror and projecting the camera's field of view as a backward mirror? if yes, how is this done? at the moment i'm trying it like this : he'es expecting a boolean though and i don't get why. Well, i've reviewed the code and now got this :
(comments are locked)
|
|
If you want mirrors in realtime without Pro, you can use multiple cameras. You'll need some kind of fancy maths to get the perfect matrix, or you can just tweak it until it looks good. For non-realtime, do what you are doing above, but follow the documentation rather than your intuition ... or ask yourself why you would both pass a parameter and use the return value... with to same variable. i don't get what you mean with the non-realtime, that is what i want to do but please stop speaking in riddles :S just tell me what i'm doing wrong please :)
Jul 29 '11 at 08:32 AM
biohazard
You answered it yourself - don't use the return value. But yes, sorry, even the non-realtime RenderToCubemap is pro-only. The realtime option still applies.
Jul 29 '11 at 08:40 AM
Waz
No need to be sorry, but it'd be highly appreciated if you had a small example on how to do the realtime mirror effect with multiple cameras
Jul 29 '11 at 08:41 AM
biohazard
I'm not riddling you, I'm criticising you for not reading the documentation before using a function.
Jul 29 '11 at 08:42 AM
Waz
i will read the doc next time, now gimme a cookie! just kidding, how would i do the realtime mirror effects using cameras? is this done by using
Jul 29 '11 at 08:44 AM
biohazard
(comments are locked)
|
