浏览代码

Examples: Improved webgl_materials_car ao.

Mr.doob 5 年之前
父节点
当前提交
0b8e3d82cc
共有 2 个文件被更改,包括 1 次插入1 次删除
  1. 二进制
      examples/models/gltf/ferrari_ao.png
  2. 1 1
      examples/webgl_materials_car.html

二进制
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;