Merge branch 'master' into metal2

This commit is contained in:
Samuliak 2024-11-01 08:43:40 +01:00
commit d459f9c1c3
No known key found for this signature in database
5 changed files with 91 additions and 15 deletions

View file

@ -662,7 +662,7 @@ void FragmentGenerator::compileLUTLookup(std::string& shader, const PICA::Fragme
case 4: shader += "lut_lookup_delta = dot(light_vector, lightSources[" + std ::to_string(lightID) + "].spotlightDirection);\n"; break;
default:
Helpers::warn("Shadergen: Unimplemented LUT select");
Helpers::warn("Shadergen: Unimplemented LUT select %d", inputID);
shader += "lut_lookup_delta = 1.0;\n";
break;
}