Misc changes to engine and shaders
This commit is contained in:
@ -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 )
|
||||
{
|
||||
|
@ -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;
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
in vec2 v_position;
|
||||
in vec2 v_texture;
|
||||
// in vec4 v_elem;
|
||||
out vec2 uv;
|
||||
|
||||
void main()
|
||||
|
Reference in New Issue
Block a user