You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 19:41:11 +00:00
doc: Clarify MultiMesh.set_instance_color re: white albedo color
If the user does not set the albedo color to pure white, then the
multiplication with a value different from 1 will produce modulated colors.
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
(cherry picked from commit 1f6709d6e3)
This commit is contained in:
committed by
Rémi Verschelde
parent
1799189202
commit
0e5a99390e
@@ -81,7 +81,7 @@
|
||||
<argument index="1" name="color" type="Color" />
|
||||
<description>
|
||||
Sets the color of a specific instance by [i]multiplying[/i] the mesh's existing vertex colors.
|
||||
For the color to take effect, ensure that [member color_format] is non-[code]null[/code] on the [MultiMesh] and [member SpatialMaterial.vertex_color_use_as_albedo] is [code]true[/code] on the material.
|
||||
For the color to take effect, ensure that [member color_format] is non-[code]null[/code] on the [MultiMesh] and [member SpatialMaterial.vertex_color_use_as_albedo] is [code]true[/code] on the material. If the color doesn't look as expected, make sure the material's albedo color is set to pure white ([code]Color(1, 1, 1)[/code]).
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_instance_custom_data">
|
||||
|
||||
Reference in New Issue
Block a user