Skip to content

Commit

Permalink
Deploying to gh-pages from @ 653cfb4 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleMayes committed Sep 27, 2023
1 parent 767fd7e commit 90c4e88
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion print.html
Original file line number Diff line number Diff line change
Expand Up @@ -5953,7 +5953,7 @@ <h2 id="sampler"><a class="header" href="#sampler">Sampler</a></h2>
<pre><code class="language-rust noplaypen">// Smaller when the object is close, may be negative.
let mut lod = get_lod_level_from_screen_size();

lod = clamp(lod + mip_lod_bias, min_lop, max_lod);
lod = clamp(lod + mip_lod_bias, min_lod, max_lod);

// Clamped to the number of mip levels in the texture.
let level = clamp(floor(lod), 0, texture.mip_levels - 1);
Expand Down
2 changes: 1 addition & 1 deletion quality/generating_mipmaps.html
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ <h2 id="sampler"><a class="header" href="#sampler">Sampler</a></h2>
<pre><code class="language-rust noplaypen">// Smaller when the object is close, may be negative.
let mut lod = get_lod_level_from_screen_size();

lod = clamp(lod + mip_lod_bias, min_lop, max_lod);
lod = clamp(lod + mip_lod_bias, min_lod, max_lod);

// Clamped to the number of mip levels in the texture.
let level = clamp(floor(lod), 0, texture.mip_levels - 1);
Expand Down

0 comments on commit 90c4e88

Please sign in to comment.