This repository has been archived on 2023-10-09. You can view files and clone it, but cannot push or open issues or pull requests.
Files
blender-archive/source/blender/gpu/shaders/gpu_shader_text_vert.glsl

18 lines
223 B
GLSL
Raw Normal View History

uniform mat4 ModelViewProjectionMatrix;
in vec4 pos; /* rect */
in vec4 tex; /* rect */
in vec4 col;
out vec4 pos_rect;
out vec4 tex_rect;
out vec4 color;
void main()
{
pos_rect = pos;
tex_rect = tex;
color = col;
}