mirror of
https://github.com/processing/processing4.git
synced 2026-02-12 01:50:44 +01:00
1 line
167 B
GLSL
1 line
167 B
GLSL
uniform samplerCube cubemap;
|
|
varying vec3 reflectDir;
|
|
|
|
void main() {
|
|
vec3 color = vec3(textureCube(cubemap, reflectDir));
|
|
gl_FragColor = vec4(color, 1.0);
|
|
}
|