mobile-query-three-plugins-fog-tquery.world.createfog.js / js
@fileOverview Methods to add/remove fog in tQuery.World - removeFog isnt done as some wiki pages claim it is impossible github.com/mrdoob/three.js/wiki/Updates
add a THREE.FogExp2 to this world.scene()
parameter: opts the options
parameter: opts.colorHex the hexa value of the fog color
parameter: opts.density the density of the fog
add a THREE.Fog to this world.scene()
parameter: opts the options
parameter: opts.colorHex the hexa value of the fog color
parameter: opts.near how far away from camera, the fog starts
parameter: opts.far how far away from camera, the fog ends
(C) Æliens 04/09/2009
You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.