Home Forums Development discussions Questions Reply To: Questions

#484
Sponk
Keymaster

Those materials need a custom GLSL shader since the basic default one does not support reflections.

A small tutorial on this topic: http://antongerdelan.net/opengl/cubemaps.html
This will also be helpful for water surfaces etc.

Maybe we can create a shader pack for distribution in our “Asset Store” (btw: We need a name for it :p)

I wrote a very simple per-vertex shader that does this using a sphere map.
Maybe I will create a “NeoShaders” git repository on GitHub to distribute all sorts of GLSL experiments I’m doing.

Fragment/Vertex shader:
https://gist.github.com/Sponk/bd209066ef50527c8521
https://gist.github.com/Sponk/8f87a7a8b4a8d9d4498c