Skip to content

Commit

Permalink
WebGL materials example: Additive material was missing the `transpare…
Browse files Browse the repository at this point in the history
…nt: true`.
  • Loading branch information
mrdoob committed Sep 2, 2011
1 parent 2603ccf commit 6e37afc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/webgl_materials.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
materials.push( new THREE.MeshLambertMaterial( { color: 0xdddddd, shading: THREE.FlatShading } ) );
materials.push( new THREE.MeshPhongMaterial( { ambient: 0x030303, color: 0xdddddd, specular: 0x009900, shininess: 30, shading: THREE.FlatShading } ) );
materials.push( new THREE.MeshNormalMaterial( ) );
materials.push( new THREE.MeshBasicMaterial( { color: 0x665500, blending: THREE.AdditiveBlending } ) );
materials.push( new THREE.MeshBasicMaterial( { color: 0xffaa00, transparent: true, blending: THREE.AdditiveBlending } ) );
//materials.push( new THREE.MeshBasicMaterial( { color: 0xff0000, blending: THREE.SubtractiveBlending } ) );

materials.push( new THREE.MeshLambertMaterial( { color: 0xdddddd, shading: THREE.SmoothShading } ) );
Expand Down

0 comments on commit 6e37afc

Please sign in to comment.