瀏覽代碼

Fix some leftover references to `hint_albedo` in docs

A Thousand Ships 1 年之前
父節點
當前提交
e5266f71b9
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      doc/classes/VisualShaderNodeCubemap.xml
  2. 1 1
      doc/classes/VisualShaderNodeTexture.xml

+ 1 - 1
doc/classes/VisualShaderNodeCubemap.xml

@@ -33,7 +33,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.

+ 1 - 1
doc/classes/VisualShaderNodeTexture.xml

@@ -51,7 +51,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.