About Store Forum Documentation Contact



Post Reply 
Cloud layer issue
Author Message
Dalmat Offline
Member

Post: #1
Cloud layer issue
Hello,

I am trying to build new clouds and im using textures which are compressed to DXT5 out of monochrome 8bit png.

I get those stripes across the horizon and i dont know why..
There are 2 of them across the hemisphere. I found out that i can avoid them by making BGRA8.. But the size of the texture is too big..

Is there a trick to this, or a solution other than the format?

[Image: Untitled_1.png]
upload
02-09-2013 11:05 AM
Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #2
RE: Cloud layer issue
Are the image dimensions a power of 2?

If not, can you send me the original PNG and created DXT GFX files so I can investigate?
Thank you
02-09-2013 12:33 PM
Find all posts by this user Quote this message in a reply
Dalmat Offline
Member

Post: #3
RE: Cloud layer issue
No, they are not the power of two, and i used the converter tool.
Tried with the power of two, and the stripe is gone, but the file got larger smile

Here they are so you can take a look..


Attached File(s)
.rar  cloud.rar (Size: 715.79 KB / Downloads: 1)
02-09-2013 01:59 PM
Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #4
RE: Cloud layer issue
Thanks.

Textures which will be wrapped (texture coordinates addressing mode) are recommended to be a power of 2 size (this is recommended for all textures used for 3d graphics)

I recommend using non-pow-2 sized images only for images used for 2d graphics (gui images, gui backgrounds, etc).
02-09-2013 02:11 PM
Find all posts by this user Quote this message in a reply
Dalmat Offline
Member

Post: #5
RE: Cloud layer issue
Got that !
Thanx!
02-09-2013 02:23 PM
Find all posts by this user Quote this message in a reply
Post Reply