-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
30 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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). |