Tech ENABLE_GL_SHADERS_ATTRIBUTES - Added shaders for glsl version 140
This commit is contained in:
parent
4964d6ecd5
commit
76d1d4949b
69 changed files with 994 additions and 309 deletions
17
resources/shaders/140/imgui.vs
Normal file
17
resources/shaders/140/imgui.vs
Normal file
|
@ -0,0 +1,17 @@
|
|||
#version 140
|
||||
|
||||
uniform mat4 ProjMtx;
|
||||
|
||||
in vec2 Position;
|
||||
in vec2 UV;
|
||||
in vec4 Color;
|
||||
|
||||
out vec2 Frag_UV;
|
||||
out vec4 Frag_Color;
|
||||
|
||||
void main()
|
||||
{
|
||||
Frag_UV = UV;
|
||||
Frag_Color = Color;
|
||||
gl_Position = ProjMtx * vec4(Position.xy, 0.0, 1.0);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue