summaryrefslogtreecommitdiff
path: root/src/rend2/tr_light.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rend2/tr_light.c')
-rw-r--r--src/rend2/tr_light.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/rend2/tr_light.c b/src/rend2/tr_light.c
index cec6b295..9c15982a 100644
--- a/src/rend2/tr_light.c
+++ b/src/rend2/tr_light.c
@@ -441,15 +441,7 @@ int R_LightDirForPoint( vec3_t point, vec3_t lightDir, vec3_t normal, world_t *w
Com_Memset(&ent, 0, sizeof(ent));
VectorCopy( point, ent.e.origin );
R_SetupEntityLightingGrid( &ent, world );
-
- if ((DotProduct(ent.lightDir, ent.lightDir) < 0.9f) || (DotProduct(ent.lightDir, normal) < 0.1f))
- {
- VectorCopy(normal, lightDir);
- }
- else
- {
- VectorCopy(ent.lightDir, lightDir);
- }
+ VectorCopy(ent.lightDir, lightDir);
return qtrue;
} \ No newline at end of file