Skip to content

Commit f2f960e

Browse files
committed
move comment
1 parent 71b2522 commit f2f960e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shader/textures.glsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,10 @@ void computeLOD(
9595
const bool clam = textDetail == G_TD_CLAMP;
9696

9797
const vec2 dfd = max(dx, dy);
98+
// TODO: should this value be scaled by clipping planes?
9899
const float maxDist = max(dfd.x, dfd.y);
99100

100101
const uint mipBase = uint(floor(log2(maxDist)));
101-
// TODO: should this value be scaled by clipping planes?
102102
const bool distant = perspectiveOverflow || maxDist >= 16384.0;
103103
const bool aboveCount = mipBase >= material.mipCount;
104104
const bool maxDistant = distant || aboveCount;

0 commit comments

Comments
 (0)