Added clickable buttons; Custom button textures can be specified; Added default cubemap

This commit is contained in:
grayson committed 2021-09-11 15:33:56 -05:00
1 parent cd41123beb
commit 805a1cef1f
41 files changed
+409 -104

No files matched your search

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 723 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 274 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 462 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 588 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 525 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 338 KiB

@@ -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);
+1 -1
View File
@@ -91,7 +91,7 @@ int main(int argc, char* argv[]) {
}
std::set<std::string> extensions;
extensions.insert({ "obj", "png", "shader", "ttf" });
extensions.insert({ "obj", "png", "jpg", "shader", "ttf" });
unsigned int dirCount = 0;
const std::filesystem::path workingDir = std::filesystem::current_path();