- Home /
How do I orient my glass reflection properly?
I'm trying to get a glass reflection on my floor. I have a Standard material with the Albedo set to 50% Alpha, Metallic to 0 and Smoothness near 1.
But you can see the reflection is completely off.
However, if I use MirrorReflection4, replace my glass material with MirrorReflection4's script and shader material to the floor. The mirroring is resolved, but I can't set the opacity.
Each tutorial I see says that what I'm doing should be correct. How can I get the reflection of the MR4 with the Glass version so I can set the alpha layer?
Answer by Gotard · Sep 18, 2016 at 09:26 PM
You won't get accurate results using standard shader because its reflections are based on reflection probes. Reflections probes are fast but they are known for their inaccuracy especially on flat surfaces like floors. Good old "render everything twice" seems like a way to go for big mirror like surfaces.
I have one Reflection probe in the scene. Are you saying I should increase that number and blend them?
There's nothing wrong with using this $$anonymous$$irrorReflection4 script if you want accuracy over performance so I would stick with that. You should be able to add an opacity parameter to its shader. Yes, you can try increasing probe count for better results but it will be still an approximation. You can also try SSRR from cinematic image effects package, it might give you better results than light probes (I've never tried that myself).
Your answer
Follow this Question
Related Questions
Creating realistic glass 4 Answers
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Realtime reflection 1 Answer
Best option to create real mirrors in terms of performance 2 Answers