3JS iOS Shader Warning "Overflow in Implicit Constant Conversion"

I'm just trying to remove as many warnings as possible from our projects, one of which I find pretty terrible when creating an instance of WebGL rendering on an iOS device, so a massive warning is thrown, it starts like this ...

THREE.WebGLShader: gl.getShaderInfoLog() fragment WARNING: 0:53: Overflow in implicit constant conversion, minimum range for lowp float is (-2,2)

and continues for 984 lines, and then begins to repeat!

I tried changing the accuracy value and was not lucky to remove the warning, it seems that as soon as I create the WebGL visualization tool, it is r73 again, but I think it is still in r74.

If you run this example on iOS with a debugger connected, you will see a massive warning immediately after logging WebGLRenderer 73.

http://polygonprophecy.com/html5/wrapAroundTest/

+4
source share

Source: https://habr.com/ru/post/1628883/


All Articles