The Wayback Machine - https://webcf.waybackmachine.org/web/20220402130043/https://github.com/mrdoob/three.js/commit/b8898cc1d7d91b1c538b0fb98122b67dedf579bd
Skip to content
Permalink
Browse files
Examples: Improved webgl_loader_3ds.
  • Loading branch information
mrdoob committed on Aug 1, 2020
1 parent 4c6879a commit b8898cc1d7d91b1c538b0fb98122b67dedf579bd
Showing with 2 additions and 0 deletions.
  1. +2 −0 examples/webgl_loader_3ds.html
@@ -52,6 +52,7 @@

if ( child.isMesh ) {

child.material.specular.setScalar( 0.1 );
child.material.normalMap = normal;

}
@@ -65,6 +66,7 @@
renderer = new THREE.WebGLRenderer();
renderer.setPixelRatio( window.devicePixelRatio );
renderer.setSize( window.innerWidth, window.innerHeight );
renderer.outputEncoding = THREE.sRGBEncoding;
container.appendChild( renderer.domElement );

controls = new TrackballControls( camera, renderer.domElement );

0 comments on commit b8898cc

Please sign in to comment.