diff options
Diffstat (limited to 'source/blender/gpu/shaders/gpu_shader_font_vert.glsl')
-rw-r--r-- | source/blender/gpu/shaders/gpu_shader_font_vert.glsl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/source/blender/gpu/shaders/gpu_shader_font_vert.glsl b/source/blender/gpu/shaders/gpu_shader_font_vert.glsl new file mode 100644 index 00000000000..d6ccd243d16 --- /dev/null +++ b/source/blender/gpu/shaders/gpu_shader_font_vert.glsl @@ -0,0 +1,10 @@ +varying vec4 varying_color; +varying vec2 varying_texcoord; + +void main() +{ + varying_texcoord = (b_TextureMatrix[0] * b_MultiTexCoord0).st; + varying_color = b_Color; + + gl_Position = b_ModelViewProjectionMatrix * b_Vertex; +} |