summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-05-24 08:15:33 +0200
committerGitHub <noreply@github.com>2022-05-24 08:15:33 +0200
commit1314e6cbcc7ccf19aeeafc01a12de1de6ce3642d (patch)
tree69df5d26b79ac73dcb57b494661889d1b256657a /doc
parentdb5a86339b9a5aba1a99d133ecfa3673f1ca1a97 (diff)
parenta8bbe570caadd0161a8db9c980296b111042a6b8 (diff)
Merge pull request #60803 from Chaosus/shader_hint_rename
Rename `hint_albedo`, `hint_white/black` in shaders
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/VisualShaderNodeTextureUniform.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/VisualShaderNodeTextureUniform.xml b/doc/classes/VisualShaderNodeTextureUniform.xml
index b104634da0..bff6f2015d 100644
--- a/doc/classes/VisualShaderNodeTextureUniform.xml
+++ b/doc/classes/VisualShaderNodeTextureUniform.xml
@@ -27,7 +27,7 @@
No hints are added to the uniform declaration.
</constant>
<constant name="TYPE_COLOR" value="1" enum="TextureType">
- Adds [code]hint_albedo[/code] as hint to the uniform declaration for proper sRGB to linear conversion.
+ Adds [code]source_color[/code] as hint to the uniform declaration for proper sRGB to linear conversion.
</constant>
<constant name="TYPE_NORMAL_MAP" value="2" enum="TextureType">
Adds [code]hint_normal[/code] as hint to the uniform declaration, which internally converts the texture for proper usage as normal map.