godot-vatlas
VersatileAtlasTexture plugin for Godot Engine
This plugin adds an extra Texture resource VersatileAtlasTexture, which works in a similar way to AtlasTexture, but internally is actually an ImageTexture which gets a Texture's data, modifies it, and then sets it as the image. This allows for the texture to be more versatile, allowing it to also work with particles, shaders, 3D, and more. Like the AtlasTexture, you can also set margins for the texture, allowing for extra spacing around the texture
The plugin also comes with a bottom tab, allowing for better modification of the region.
Features
- VersatileAtlasTexture resource, containing these properties:
- Atlas, for setting the reference Texture
- Region, for setting the rect to get from atlas
- Margin, to add extra borders around the texture
- Margin Color, to set the borders' color
- If the border is transparent, alpha edges will be fixed
- Repeat, to get access to the texture's repeat property (false by default)
- VersatileAtlasTexture bottom tab, for modifying the resource's region
- Can also set snap and offset for the selected rect