Does anyone know where I can get a reflective shader for Unity? I am trying to make a mirror in Unity Indie version, and am not sure how to accomplish this.
Thanks
Does anyone know where I can get a reflective shader for Unity? I am trying to make a mirror in Unity Indie version, and am not sure how to accomplish this.
Thanks
I’ve yet to have this script work for me… maybe because i’m using 3.0… I don’t know… I copy-pasted everything exactly, followed the wiki instructions, no name changes or alterations in instructions, but all I get is this >>
I’m no coder,… so yeah, wouldn’t even know where to start. :\
this shader is for U2, it won’t work for U3 without modifications.
There is a thread on exactly this shader from what I recall and how to get it working.
You need Unity Pro for that. The way to do it without Pro is to duplicate the geometry of the room, scale it by -1 so it’s inverted, and position it behind the mirror, probably with some transparency on a plane for the actual mirror surface.
–Eric
Is this forum discussing the shader in the perspective of U3? And if so, might I have a link?
It may fall to that, but for the moment, I’m hoping to simply script a surface, rather than having to script an extra pawn moving in a reversed space for something as simple as a wall mounted mirror. I know that a large part of this is the entire “RenderToTexture” support that lies within the Pro edition only… I’d like to think there would be some clever ways around this though. I suppose cube-mapping with a simple panoramic shot of the area would have to suffice, given the fact that it’s a simple, rather dumbed down effect.