draw_text_in_frame + bloom.c not working (SOLVED)
SOLUTION:
In your bloom shaders, you want to add this "if statement". To correctly draw the text.
if (input.type == QUAD_TYPE_TEXT) return color;
QUESTION:
I'm currently halfway done with implementing Bloom in my game. I have a problem with text, when using the draw_text_in_frame it renders a rectangle instead of the text. I will attach an image example:
It would be nice if the text could be rendered with the bloom shader. My current workaround is to draw_text after the shaders are done. Like how the buttons in the example are rendered.
3
2 comments
Gustav Benkowski
3
draw_text_in_frame + bloom.c not working (SOLVED)
powered by
Ooga Booga Game Devs
skool.com/game-dev-grinders-8513
A group for game devs who want to ship great games from scratch in C, while mastering the ancient art of Caveman Programming
Build your own community
Bring people together around your passion and get paid.
Powered by