summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2020-12-12 17:13:01 +0100
committerHugo Locurcio <hugo.locurcio@hugo.pro>2020-12-12 17:13:01 +0100
commit91c19308dd2e56bff634daf44d74631d5ae9d8a7 (patch)
tree26b2db012f672b08e05aa61b6b9cbf7b8eae52ef
parent0762484473c1330c5d524d5cc3644d5e2b2e557c (diff)
Document that BaseMaterial3D doesn't support height mapping + triplanar
See #44322.
-rw-r--r--doc/classes/BaseMaterial3D.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/classes/BaseMaterial3D.xml b/doc/classes/BaseMaterial3D.xml
index 31e6ea5e54..fa6cf372ce 100644
--- a/doc/classes/BaseMaterial3D.xml
+++ b/doc/classes/BaseMaterial3D.xml
@@ -224,6 +224,8 @@
<member name="heightmap_deep_parallax" type="bool" setter="set_heightmap_deep_parallax" getter="is_heightmap_deep_parallax_enabled">
</member>
<member name="heightmap_enabled" type="bool" setter="set_feature" getter="get_feature" default="false">
+ If [code]true[/code], height mapping is enabled (also called "parallax mapping" or "depth mapping"). See also [member normal_enabled].
+ [b]Note:[/b] Height mapping is not supported if triplanar mapping is used on the same material. The value of [member heightmap_enabled] will be ignored if [member uv1_triplanar] is enabled.
</member>
<member name="heightmap_flip_binormal" type="bool" setter="set_heightmap_deep_parallax_flip_binormal" getter="get_heightmap_deep_parallax_flip_binormal">
</member>