Added clickable buttons; Custom button textures can be specified; Added default cubemap
This commit is contained in:
1 parent
cd41123beb
commit
805a1cef1f
41 files changed
+409
-104
No files matched your search
@@ -9,7 +9,7 @@ out vec4 color;
|
||||
void main() {
|
||||
vec3 tc;
|
||||
tc = vec3(-texCoord.x, texCoord.y, texCoord.z);
|
||||
if (texCoord.y > 0.99 || texCoord.y < -0.99) {
|
||||
if (texCoord.y > 0.999999 || texCoord.y < -0.999999) {
|
||||
tc = vec3(texCoord.x, texCoord.y, texCoord.z);
|
||||
}
|
||||
color = texture(cm, tc);
|
||||
|
||||
Reference in new issue
Block a user