This commit was merged in pull request #22.
This commit is contained in:
2026-02-15 01:41:27 +00:00
parent ed604eb655
commit 7fbd4c0226
6 changed files with 42 additions and 14 deletions

View File

@@ -109,11 +109,12 @@ void main()
#version 330
uniform samplerCube uTexture;
varying vec3 vTexCoord;
in vec3 vTexCoord;
out vec4 FragColor;
void main()
{
gl_FragColor = texture(uTexture, vTexCoord);
FragColor = texture(uTexture, vTexCoord);
}
)"