From 05ebc6bd91a37b9bbb901624f575b79a854bc1d3 Mon Sep 17 00:00:00 2001 From: Natalia Smirnova Date: Mon, 13 Nov 2017 11:29:37 +0300 Subject: [PATCH] Patch three.module with our forceUpdate hack --- vendor/js/three.module.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/js/three.module.js b/vendor/js/three.module.js index 09039a55..cbbfd198 100644 --- a/vendor/js/three.module.js +++ b/vendor/js/three.module.js @@ -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 );