Remove Skybox.
This commit is contained in:
parent
1dbc88cb7b
commit
986d598341
BIN
skybox/back.png
BIN
skybox/back.png
Binary file not shown.
Before Width: | Height: | Size: 3.0 MiB |
Binary file not shown.
Before Width: | Height: | Size: 3.1 MiB |
BIN
skybox/front.png
BIN
skybox/front.png
Binary file not shown.
Before Width: | Height: | Size: 3.3 MiB |
BIN
skybox/left.png
BIN
skybox/left.png
Binary file not shown.
Before Width: | Height: | Size: 3.4 MiB |
BIN
skybox/right.png
BIN
skybox/right.png
Binary file not shown.
Before Width: | Height: | Size: 1.7 MiB |
@ -1,9 +0,0 @@
|
|||||||
#version 330
|
|
||||||
uniform samplerCube uTexture;
|
|
||||||
|
|
||||||
varying vec3 vTexCoord;
|
|
||||||
|
|
||||||
void main()
|
|
||||||
{
|
|
||||||
gl_FragColor = texture(uTexture, vTexCoord);
|
|
||||||
}
|
|
@ -1,15 +0,0 @@
|
|||||||
#version 330
|
|
||||||
layout(location = 0) in vec3 aPosition;
|
|
||||||
|
|
||||||
out vec3 vTexCoord;
|
|
||||||
|
|
||||||
uniform mat4 uProjectionMatrix;
|
|
||||||
uniform mat4 uViewMatrix;
|
|
||||||
|
|
||||||
void main()
|
|
||||||
{
|
|
||||||
// Strip translation column from camera's 4x4 matrix
|
|
||||||
mat4 view = mat4(mat3(uViewMatrix));
|
|
||||||
gl_Position = uProjectionMatrix * view * vec4(aPosition, 1.0);
|
|
||||||
vTexCoord = aPosition;
|
|
||||||
}
|
|
BIN
skybox/top.png
BIN
skybox/top.png
Binary file not shown.
Before Width: | Height: | Size: 1.8 MiB |
Loading…
x
Reference in New Issue
Block a user