13 lines
163 B
GLSL
13 lines
163 B
GLSL
|
#version 330
|
||
|
in vec3 vPosition;
|
||
|
|
||
|
uniform samplerCube uTexture;
|
||
|
|
||
|
out vec4 fColor;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
vec4 texCol = texture(uTexture, vPosition);
|
||
|
fColor = texCol;
|
||
|
}
|