From 8d217d53faa687df04f38d774b9fe2787a96d07e Mon Sep 17 00:00:00 2001 From: Volodymyr Linyvyi Date: Sun, 19 Apr 2020 18:44:03 +0300 Subject: [PATCH] Set TextureTintPipeline on each 'postRenderCamera' call --- src/renderer/webgl/WebGLRenderer.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/renderer/webgl/WebGLRenderer.js b/src/renderer/webgl/WebGLRenderer.js index 84b928445..6592602ac 100644 --- a/src/renderer/webgl/WebGLRenderer.js +++ b/src/renderer/webgl/WebGLRenderer.js @@ -1923,6 +1923,8 @@ var WebGLRenderer = new Class({ */ postRenderCamera: function (camera) { + this.setPipeline(this.pipelines.TextureTintPipeline); + var TextureTintPipeline = this.pipelines.TextureTintPipeline; camera.flashEffect.postRenderWebGL(TextureTintPipeline, Utils.getTintFromFloats);