Search Unity

Mirror Reflection + Water Reflection. RenderToTexture problems

Discussion in 'Editor & General Support' started by Monil, May 17, 2012.

  1. Monil

    Monil

    Joined:
    Apr 24, 2012
    Posts:
    103
    When there is an object in the scene with reflections-mirror2 and water(Pro) with reflections, the first all right, but when I exit the program and reopen the scene reflections no longer work even if the names of the textures in the script are different:

    Code (csharp):
    1. m_ReflectionTexture.name = "__MirrorReflection" + GetInstanceID ();
    2. k_ReflectionTexture.name = "__WaterReflection" + GetInstanceID ();
    How can I fix it?

    This is the video that shows the problem : http://www.kreative3d.it/Download/Reflections_Problems.php
     

    Attached Files:

    Last edited: May 17, 2012