Skip to content

Commit

Permalink
Add a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
depressed-pho committed Jan 6, 2019
1 parent 2aa6543 commit 2d926d9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/shaders/glsl/natural-mystic-hacks.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@ bool isNetherFog(vec4 fogColor) {
return fogColor.r > fogColor.b && fogColor.r < 0.5;
}

/* Detect the render distance fog. */
/* Detect the render distance fog. THINKME: We could possibly use the
* material variant "fading" instead of this hack. See
* terrain.material
*/
bool isRenderDistanceFog(vec2 fogControl) {
return fogControl.x > 0.5;
}
Expand Down

0 comments on commit 2d926d9

Please sign in to comment.