Commit Graph
13 Commits
Author SHA1 Message Date
alteredq 9968b7dc07 Changed ambient handling for Phong and Lambert materials.
Removed diffuse color influence on ambient term in Phong. This was causing texture disappearance when diffuse color was black.

Made Lambert more similar to Phong: now it also has ambient color parameter. Before ambient light was affecting Lambert as if ambient color was always 0xffffff.
2011-10-18 00:05:09 +02:00
alteredq 064138d826 Updated more examples. Got AnaglyphWebGLRenderer and CrosseyedWebGLRenderer working.
CrosseyedRenderer is a hack, camera must have target :S.
2011-10-05 03:25:02 +02:00
Mr.doob bbb65a768c Updated HTML of the rest of the examples. 2011-09-20 19:27:01 -07:00
Mr.doob 19d8261174 More examples clean up. 2011-09-20 18:31:13 -07:00
Mr.doob 322b9f9d87 Object3D.add(), Objec3D.remove(), Scene.add(), Scene.remove()... we'll see how it feels. 2011-09-04 19:37:12 +02:00
Mr.doob 89079b91f4 Fixed mouse listeners on draggable cubes example, also reverted to previous aesthetic (sorry @alteredq). 2011-09-04 12:35:14 +02:00
alteredq aac91430d9 Tweaked shadows in draggable cubes example. 2011-09-04 05:00:54 +02:00
Mr.doob 48eb624d59 Fixed behaviour glitch on draggable cubes example. 2011-09-04 02:14:47 +02:00
Mr.doob a0c6e077ef Added shadows to the draggable cubes example (@spite's suggestion). 2011-09-04 01:49:04 +02:00
Mr.doob 1bdf3daec9 Improved draggable cubes example a bit more. 2011-09-04 01:19:11 +02:00
Mr.doob 4ed370e362 Improved draggable cubes example. 2011-09-04 01:14:16 +02:00
Mr.doob 51368ca6d6 REVISION ++ 2011-09-04 00:47:01 +02:00
Mr.doob b5dfd828d0 Added draggable cubes example. 2011-09-03 23:24:30 +02:00