forked from LeenkxTeam/LNXSDK
Update Files
This commit is contained in:
9
Kha/Kinc/GLSLShaders/g1.frag.glsl
Normal file
9
Kha/Kinc/GLSLShaders/g1.frag.glsl
Normal file
@ -0,0 +1,9 @@
|
||||
#version 450
|
||||
|
||||
uniform sampler2D texy;
|
||||
in vec2 texCoord;
|
||||
out vec4 FragColor;
|
||||
|
||||
void main() {
|
||||
FragColor = texture(texy, texCoord);
|
||||
}
|
10
Kha/Kinc/GLSLShaders/g1.vert.glsl
Normal file
10
Kha/Kinc/GLSLShaders/g1.vert.glsl
Normal file
@ -0,0 +1,10 @@
|
||||
#version 450
|
||||
|
||||
in vec3 pos;
|
||||
in vec2 tex;
|
||||
out vec2 texCoord;
|
||||
|
||||
void main() {
|
||||
gl_Position = vec4(pos.x, pos.y, 0.5, 1.0);
|
||||
texCoord = tex;
|
||||
}
|
Reference in New Issue
Block a user