How to use the CullFaceBack function from three
Find comprehensive JavaScript three.CullFaceBack code examples handpicked from public code repositorys.
GitHub: zya/apophenia
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 = {
2
28
3
+ 9 other calls in file
GitHub: TimothyStiles/meshdiff
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 );
2
13
1
GitHub: kevin-roark/gob-blender
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;
2
1
4
GitHub: will3/portal2
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);
0
1
2
+ 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 );
0
1
2
+ 3 other calls in file
three.Vector3 is the most popular function in three (22341 examples)