# Another Broken PG?

**URL:** <https://forum.babylonjs.com/t/another-broken-pg/25943>\
**Category:** Questions\
**Created:** [December 9, 2021, 9:52pm UTC](https://forum.babylonjs.com/t/another-broken-pg/25943 "2021-12-09T21:52:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pryme8](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/pryme8/32/7212_2.png) [@Pryme8](https://forum.babylonjs.com/u/Pryme8)\
**Post date:** [December 9, 2021, 9:52pm UTC](https://forum.babylonjs.com/t/another-broken-pg/25943/1 "2021-12-09T21:52:27Z")

</div>

[https://www.babylonjs-playground.com/#ZUMAGX#38](https://www.babylonjs-playground.com/#ZUMAGX#38)

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

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/4/3/43fbe8ff396298dff25f1671f3877cb3f35d4ec0.jpeg)

This is what it drops anything \> 3.3

![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/0/0/00537740ce281b36b4a8042f16e48a80fef2f2ef.png)

---

<div class="post-metadata">

**Author:** ![Evgeni\_Popov](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/evgeni_popov/32/4432_2.png) [@Evgeni\_Popov](https://forum.babylonjs.com/u/Evgeni_Popov)\
**Post date:** [December 9, 2021, 10:13pm UTC](https://forum.babylonjs.com/t/another-broken-pg/25943/2 "2021-12-09T22:13:12Z")

</div>

`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:

[https://playground.babylonjs.com/#ZUMAGX#55](https://playground.babylonjs.com/#ZUMAGX#55)

---

<div class="post-metadata">

**Author:** ![Pryme8](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/pryme8/32/7212_2.png) [@Pryme8](https://forum.babylonjs.com/u/Pryme8)\
**Post date:** [December 9, 2021, 10:24pm UTC](https://forum.babylonjs.com/t/another-broken-pg/25943/3 "2021-12-09T22:24:27Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Evgeni\_Popov](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/evgeni_popov/32/4432_2.png) [@Evgeni\_Popov](https://forum.babylonjs.com/u/Evgeni_Popov)\
**Post date:** [December 9, 2021, 11:10pm UTC](https://forum.babylonjs.com/t/another-broken-pg/25943/4 "2021-12-09T23:10:05Z")

</div>

> [@Pryme8](#):
>
> 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.
