mirror of
https://github.com/maxartz15/MA_TextureAtlasser.git
synced 2025-07-07 16:56:08 +02:00
Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
df16ba6c05 | |||
a3c002cb17 | |||
0907259aa8 | |||
fa40b918d0 |
@ -199,7 +199,7 @@ namespace MA_Texture
|
|||||||
if(flipY)
|
if(flipY)
|
||||||
{
|
{
|
||||||
//Y is 'flipped' because textures are made from left to right, bottom to top. We want to draw from left to right and top to bottom.
|
//Y is 'flipped' because textures are made from left to right, bottom to top. We want to draw from left to right and top to bottom.
|
||||||
for (int y = combineTexture.height; y > 0; y--)
|
for (int y = combineTexture.height - 1; y >= 0; y--)
|
||||||
{
|
{
|
||||||
texture.SetPixel(x + offsetX, y + (texture.height - offsetY - combineTexture.height), combineTexture.GetPixel(x, y));
|
texture.SetPixel(x + offsetX, y + (texture.height - offsetY - combineTexture.height), combineTexture.GetPixel(x, y));
|
||||||
}
|
}
|
||||||
|
@ -11,6 +11,7 @@ Texture atlas creator tool for Unity. <br> This tool is made to combine textures
|
|||||||
### Unity versions
|
### Unity versions
|
||||||
- Latest release requires Unity 2018.3 or higher.
|
- Latest release requires Unity 2018.3 or higher.
|
||||||
- Releases before 1.8 should work with older Unity versions.
|
- Releases before 1.8 should work with older Unity versions.
|
||||||
|
- Upgrading to 1.8+ will break existing atlasses.
|
||||||
|
|
||||||
## Export options
|
## Export options
|
||||||
### Meshes
|
### Meshes
|
||||||
@ -23,4 +24,4 @@ Texture atlas creator tool for Unity. <br> This tool is made to combine textures
|
|||||||
|
|
||||||
## Resources
|
## Resources
|
||||||
[Youtube video](https://youtu.be/PBRKlopkZP0) <br>
|
[Youtube video](https://youtu.be/PBRKlopkZP0) <br>
|
||||||
[Website](https://maxartz15.com/ma-textureatlasser/)
|
[Website](https://maxartz15.com/ma_textureatlas/)
|
||||||
|
Reference in New Issue
Block a user