Precision Error

https://playground.babylonjs.com/#YF6L4T#29

Been going over a few of my previous projects and some of them have stopped working. When viewed in the Developer Tools I get a huge list of float precision not specified? Any reason for this?

Never mind figured it out. Basically previously these worked fine but they included the precision statement in the shaders. Now BABYLONJS seems automatically add a precision statement to the fragment shader. However, it clashes with the one manually made and causes the error. Even if they set the value to the same thing. Well could be because was setting with defines.

1 Like