mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-18 02:02:05 +00:00
Remove radius increase in point light modes
This commit is contained in:
parent
737e700774
commit
240ebf94a1
1 changed files with 0 additions and 3 deletions
|
@ -139,9 +139,6 @@ bool gl_GetLight(int group, Plane & p, ADynamicLight * light, bool checkside, bo
|
||||||
|
|
||||||
if (gl_light_math != 0)
|
if (gl_light_math != 0)
|
||||||
{
|
{
|
||||||
// Adjust light slightly to make the range better match plain attenuation
|
|
||||||
radius *= 1.5;
|
|
||||||
|
|
||||||
// Move light up because flasks/vials have their light source location at/below the floor.
|
// Move light up because flasks/vials have their light source location at/below the floor.
|
||||||
//
|
//
|
||||||
// If the point is exactly on the wall plane it might cause some acne as some pixels could
|
// If the point is exactly on the wall plane it might cause some acne as some pixels could
|
||||||
|
|
Loading…
Reference in a new issue