Skip to content

Commit

Permalink
Patch three.module with our forceUpdate hack
Browse files Browse the repository at this point in the history
  • Loading branch information
NataliaDSmirnova committed Nov 13, 2017
1 parent dffb930 commit 05ebc6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vendor/js/three.module.js
Original file line number Diff line number Diff line change
Expand Up @@ -22612,7 +22612,7 @@ function WebGLRenderer( parameters ) {

}

if ( refreshMaterial ) {
if ( refreshMaterial || material.forceUniformsUpdate) {

p_uniforms.setValue( _gl, 'toneMappingExposure', _this.toneMappingExposure );
p_uniforms.setValue( _gl, 'toneMappingWhitePoint', _this.toneMappingWhitePoint );
Expand Down

0 comments on commit 05ebc6b

Please sign in to comment.