4 Commits
1.8.0 ... 1.8.1

Author SHA1 Message Date
max
df16ba6c05 Merge branch 'master' of https://github.com/maxartz15/MA_TextureAtlasser 2020-05-16 19:29:09 +02:00
max
a3c002cb17 Update MA_TextureUtils.cs
Bugfix: 2 pixel Y offset when combining textures.
2020-05-16 19:29:01 +02:00
max
0907259aa8 Update README.md 2020-04-21 02:28:41 +02:00
max
fa40b918d0 Update README.md 2020-04-20 22:43:13 +02:00
2 changed files with 3 additions and 2 deletions

View File

@ -199,7 +199,7 @@ namespace MA_Texture
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.
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));
}

View File

@ -11,6 +11,7 @@ Texture atlas creator tool for Unity. <br> This tool is made to combine textures
### Unity versions
- Latest release requires Unity 2018.3 or higher.
- Releases before 1.8 should work with older Unity versions.
- Upgrading to 1.8+ will break existing atlasses.
## Export options
### Meshes
@ -23,4 +24,4 @@ Texture atlas creator tool for Unity. <br> This tool is made to combine textures
## Resources
[Youtube video](https://youtu.be/PBRKlopkZP0) <br>
[Website](https://maxartz15.com/ma-textureatlasser/)
[Website](https://maxartz15.com/ma_textureatlas/)