From f330cf8bdaac067578da46ad4cd23c78deb82e05 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Mon, 15 Feb 2021 00:41:35 +0100 Subject: [PATCH] Add tooltips for UV scale and tesselation in 3D preview configuration --- material_maker/panels/preview_3d/mesh_config_popup.tscn | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/material_maker/panels/preview_3d/mesh_config_popup.tscn b/material_maker/panels/preview_3d/mesh_config_popup.tscn index e9582604..eef2e827 100644 --- a/material_maker/panels/preview_3d/mesh_config_popup.tscn +++ b/material_maker/panels/preview_3d/mesh_config_popup.tscn @@ -46,6 +46,11 @@ margin_bottom = 56.0 margin_top = 5.0 margin_right = 59.0 margin_bottom = 19.0 +hint_tooltip = "The texture's display scale on the 3D preview. +Higher values will make the texture span a smaller area. +The texture will repeat automatically to cover the whole mesh. +This can be used to check how well a material tiles." +mouse_filter = 1 text = "UV Scale:" [node name="X" parent="VBoxContainer/UVScale" instance=ExtResource( 1 )] @@ -76,6 +81,10 @@ float_only = true margin_top = 60.0 margin_right = 276.0 margin_bottom = 84.0 +hint_tooltip = "If tesselation is enabled, the mesh will be subdivided and its vertex coordinates will be moved +thanks to a shader. For some kinds of materials, tesselation can result in a better appearance +for the height map preview compared to parallax occlusion mapping. +However, tesselation is more demanding to render compared to parallax occlusion mapping." text = "Tesselated" [connection signal="popup_hide" from="." to="." method="_on_MeshConfiguration_popup_hide"] [connection signal="value_changed" from="VBoxContainer/UVScale/X" to="." method="_on_UV_value_changed"]