Переглянути джерело

Examples: Improved webgl_materials_car ao.

Mr.doob 5 роки тому
батько
коміт
0b8e3d82cc

BIN
examples/models/gltf/ferrari_ao.png


+ 1 - 1
examples/webgl_materials_car.html

@@ -157,7 +157,7 @@
 					var shadow = new THREE.Mesh(
 						new THREE.PlaneBufferGeometry( 0.655 * 4, 1.3 * 4 ),
 						new THREE.MeshBasicMaterial( {
-							map: texture, opacity: 0.4, transparent: true
+							map: texture, blending: THREE.MultiplyBlending, toneMapped: false, transparent: true
 						} )
 					);
 					shadow.rotation.x = - Math.PI / 2;