Giter Club home page Giter Club logo

godot_editor_tools's Introduction

Godot Editor Tools

Godot editor addon where I dump various useful tools and scripts.

Install

Copy folder in addons to the addons folder in your Godot project's folder and then activate the plugin in project settings.

Tested in: 4.2.x, 4.3.dev5

Bulk Extract Materials

This tool can be used to extract the materials from all selected model/scenes (ex. GLB and FBX files). It is similar to the Extract Materials action in the scene advanced import settings window.

The tool's dialog can be opened via menu: Project > Tools > plyTools > Extract Materials from Selected.

It will itterate over the scenes (model files) you have selected inthe FileSystem dock. You must specify a folder for the material and optionally a path to where textures are kept. It will attrempt to set the albedo, normal, metallic, etc maps in the material based on the material and textures names and the regex pattens provided in the other fields.

It is imporant to get rid of the post/pre tags in the names to help identify which textures belong with which materials when using the auto texture option.

In this example the material names all start with m_ so I set name cleanup to get rid of that. The textures all start with t_ and end with _bc of albedo, _n for normal, _m for metallic, _ro for roughness, and _ao for ambient occlusion. So ^(t_)|(_bc|_n|_m|_ro|_ao)$ will help clean up the texture names while the indivisual tag patterns seen in image below help identify which are albedo, normal, etc. You can change these to whatever patterns you use in your texture and material file names.

sample

Bulk create Inherited Scenes (Prefabs)

This tool will create inherited scenes in the target path from the selected scenes/models.

The tool's dialog can be opened via menu: Project > Tools > plyTools > Make Prefabs from Selected.

sample

godot_editor_tools's People

Contributors

plyoung avatar

Watchers

 avatar

Forkers

hatmix

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.