kolliziya dobavlena

This commit is contained in:
albrut committed 2025-03-02 19:19:15 +06:00
1 parent 54d0af8afb
commit c31139fdec
5 files changed
+59 -11

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
#version 130
in vec2 texCoord;
uniform sampler2D textureSampler;
void main() {
gl_FragColor = texture2D(textureSampler, texCoord);
}
+14
View File
@@ -0,0 +1,14 @@
#version 130
in vec3 position;
in vec2 texcoord;
uniform mat4 projection;
uniform mat4 modelView;
out vec2 texCoord;
void main() {
gl_Position = projection * modelView * vec4(position, 1.0);
texCoord = texcoord;
}