Brenta Engine
1.2
Loading...
Searching...
No Matches
skybox_vs.c
1
static
const
char
* skybox_vs =
"#version 330 core\n"
2
"\n"
3
"layout (location = 0) in vec3 aPos;\n"
4
"\n"
5
"out vec3 TexCoords;\n"
6
"\n"
7
"uniform mat4 projection;\n"
8
"uniform mat4 view;\n"
9
"\n"
10
"void main()\n"
11
"{\n"
12
" TexCoords = aPos;\n"
13
" vec4 pos = projection * view * vec4(aPos, 1.0);\n"
14
" gl_Position = pos.xyww;\n"
15
"}\n"
16
;
src
renderer
shaders
c
skybox_vs.c
Generated by
1.9.8