mirror of
https://github.com/Ed94/VEFontCache-Odin.git
synced 2025-08-05 14:42:42 -07:00
Initial draft of sokol backend
This commit is contained in:
10
backend/sokol/source_shared.shdc.glsl
Normal file
10
backend/sokol/source_shared.shdc.glsl
Normal file
@@ -0,0 +1,10 @@
|
||||
in vec2 v_position;
|
||||
in vec2 v_texture;
|
||||
// in vec4 v_elem;
|
||||
out vec2 uv;
|
||||
|
||||
void main()
|
||||
{
|
||||
uv = vec2( v_texture.x, 1 - v_texture.y );
|
||||
gl_Position = vec4( v_position, 0.0, 1.0 );
|
||||
}
|
Reference in New Issue
Block a user