Merge pull request #287 from Calinou/3d-preview-config-add-tooltips

Add tooltips for UV scale and tesselation in 3D preview configuration
This commit is contained in:
Rodz Labs 2021-03-03 20:02:40 +01:00 committed by GitHub
commit 763ab2aa0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -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"]