Skip to content

Commit ed5e025

Browse files
skyace65mhilbrunner
authored andcommitted
Merge pull request #8885 from Calinou/resolution-scaling-fix-mipmap-bias-formula
Fix missing texture mipmap bias formula in Resolution scaling (cherry picked from commit 6ac586b)
1 parent f97f833 commit ed5e025

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)