Repo created
This commit is contained in:
parent
4af19165ec
commit
68073add76
12458 changed files with 12350765 additions and 2 deletions
12
libs/shaders/GL/imgui.fsh.glsl
Normal file
12
libs/shaders/GL/imgui.fsh.glsl
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
layout (location = 0) in vec2 v_texCoords;
|
||||
layout (location = 1) in vec4 v_color;
|
||||
|
||||
layout (location = 0) out vec4 v_FragColor;
|
||||
|
||||
layout (binding = 1) uniform sampler2D u_colorTex;
|
||||
|
||||
void main()
|
||||
{
|
||||
LOW_P vec4 color = texture(u_colorTex, v_texCoords);
|
||||
v_FragColor = color * v_color;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue