Finished reworking asset builder; Models are now cooked when built

This commit is contained in:
grayson committed 2021-12-14 03:04:56 -06:00
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);
}