PDA

View Full Version : Shaders


fabioped
01-09-2014, 08:47 AM
Hi!

Just started using shaders in my code and I want to archive this effect: http://mrdoob.github.io/three.js/examples/webgl_materials_shaders_fresnel.html

As you see in the code (http://mrdoob.github.io/three.js/examples/js/shaders/FresnelShader.js) they use the type samplerCube to access a cube texture. Is there anything equivalent in vizard?

How would one archive refraction in vizard?