Remove radius increase in point light modes

This commit is contained in:
Magnus Norddahl 2016-08-29 22:42:46 +02:00
parent 737e700774
commit 240ebf94a1

View file

@ -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