transparency for animation preview, QoL, change raw animation
This commit is contained in:
1 parent
7116298668
commit
a1bdbeba1c
8 files changed
+66
-28
No files matched your search
+1
-1
@@ -78,7 +78,7 @@ namespace anm2ed
|
||||
glClearColor(color.r, color.g, color.b, color.a);
|
||||
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
|
||||
|
||||
if (color.a == 0.0f) glDisable(GL_BLEND);
|
||||
if (color.a <= 0.0f) glDisable(GL_BLEND);
|
||||
}
|
||||
|
||||
bool Framebuffer::is_valid() const { return fbo != 0; }
|
||||
|
||||
Reference in new issue
Block a user