lot of metal changes, but no idea how this stuff works
This commit is contained in:
1 parent
52cbdd8470
commit
ee03b5fa5f
31 files changed
+335
-157
No files matched your search
@@ -58,7 +58,7 @@ void ShaderCompiler::compile() {
|
||||
if (pass.useMaterial) {
|
||||
for (const auto& [matName, mat] : materials) {
|
||||
for (int y = 0; y < 2; y++) {
|
||||
work.add([=]() {
|
||||
work.add([=, this]() {
|
||||
ShaderPermutation permutation = getTemplate(name);
|
||||
permutation.setPositionOnly(false);
|
||||
permutation.setDepthCulling(y);
|
||||
|
||||
Reference in new issue
Block a user