Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Login
Register
www.jpct.net
»
jPCT-AE - a 3d engine for Android
»
Support
»
Texture pixelated or weird for etc1 compressed normal bump map
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Texture pixelated or weird for etc1 compressed normal bump map (Read 2544 times)
kkl
float
Posts: 291
Texture pixelated or weird for etc1 compressed normal bump map
«
on:
September 26, 2014, 05:30:43 pm »
Hi Egon,
I set my texture to mipmap and setTextureCompression(true), and it seems like the texture is pixelated and sometimes looks weird (some black area on part of the texture) for normal map, but it does not have the issue when compression is off. I'm using the shader code from
http://www.jpct.net/wiki/index.php/Shaders
. In addition, I tried out with the hello shader by setting all textures with etc1 compression, it looks quite different than what it is in without the compression. Is it normal that etc1 compression will lose texture quality? However, if the normal texture is compressed, it looks ok.
Logged
EgonOlsen
Administrator
quad
Posts: 12297
Re: Texture pixelated or weird for etc1 compressed normal bump map
«
Reply #1 on:
September 26, 2014, 08:33:02 pm »
Yes, it's a lossy compression format. It's usually better looking then using 16bit textures, but it depends on the texture's content.
Logged
kkl
float
Posts: 291
Re: Texture pixelated or weird for etc1 compressed normal bump map
«
Reply #2 on:
September 27, 2014, 04:10:42 am »
Quote
It's usually better looking then using 16bit textures, but it depends on the texture's content.
Depend on texture content? Does it mean if the texture have less distinct color, then the texture might get alot different than the original?
Logged
EgonOlsen
Administrator
quad
Posts: 12297
Re: Texture pixelated or weird for etc1 compressed normal bump map
«
Reply #3 on:
September 27, 2014, 09:19:17 am »
It works best on 'normal' textures. High or low frequency textures will suffer the most.
Logged
kkl
float
Posts: 291
Re: Texture pixelated or weird for etc1 compressed normal bump map
«
Reply #4 on:
September 27, 2014, 05:22:10 pm »
I guess I have to use normal map without compression then. Thanks alot egon.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
www.jpct.net
»
jPCT-AE - a 3d engine for Android
»
Support
»
Texture pixelated or weird for etc1 compressed normal bump map