Shadergen: Start implementing lighting

This commit is contained in:
wheremyfoodat 2024-07-18 19:27:12 +03:00
parent e1268f57b5
commit 00037d8a5e
2 changed files with 96 additions and 0 deletions

View file

@ -27,6 +27,7 @@ namespace PICA::ShaderGen {
void applyAlphaTest(std::string& shader, const PICARegs& regs);
void compileLights(std::string& shader, const PICA::FragmentConfig& config);
void compileLUTLookup(std::string& shader, u32 lightIndex, u32 lutIndex, bool abs);
u32 textureConfig = 0;