Skip to content

Commit

Permalink
Shadergen: Log unimplemented LUT select indices
Browse files Browse the repository at this point in the history
  • Loading branch information
wheremyfoodat committed Oct 31, 2024
1 parent f374b1d commit 965ea6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/PICA/shader_gen_glsl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 965ea6d

Please sign in to comment.