10 lines
155 B
Plaintext
10 lines
155 B
Plaintext
|
uniform samplerCube u_cubemap;
|
||
|
|
||
|
|
||
|
in vec3 v_direction;
|
||
|
out vec4 fragcolor;
|
||
|
|
||
|
|
||
|
void main() {
|
||
|
fragcolor = vec4(texture(u_cubemap, v_direction).rgb, 1.0);
|
||
|
}
|