1
0
Fork 0

First Commit

This commit is contained in:
MrDev023 2015-07-15 17:19:40 +02:00
commit 5ccf998834
34 changed files with 1608 additions and 0 deletions

View file

@ -0,0 +1,8 @@
#version 330
out vec4 fragColor;
in vec4 color;
void main(void){
fragColor = color;
}

11
VBO/res/shaders/main.vert Normal file
View file

@ -0,0 +1,11 @@
#version 330
layout (location = 0) in vec3 in_position;
layout (location = 1) in vec4 in_color;
out vec4 color;
void main(void){
color = in_color;
gl_Position = ftransform();
}

View file

@ -0,0 +1,10 @@
#version 330
out vec4 fragColor;
uniform samplerCube cubeMap;
in vec3 position;
void main(void){
fragColor = texture(cubeMap, position);
}

View file

@ -0,0 +1,10 @@
#version 330
layout (location = 0) in vec3 in_position;
out vec3 position;
void main(void){
position = gl_Vertex.xyz;
gl_Position = ftransform();
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

BIN
VBO/res/tex/cubemap/top.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB