This demo shows how to load and use cube textures on 3D models in WebGL. We use simple vertex shader,
to calculate view reflection vector and use it in frament shader to sample a cube texture, creating a mirroring cube.
<< back to another samples
[download source code]
IEWebGL is a plugin for Microsoft Internet Explorer web browser, that adds support
for WebGL - modern web 3D graphics standard.
If you like this project, you can support it by donations.
Your donations help us to implement new WebGL extensions and other features.
Copyright © 2011 IEWebGL Team. All rights reserved.