mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-08 23:25:40 +12:00
Shadergen: Log unimplemented LUT select indices
This commit is contained in:
parent
f374b1dd51
commit
965ea6d012
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
case 4: shader += "lut_lookup_delta = dot(light_vector, lightSources[" + std ::to_string(lightID) + "].spotlightDirection);\n"; break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
Helpers::warn("Shadergen: Unimplemented LUT select");
|
Helpers::warn("Shadergen: Unimplemented LUT select %d", inputID);
|
||||||
shader += "lut_lookup_delta = 1.0;\n";
|
shader += "lut_lookup_delta = 1.0;\n";
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue