Search Unity

Box Projection Reflection Not Scaling

Discussion in 'Global Illumination' started by unity_VV41iFs6RYDU9g, Mar 20, 2019.

  1. unity_VV41iFs6RYDU9g

    unity_VV41iFs6RYDU9g

    Joined:
    Oct 24, 2017
    Posts:
    1
    I'm using Unity 2017.4.15f1

    I've been trying to research a solution to this problem for a few days now and I've come to the conclusion that the settings "Box Size" & "Box Offset" do not change anything with how the reflection probe is baked or appears. In the picture below, you can see my problem. The actual projected reflection box is larger than the room, giving it a very distorted effect.



     
  2. kristijonas_unity

    kristijonas_unity

    Unity Technologies

    Joined:
    Feb 8, 2018
    Posts:
    1,080
    Hey! If the room where you've placed your reflection probe is not perfectly square, sooner or later you will hit the limitation you are currently seeing. Reflections in realtime rendering are still tricky, especially with mirror surfaces.

    One way to mitigate this would be to setup a camera which looks to the opposite side of the room, and renders to a render texture. Then you can assign that texture to the mirror in your room to have perfect reflections. Keep in mind that this method is very expensive and should be used sparingly.