提交 79a26da7 编写于 作者: M Mr.doob

Clean up.

上级 534877d3
......@@ -242,14 +242,13 @@
function render() {
var delta = clock.getDelta(),
time = clock.getElapsedTime() * 5;
var delta = clock.getDelta();
controls.update( delta );
material_sphere1.emissive.b = ( analyser1.getData()[ 8 ] / 256 );
material_sphere2.emissive.b = ( analyser2.getData()[ 8 ] / 256 );
material_sphere3.emissive.b = ( analyser3.getData()[ 8 ] / 256 );
material_sphere1.emissive.b = analyser1.getData()[ 8 ] / 256;
material_sphere2.emissive.b = analyser2.getData()[ 8 ] / 256;
material_sphere3.emissive.b = analyser3.getData()[ 8 ] / 256;
renderer.render( scene, camera );
......
......@@ -112,12 +112,12 @@ geometry.viewDir = normalize( vViewPosition );
#endif
#if defined( USE_ENVMAP ) && defined( STANDARD )
// #if defined( USE_ENVMAP ) && defined( STANDARD )
// TODO, replace 8 with the real maxMIPLevel
//indirectDiffuseIrradiance += getLightProbeIndirectIrradiance( /*lightProbe,*/ geometry, 8 ); // comment out until seams are fixed
// indirectDiffuseIrradiance += getLightProbeIndirectIrradiance( /*lightProbe,*/ geometry, 8 ); // comment out until seams are fixed
#endif
// #endif
Material_RE_IndirectDiffuseLight( indirectDiffuseIrradiance, geometry, material, reflectedLight );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册