Skip to content

Commit

Permalink
Traktor: Removed weird "under horizon" addition in sky color calculat…
Browse files Browse the repository at this point in the history
…ion.
  • Loading branch information
apistol78 committed Jun 10, 2024
1 parent f10fac4 commit 603dc73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/Source/System/Weather/Sky/Modules/Sky.xdi
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ vec3 GetSkyColor(vec3 sunDirection, vec3 sunColor, vec3 overHorizon, vec3 underH
// Add sun
col += sunColor * pow(max(sundot - 0.1, 0), 8.0f);
col += clamp((0.1 - rd.y) * 10.0f, 0.0f, 1.0f) * overHorizon;
// col += clamp((0.1 - rd.y) * 10.0f, 0.0f, 1.0f) * underHorizon;
return col;
}
Expand Down

0 comments on commit 603dc73

Please sign in to comment.