This commit is contained in:
Vladislav Khorev committed 2025-12-05 21:27:57 +03:00
1 parent 05bf63d447
commit 2b19a3eaba
21 files changed
+309

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
uniform samplerCube Texture;
varying vec3 dir;
void main(){
gl_FragColor = textureCube(Texture, normalize(dir));
//if (dir.z < 0)
//{
// gl_FragColor = vec4(1.0, 0.0, 0.0, 1.0);
//}
//gl_FragColor = vec4(1.0, 0.0, 0.0, 1.0);
}