Postprocessing: WebGLRenderer: .getClearColor() now requires a Color as an argument

Created on 27 Dec 2020  Â·  1Comment  Â·  Source: vanruesc/postprocessing

Description of the bug

This warning keeps pops up in the browser console on every requestAnimationFrame when using GodRaysEffect:
WebGLRenderer: .getClearColor() now requires a Color as an argument

To Reproduce

Simply use GodRaysEffect with the latest version of ThreeJs and you'll get the warning.
As the error states, "getClearColor" now requires a Color as an argument: https://threejs.org/docs/#api/en/renderers/WebGLRenderer.getClearColor

Screenshots

image

Library versions used

  • Three: 0.124.0
  • Post Processing: 6.18.0

Desktop

  • OS: Windows 10
  • Browser: Chrome Version 87.0.4280.88 (Official Build) (64-bit)
  • Graphics hardware: NVIDIA GTX 1060TI

Most helpful comment

Hi,

thanks for the report! A fix will be included in the next release.

Please note that [email protected] officially supports three ≥ 0.102.0 < 0.123.0 and that such warnings are quite common when a newer version of three is used.

>All comments

Hi,

thanks for the report! A fix will be included in the next release.

Please note that [email protected] officially supports three ≥ 0.102.0 < 0.123.0 and that such warnings are quite common when a newer version of three is used.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gigablox picture gigablox  Â·  3Comments

Monder87 picture Monder87  Â·  3Comments

Mykita picture Mykita  Â·  3Comments

drcmda picture drcmda  Â·  4Comments

bendxr picture bendxr  Â·  4Comments