mirror of
https://github.com/wahyd4/three.js.git
synced 2026-08-10 13:35:56 +10:00
For the moment, it works just on Basic / Lambert / Phong materials. Fog must be added to the scene before initialization of WebGLRenderer and scene must be passed to WebGLRenderer constructor (like for lights). I don't know yet how to solve properly MeshShaderMaterial & co :(