hey everybody, i tryedto make a Reflection but it's not looking good... how can i make a pretty Reflection? TNX for the help.
If you want to have true, realtime reflections of your entire scene: http://www.unifycommunity.com/wiki/index.php?title=MirrorReflection2 If you want to have simple, static reflections (that is, they do not change as your scene changes): http://unity3d.com/support/documentation/Components/shader-ReflectiveFamily.html If you go this route, then you will want to use nice textures to make the reflection look nice.
http://www.unifycommunity.com/wiki/i...rorReflection2 I tryed that but when i come to the window of the car or to the wall of some building, i doesn't see myself... what the problem?
Don't know. I used the exact same thing in an earlier test project at work and it behaved just fine. Perhaps you did not follow the instructions properly in the "Usage" section. Also take heed of the note on that page:
if you are trying to make a mirror (not a reflective surface), you can use a second camera that is set up to depth only and is inverted. You will also have to mask the area of the mirror using the depth mask shader from the wiki. I don't think there is another way to mask area, which is a shame...
which part? You have a main camera through which you view the world. You add a second camera that will render your mirror. -if you have pro, then you can render the second camera to texture. This texture is assigned to the plane which is your mirror. (you can see a simple example of this in this game: Rubik'sCube -if you don't have pro, then you set the mirror camera to depth only (it's a camera setting) with a depth higher than the main camera. you use the depth mask shader from the wiki to mask the areas that are not your mirror. DepthMask in either case you invert the output of the mirror camera by using the script from the wiki. InvertCamera if your main camera is moving, then you need to move the mirror camera as well, relevant to your main camera. (the mirror camera uses a reflected psotion around the mirror of the main camera). This is done in LateUpdate()
no, i told it to FizixMan i need his help because i doesn't waht to do that with camera... TNX anyway dude .
I'm not sure, but I think you may need Unity Pro to use that script (otherwise you'd follow ivkoni's instructions) Beyond that, be sure to follow the instructions properly in the "Usage" section. Also take heed of the note on that page:
Every object has its own coordinate system (direction that it's pointing). In whatever direction that object considers "up" (as opposed to "forward", or "left") is where the reflection occurs along.
Use Unity Pro. Make sure the window object's "up" direction is pointing out from the window. Follow all the instructions on that mirror script page.
but i have unity3d and i used the pro version and the pro version it's just for 30 days and i done the 30 days. and i doesn't want to buy it... i need " Crack" or something else???
I'm seriously considering the possibility that you're just trolling us now. (asking for a crack on the official forums?) ivkoni suggested a complex workaround if you do not have pro. Beyond that, you gotta buy the pro version.
oh i doesn't know tha very sorry!!! and i not trolling! but i saw my friend do that (a good Reflection)... without pro version...
Guess you're SOTL then. Get Unity Pro or hack at ivkoni's solution (which is pretty ingenious), or better yet, just accept it, leave it and focus on completing the rest of the aspects of your game.
it's pretty ingenious indeed. Only that it is not my solution, but I'd take the praise for it anyway, being the egocentric, arrogant human that I am I forgot to mention, but you may also need to use oblique frustum clipping (if there are going to be objects between the mirror camera and the mirror plane). You can see an example of this technique somewhere in the water script if I remember correctly. It would be easier to be-friend your friend a little more, maybe he will tell you how he did it.
Thank you for your posts for mirror reflection, I'm wondering can I put it to a non-plane object like semi-sphere? Basically get the texture from reflection camera, then to put on the sphere object with the texture? Not a clear clue