mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-31 10:01:26 +02:00
Same with the None mode
This commit is contained in:
parent
694f4b7acb
commit
3f96e6c7ee
@ -218,6 +218,11 @@ static float CalculateLightAttn(const LightPointer* light, Vec3* _ldir, const Ve
|
||||
switch (chan.attnfunc)
|
||||
{
|
||||
case AttenuationFunc::None:
|
||||
{
|
||||
PanicAlertFmt("None lighting in use!");
|
||||
ldir = ldir.Normalized();
|
||||
break;
|
||||
}
|
||||
case AttenuationFunc::Dir:
|
||||
{
|
||||
ldir = ldir.Normalized();
|
||||
|
Loading…
Reference in New Issue
Block a user