Finished reworking asset builder; Models are now cooked when built
This commit is contained in:
1 parent
cc0316ff80
commit
7a93befa14
20 files changed
+291
-475
No files matched your search
@@ -8,9 +8,9 @@ out vec4 color;
|
||||
|
||||
void main() {
|
||||
vec3 tc;
|
||||
tc = vec3(-texCoord.x, texCoord.y, texCoord.z);
|
||||
if (texCoord.y > 0.999999 || texCoord.y < -0.999999) {
|
||||
tc = vec3(-texCoord.x, -texCoord.y, texCoord.z);
|
||||
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