• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Image size to 128x128

Status
Not open for further replies.
Level 17
Joined
Mar 21, 2011
Messages
1,611
Use only 1/4 of the texture... 256x256 / 4 = 128x128.
well, it did not matter how small it was, even with 16x16 it displayed as 256x256.
i tried around with it some more, it seems a bit buggy? i read on some pages that you need at least 1px of transparent edges, so thats what i did.
its hard to see on the screenshot, but at the left of my green plateau is a small block of more transparent green. the size is fitting now tho
 

Attachments

  • tile.PNG
    tile.PNG
    705.1 KB · Views: 68

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,287
I thought you had the transparent boarder already...

These images are overlaid the terrain on the image layer. Like the terrain, this is fragmented into 4x4 terrain chunks. The images are placed on this layer by using out of range UV coordinates (judging from the behaviour) with nearest pixel sampling for out of range texels. The result is that the boarder is stretched to fill the entire 4x4 terrain chunk when even a part of the image is visible on it. Hence one needs a 1 pixel transparent boarder as transparent texels being stretched across the entire 4x4 chunk makes no difference as only the non transparent image is seen.
 
Status
Not open for further replies.
Top