mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2025-08-08 09:52:32 -07:00
gl_rasterizer/lighting: fix LUT interpolation
This commit is contained in:
@@ -26,6 +26,8 @@ struct LightingRegs {
|
||||
DistanceAttenuation = 16,
|
||||
};
|
||||
|
||||
static constexpr unsigned NumLightingSampler = 24;
|
||||
|
||||
static LightingSampler SpotlightAttenuationSampler(unsigned index) {
|
||||
return static_cast<LightingSampler>(
|
||||
static_cast<unsigned>(LightingSampler::SpotlightAttenuation) + index);
|
||||
|
Reference in New Issue
Block a user