opaque objects are rendered before transparent objects

This commit is contained in:
devZoGok
2022-12-27 16:11:10 +02:00
parent cc2f6dc29b
commit eb8b22d4ed
5 changed files with 44 additions and 12 deletions
-1
View File
@@ -64,7 +64,6 @@ namespace vb01{
mixRatio = .1;
for(int i = 0; i < numFrames; i++){
bool png = false;
int length = paths[i].length();
if(paths[i].substr(length - 4, string::npos) == ".png")