Skip to content

Commit 8307505

Browse files
committed
Fix missing texture mipmap bias formula in Resolution scaling
1 parent c42e54b commit 8307505

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tutorials/3d/resolution_scaling.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,8 @@ Textures used in 2D don't have mipmaps enabled by default, which means only 3D
223223
rendering is affected unless you enabled mipmaps on 2D textures in the Import
224224
dock.
225225

226-
The formula used to determine the texture mipmap bias is: TODO
226+
The formula used to determine the texture mipmap bias is:
227+
``log2f(min(scaling_3d_scale, 1.0)) + custom_texture_mipmap_bias``
227228

228229
To counteract the blurriness added by some antialiasing methods, Godot also adds
229230
a ``-0.25`` offset when FXAA is enabled, and a ``-0.5`` offset when TAA is

0 commit comments

Comments
 (0)