Topic was automatically imported from the old Question2Answer platform.
Asked By
berserk
Old Version
Published before Godot 3 was released.
Hello everyone.
How do I make a surface reflective as a mirror?
I tried searching on Google and on various Godot communities but I just found something about parallax.
Thanks in advance for any help.
From what i know a perfect mirror is not possible in godot 2.1.x
It is possible to reflect from a cubemap e.g. the environment.
This works from only one location, and does not include any moving objects.
To make reflection work from a bigger area e.g. a big reflective object or a moving reflective object, you would use paralax. (which is just combining multiple cubemaps) topic about cubemap reflections
I dont think it is possible to see moving objects in the reflection.
However, from what i understand godot 3.0 does support raycasting for reflection and thus removes al these problems.
Thanks. I’ll see in an unofficial 3.x build then.
berserk | 2017-04-21 09:48
I haven’t tried it myself but it should be possible to make planar mirrors in 2.x with RenderTargetTexture.