How to use the CullFaceBack function from three
Find comprehensive JavaScript three.CullFaceBack code examples handpicked from public code repositorys.
GitHub: zya/apophenia
![zya profile picture](/zya.png?size=40)
39 40 41 42 43 44 45 46 47 48
if (config.shadow) { renderer.shadowMap.enabled = true; renderer.shadowMap.type = THREE.PCFSoftShadowMap; renderer.shadowMap.renderReverseSided = false; } // renderer.shadowMap.cullFace = THREE.CullFaceBack; renderer.setSize(window.innerWidth, window.innerHeight); document.getElementById('pt').appendChild(renderer.domElement); // var parameters = {
+ 9 other calls in file
GitHub: TimothyStiles/meshdiff
![TimothyStiles profile picture](/TimothyStiles.png?size=40)
34 35 36 37 38 39 40 41 42 43
renderer.gammaInput = true; renderer.gammaOutput = true; renderer.shadowMap.enabled = true; renderer.shadowMap.cullFace = THREE.CullFaceBack; container.appendChild( renderer.domElement ); window.addEventListener( 'resize', onWindowResize, false );
GitHub: kevin-roark/gob-blender
![kevin-roark profile picture](/kevin-roark.png?size=40)
28 29 30 31 32 33 34 35 36 37
$('#splash-please-use-chrome').show(); } if (this.renderer) { this.renderer.shadowMapEnabled = true; this.renderer.shadowMapCullFace = THREE.CullFaceBack; this.renderer.shadowMapType = THREE.PCFSoftShadowMap; this.renderer.gammaInput = true; this.renderer.gammaOutput = true;
GitHub: will3/portal2
![will3 profile picture](/will3.png?size=40)
21 22 23 24 25 26 27 28 29
antialias: true }); renderer.setSize(window.innerWidth, window.innerHeight); renderer.setClearColor(0xf6f6f6); renderer.shadowMapEnabled = true; renderer.shadowMapCullFace = THREE.CullFaceBack; renderer.shadowMapType = THREE.PCFShadowMap; document.body.appendChild(renderer.domElement);
+ 3 other calls in file
88 89 90 91 92 93 94 95 96
camera.updateProjectionMatrix(); var renderer = new THREE.WebGLRenderer({ antialiasing: true }); renderer.shadowMapEnabled = true; renderer.shadowMapSoft = true; //renderer.shadowMapCullFace = THREE.CullFaceBack; renderer.setClearColor( 0xffffff ); renderer.setSize( window.innerWidth, window.innerHeight ); document.body.appendChild( renderer.domElement );
+ 3 other calls in file
three.Vector3 is the most popular function in three (22341 examples)