Merge pull request #5099 from TroKEMp/master

Fix camera's fadeIn/fadeOut effects
This commit is contained in:
Richard Davey 2020-04-27 12:04:54 +01:00 committed by GitHub
commit e9afbdd933
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);