How to use the MultiplyBlending function from three
Find comprehensive JavaScript three.MultiplyBlending code examples handpicked from public code repositorys.
105 106 107 108 109 110 111 112 113 114var materialWall = new THREE.MeshToonMaterial({map: textures.wall, side: THREE.FrontSide}) materialWall.depthTest = true materialWall.transparent = false materialWall.userData.outlineParameters = { thickness: 0, alpha: 0.0 } // materialWall.blending = THREE.MultiplyBlending materialWall.opacity = 1 var materialCeil = new THREE.MeshToonMaterial({map: textures.wall, side: THREE.FrontSide}) materialCeil.depthTest = true
+ 7 other calls in file
GitHub: KleoPetroff/storyboarder

42 43 44 45 46 47 48 49 50 51) const groundFactory = ({ texture }) => { let material = new THREE.MeshToonMaterial({ map: texture, side: THREE.FrontSide }) // material.transparent = true // material.blending = THREE.MultiplyBlending material.opacity = 1 let geometry = new THREE.PlaneGeometry( 135 / 3, 135 / 3, 32 ) let object = new THREE.Mesh( geometry, material )
three.Vector3 is the most popular function in three (22341 examples)