• Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

Question - Code Why is my GUI text bugged?

Neverday

Member
I believe I made a mistake posting it on this forum. My problem appears to be similar to the one here.


Top: Draw Event (Normal)
Bottom: Draw GUI Event (Artifacted)

It happens even in a blank room with only an object to draw the text. I've tried messing with fonts and anti aliasing, but it doesn't seem to be the culprit.

The problem persists when I port it over to a new project.

Edit: When I enable the background layer, the top text appears artifacted as well.
Edit2: With no background, enabling Clear Viewport Background causes the top text to become artifacted.
Edit3: Setting a very low depth (-100000) fixes the bottom text, but the top text disappears.
Edit4: Drawing text without setting a font results in text with good transparancy, but weird character placements.
Edit5: I finally figured out a solution.
Code:
gpu_set_blendmode_ext(bm_one, bm_inv_src_alpha);
<Draw Text>
gpu_set_blendmode(bm_normal);
 
Last edited:
Top