Skip to content

Commit

Permalink
Merge pull request godotengine#44324 from Calinou/doc-basematerial3d-…
Browse files Browse the repository at this point in the history
…height-no-triplanar

Document that BaseMaterial3D doesn't support height mapping + triplanar
  • Loading branch information
akien-mga authored Mar 8, 2021
2 parents b6e97c1 + 91c1930 commit 85cb3c0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/classes/BaseMaterial3D.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 85cb3c0

Please sign in to comment.