We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a152f08 commit 2d27f4bCopy full SHA for 2d27f4b
examples/threejs/index.js
@@ -54,7 +54,7 @@ function resize() {
54
function init() {
55
scene = new THREE.Scene();
56
57
- hemispheric = new THREE.HemisphereLight( 0xffffff, 0x222222, 1.2 );
+ hemispheric = new THREE.HemisphereLight( 0xffffff, 0x222222, 3.0 );
58
scene.add(hemispheric);
59
/*
60
var ambient = new THREE.AmbientLight( 0xffffff, 0.3 );
@@ -136,6 +136,7 @@ function init() {
136
renderer.gammaFactor = 2.2;
137
renderer.setClearColor( 0xaaaaaa );
138
renderer.setPixelRatio( window.devicePixelRatio );
139
+ renderer.physicallyCorrectLights = true; // This will be required for matching the glTF spec.
140
141
controls = new THREE.OrbitControls( camera, renderer.domElement );
142
controls.userPan = false;
0 commit comments