Fix: Workbench: Wrong volume shader

Regression from
2a2effc0c2
This commit is contained in:
Miguel Pozo
2024-02-19 15:37:14 +01:00
parent 9e12a675b5
commit 5a76a4190d
2 changed files with 2 additions and 2 deletions

View File

@@ -56,7 +56,7 @@ class ShaderCache {
StaticShader shadow_[2 /*depth_pass*/][2 /*manifold*/][2 /*cap*/];
StaticShader volume_[2 /*smoke*/][3 /*interpolation*/][2 /*slice*/][2 /*coba*/];
StaticShader volume_[2 /*smoke*/][3 /*interpolation*/][2 /*coba*/][2 /*slice*/];
public:
static ShaderCache &get();

View File

@@ -77,7 +77,7 @@ ShaderCache::ShaderCache()
}
}
std::string smoke[] = {"_smoke", "_object"};
std::string smoke[] = {"_object", "_smoke"};
std::string interpolation[] = {"_linear", "_cubic", "_closest"};
std::string coba[] = {"_no_coba", "_coba"};
std::string slice[] = {"_no_slice", "_slice"};