Another Broken PG?

this works in 3.3, but nothing later. Im not sure why its giving me a gl_FragColor error?

This is what it drops anything > 3.3


defines.push('precision highp float;'); is invalid, it will generate #define precision highp float; in the shader code which can’t be parsed correctly by our parser:

1 Like

Wow what a catch, dude you are a machine.

did they always add #define in front of them? I was under the impression in the past we had to add the #define part, but I might have just been a goober the whole time.


Yes, in the past you had to add #define but I think since 4.2 or 5.0 it is added automatically.