Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Ingenoire authored Jul 30, 2024
1 parent 40ad335 commit 09ee627
Showing 1 changed file with 30 additions and 1 deletion.
31 changes: 30 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,31 @@
# bakin-blender-exporter
Blender addon that exports models for RPG Developer BAKIN.
![alt_text](https://i.imgur.com/ShF4IMf.png)

A Blender Addon that allows you to quickly export (in a single-click) FBX models and their material definitions (.def files) for RPG Developer BAKIN, letting you easily import your models into Bakin without having to manually import every texture for every model!

### Usage
- Make sure your model uses Principled BSDF shader nodes (PBR), and save the blend file project.
- Make sure your texture nodes in the shader nodes connect to the standard inputs.
- Define a model name in the addon. This will define the folder name, model filename, and def filename, and will be saved in the folder where your blend file is.
- Press "Export FBX+DEF".
- Import the model into RPG Developer BAKIN.

### Features
- Exports your model, textures, and a material definition file (.def) in a single folder.
- Generates Mask Maps according to BAKIN's specifications from the model's Shader Node textures: Roughness, Metallic, Emissive and Specular.
- Invert the color of any of the four textures that form the Mask Map.
- Contains information regarding troubleshooting errors and possible improvements on the BAKIN side.
- Three UI languages: English, Japanese (AI-translated) and Simplified Chinese (AI-translated).

### Precaution
- This won't make your model look 1:1 with Blender.
- Your model, even if it's PBR, might not work for reasons beyond my control.
- Emissive and Specular are untested (Emissive was "tested", but not really, I have no clue how it works)
- Some troubleshooting advice are on the addon itself:
- Join models together if they share material names, or rename materials to be different if they're actually different.
- Try to keep shader node shenanigans as low as possible, or preferably bake your textures with an addon like Simple Bake.
- Having multiple textures connected to a single input on the Principled BSDF probably won't work / get the wrong texture.

### Credits
- Models shown are from Blenderkit (https://www.blenderkit.com/)
- Code was (mostly) generated through ChatGPT (with a lot of troubleshooting and fixing).

0 comments on commit 09ee627

Please sign in to comment.