renderer.shadowMapEnabled = true causes glitches in chrome (not firefox)

When setting

renderer.shadowMapEnabled = true

I get several errors in chrome and the canvas does not get rendered.
In Firefox this is no issue.
I tested it with three.js73.

Here is the copy/paste from Chromes’ console:

Author: Fantashit

1 thought on “renderer.shadowMapEnabled = true causes glitches in chrome (not firefox)

  1. This should be solved with #13140 since we unroll all respective loops in the core shader code.

    Users can now also trigger the loop unroll mechanism for custom shaders with a new pragma. It’s only necessary that the for loop formatting corresponds to a defined standard.

Comments are closed.