Misc changes to engine and shaders

This commit is contained in:
2025-01-12 14:01:11 -05:00
parent bc47b37a46
commit 9da0e73d3b
5 changed files with 206 additions and 272 deletions

View File

@ -35,7 +35,6 @@ float down_sample_to_texture( vec2 uv, vec2 texture_size )
void main()
{
// const vec2 texture_size = 1.0f / vec2( 2048.0f, 512.0f );
const vec2 texture_size = 1.0f / glyph_buffer_size;
if ( region == 0 || region == 1 || region == 2 || region == 4 )
{

View File

@ -32,7 +32,6 @@ void main()
{
float alpha = texture(sampler2D( ve_draw_text_src_texture, ve_draw_text_src_sampler ), uv ).x;
// const vec2 texture_size = 1.0f / vec2( 2048.0f, 512.0f );
const vec2 texture_size = glyph_buffer_size;
const float down_sample = 1.0f / over_sample;

View File

@ -1,6 +1,5 @@
in vec2 v_position;
in vec2 v_texture;
// in vec4 v_elem;
out vec2 uv;
void main()