diff options
| author | Dave Parks <davep@lindenlab.com> | 2011-09-28 01:37:54 -0500 | 
|---|---|---|
| committer | Dave Parks <davep@lindenlab.com> | 2011-09-28 01:37:54 -0500 | 
| commit | 6dfcb11000f349e24dbd1a9b78efa2ca4f799379 (patch) | |
| tree | 818081ba7a0f12bb1d1edabe6d041093ee4a3d70 /indra/newview/app_settings/shaders/class1/deferred | |
| parent | 348a70181211b8fe37c569f8b3fb8324cc8c59ea (diff) | |
SH-2453 Fix for horizontal line when max altitude set to 0
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/deferred')
| -rw-r--r-- | indra/newview/app_settings/shaders/class1/deferred/softenLightF.glsl | 4 | 
1 files changed, 0 insertions, 4 deletions
| diff --git a/indra/newview/app_settings/shaders/class1/deferred/softenLightF.glsl b/indra/newview/app_settings/shaders/class1/deferred/softenLightF.glsl index 255796aa27..60952ea38e 100644 --- a/indra/newview/app_settings/shaders/class1/deferred/softenLightF.glsl +++ b/indra/newview/app_settings/shaders/class1/deferred/softenLightF.glsl @@ -148,10 +148,6 @@ void calcAtmospherics(vec3 inPositionEye, float ambFactor) {  	vec3 P = inPositionEye;  	setPositionEye(P); -	//(TERRAIN) limit altitude -	if (P.y > max_y.x) P *= (max_y.x / P.y); -	if (P.y < -max_y.x) P *= (-max_y.x / P.y); -  	vec3 tmpLightnorm = lightnorm.xyz;  	vec3 Pn = normalize(P); | 
