@@ -797,7 +797,7 @@ Full list of hints below:
797797+----------------------+--------------------------------------------------+-----------------------------------------------------------------------------+
798798| **sampler2D ** | hint_depth_texture | Texture is the depth texture. |
799799+----------------------+--------------------------------------------------+-----------------------------------------------------------------------------+
800- | **sampler2D ** | hint_normal_roughness_texture | Texture is the normal roughness texture. |
800+ | **sampler2D ** | hint_normal_roughness_texture | Texture is the normal roughness texture (only supported in Forward+). |
801801+----------------------+--------------------------------------------------+-----------------------------------------------------------------------------+
802802
803803GDScript uses different variable types than GLSL does, so when passing variables
@@ -1285,8 +1285,8 @@ is used, it can be scalar or vector.
12851285| gvec4_type **textureLod ** (gsampler2D s, vec2 p, float lod) | Perform a texture read at custom mipmap. |
12861286| | |
12871287| gvec4_type **textureLod ** (gsampler2DArray s, vec3 p, float lod) | The LOD defines which mipmap level is used. An LOD value of ``0.0 `` |
1288- | | will use the full resolution texture. |
1289- | gvec4_type **textureLod ** (gsampler3D s, vec3 p, float lod) | |
1288+ | | will use the full resolution texture. If the texture lacks mipmaps, |
1289+ | gvec4_type **textureLod ** (gsampler3D s, vec3 p, float lod) | all LOD values will act like `` 0.0 ``. |
12901290| | |
12911291| vec4 **textureLod ** (samplerCube s, vec3 p, float lod) | |
12921292| | |
@@ -1295,8 +1295,8 @@ is used, it can be scalar or vector.
12951295| gvec4_type **textureProjLod ** (gsampler2D s, vec3 p, float lod) | Performs a texture read with projection/LOD. |
12961296| | |
12971297| gvec4_type **textureProjLod ** (gsampler2D s, vec4 p, float lod) | The LOD defines which mipmap level is used. An LOD value of ``0.0 `` |
1298- | | will use the full resolution texture. |
1299- | gvec4_type **textureProjLod ** (gsampler3D s, vec4 p, float lod) | |
1298+ | | will use the full resolution texture. If the texture lacks mipmaps, |
1299+ | gvec4_type **textureProjLod ** (gsampler3D s, vec4 p, float lod) | all LOD values will act like `` 0.0 ``. |
13001300+-----------------------------------------------------------------------------+---------------------------------------------------------------------+
13011301| gvec4_type **textureGrad ** (gsampler2D s, vec2 p, vec2 dPdx, | Performs a texture read with explicit gradients. |
13021302| vec2 dPdy) | |
0 commit comments