hi, would like to add to phaser 3, my SDF shader for drawing text.
i can make a demo using raw webgl.
But how do i make a bitmapFont in phaser choose my shader for rendering and not the default one
Thanks
Lior
hi, would like to add to phaser 3, my SDF shader for drawing text.
i can make a demo using raw webgl.
But how do i make a bitmapFont in phaser choose my shader for rendering and not the default one
Thanks
Lior
Maybe have a look at:
wow, looks like what i need, do you know by any chance if it will have a performance impact.
Assuming i’m replacing all my BitmapText to this new pipeline
Thanks
Not noticeable. SDF is very simple.
i meant because of state changes (program switching)
Just don’t write 1 letter at a time