diff options
Diffstat (limited to 'ui.cpp')
-rw-r--r-- | ui.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -272,6 +272,11 @@ void UI::render(Arena* s, Texture_Id target) { pb.begin(); pb.shader(shader); pb.vertex_format(vertex_format); + pb.blend( + Blend_Mode::add, + Blend_Factor::src_alpha, + Blend_Factor::inv_src_colour + ); pb.cbuffer(shader_info.config_binding, config_buf); pb.texture(shader_info.atlas_binding, atlas, sampler); Pipeline& pip = pb.build(); |