How to use the AddOperation function from three

Find comprehensive JavaScript three.AddOperation code examples handpicked from public code repositorys.

1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
    }
}
class MMDToonMaterial extends three_1.ShaderMaterial {
    constructor(parameters) {
        super();
        this._matcapCombine = three_1.AddOperation;
        this.emissiveIntensity = 1.0;
        this.normalMapType = three_1.TangentSpaceNormalMap;
        this.combine = three_1.MultiplyOperation;
        this.wireframeLinecap = 'round';
fork icon1
star icon3
watch icon0

+ 4 other calls in file

585
586
587
588
589
590
591
592
593
594
595
596
	
/* ****************  ASSIGN MAPS **************** */


	var reflectionObj = myScene.scene.getObjectByName('final_box_mesh');
	reflectionObj.material.envMap = textureCube;
	reflectionObj.material.combine = THREE.AddOperation;
	reflectionObj.material.reflectivity = 0.6;


	var reflectionObj = myScene.scene.getObjectByName("polySurface2");
	reflectionObj.material.envMap = textureCube;
fork icon0
star icon0
watch icon0

+ 5 other calls in file

Other functions in three

Sorted by popularity

function icon

three.Vector3 is the most popular function in three (22341 examples)