godot-demo-projects/plugins/addons/material_creator
Hugo Locurcio 1d5184e235
Update most demos for Godot 4.0.beta10 (#782)
2023-01-05 16:50:17 +01:00
..
README.md Refactor the plugin demos to be inside of a project for convenience 2020-03-25 23:28:42 -04:00
material_creator.gd Update most demos for Godot 4.0.beta10 (#782) 2023-01-05 16:50:17 +01:00
material_dock.tscn Update most demos for Godot 4.0.beta10 (#782) 2023-01-05 16:50:17 +01:00
material_plugin.gd Convert demos to Godot 4 using regular expressions in a script 2022-03-26 16:09:10 -05:00
material_resource.gd Convert demos to Godot 4 using regular expressions in a script 2022-03-26 16:09:10 -05:00
plugin.cfg Refactor the plugin demos to be inside of a project for convenience 2020-03-25 23:28:42 -04:00

README.md

Material Creator Plugin Demo

This plugin demo contains a custom material creator interface using a custom dock in the editor.

Custom docks are made of Control nodes, they run in the editor, and any behavior must be done through tool scripts. For more information, see this documentation article: https://docs.godotengine.org/en/latest/tutorials/plugins/editor/making_plugins.html#a-custom-dock

This plugin allows you to specify color, metallic, and roughness values, and then use it as a material.

You can apply this material directly to Spatial nodes by selecting them and then clicking "Apply". This shows how a plugin can interact closely with the editor, manipulating nodes the user selects.

Alternatively, you can also save the material to a file, and then load it back into the plugin later.