Install Asset
Install via Godot
To maintain one source of truth, Godot Asset Library is just a mirror of the old asset library so you can download directly on Godot via the integrated asset library browser
Quick Information
This tool lets you generate normal and specular maps using Laigter: https://github.com/azagaya/laigter from within the editor.
#+title: Godot Laigter Plugin
Overview The Laigter Plugin is a tool for Godot that automates the generation of normal and specular maps from diffuse textures by using [[https://github.com/azagaya/laigter][Laigter]], this plugin adds a button to generate textures.
Installation
- Download the Plugin: Clone or download the repository from GitHub.
- Add to Godot:
- Copy the
laigterfolder into your Godot project'saddonsdirectory. - Open your project in Godot.
- Copy the
- Enable the Plugin:
- Go to
Project->Project Settings->Plugins. - Find the Laigter Plugin and enable it.
- Go to
- Set Laigter Path:
If
laigteris not available in yourPATH- Go to
Project->Project Settings->Filesystem->Import. - Set the
laigter_pathto the location of your Laigter binary. The default is"laigter". - If the path is not set, the plugin will prompt you to configure it.
- Go to
- Usage ** Texture Generation
Select a Texture:
- In the Godot editor, select a node that has a
CanvasTextureassigned.
- In the Godot editor, select a node that has a
Open Inspector:
- In the Inspector panel, locate the
normal_textureorspecular_textureproperties.
- In the Inspector panel, locate the
Generate Maps:
- Click the "Generate" button next to the respective property.
- The plugin will automatically generate the corresponding normal or specular map based on the diffuse texture.
- Notes
- Ensure that the Laigter binary is correctly installed and accessible from the specified path. The plugin verifies the binary upon startup and will notify you if it cannot be found in your
PATH. - The output textures will be generated in the same directory as the original diffuse texture, with
_nor_sappended to the file name. *** TODO: Support additional settings: - Software rendering
- Occlusion and parallax textures
- Loading default Laigter presets
Contribution Contributions are welcome! Feel free to submit issues or pull requests to improve the plugin or enhance its functionality.
License This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.
This tool lets you generate normal and specular maps using Laigter: https://github.com/azagaya/laigter from within the editor.
Reviews
Quick Information
This tool lets you generate normal and specular maps using Laigter: https://github.com/azagaya/laigter from within the editor.