need reflections... but not floor mirror...

Ok i explain a bit the title :
i’ve been reading on forum for a while, and i could experiment with the nice mirror script solution…

I’m a 3G mod/texture/light/animator, but i can modify a script to change a ‘*’ into a ‘+’ when neede (you can understand that as i’m not a dev/script guy)…

After understand and collect the 3-4 versions of mirror script (one with color, one with strengh, one with alpha in texture…), i just tried to set a new plane, 90° rotated to make a “mirror” on the wall…

My experiment is that :

  • when i rotate the floor plane to become a wall : ok, mirror still works;
  • when i add another plane for the wall : i get strange reflection on the wall : just because reflective texture is calculated for the floor and appied on the wall also… so the reflection is strangely distorded…

so question is : how can i ask Unity to render different reflection textures, one per plane ?

Is there any other way to get this ? my problem is that my customer works in Bathrooms business : so i will nned floor reflection, and mirror somewhere, and maybe walls reflections also…

thanks for help !

You can probably fake the wall and floor reflections with the following technique and save yourself the hassle of using actual mirrors for those parts:

For the floor, make the floor texture about 90% transparent. Take all of the objects that are above the floor in your scene and duplicate them. Put the duplicates into a group (make an empty game object and drag them into it). Scale that group to -100% (that’s negative 100%) in the Y (up and down) plane. Drag the group underneath the floor. Bam, there’s your reflection. Change the transparency of the floor texture up or down to change the amount of reflection. Also, if the reflections are too bright you can also make slightly darker textures for the “reflected” objects.

Do the same type of thing for walls. Once you do the floor you’ll get how it all works.

Depending on the amount of polygons you’re using this should work out fine, and will also give you nice reflections of the floor and walls in the actual scripted mirror.

Thank you, this is a nice forgotten trick i used in lost times when reflections were not even thinkables…

I hope my scene will not get too many polys…

btw, is there a reasonable limit of polygons ?