PDA

View Full Version : Material: alpha artifacts!



serthy
14th September 2013, 16:48
Hey all

I created a smooth 1024x32 gradient shader in gimp and converted it via assetmanager. However, the gradient isnt that smooth ingame...
I made a fullscreen menu and assigned the shader: you can clearly see the different alpha steps

434

assetmanager settings:
MaterialType: 2d
surfaceType: none
blendFunc: Blend
others as default

image (*.tga): 435

kung foo man
15th September 2013, 00:11
Can you try to export it in GIMP directly as DDS?

serthy
15th September 2013, 01:00
Yep, tried all tga and dds settings with almost every assetmanager setting, this from the screenshot in the first post is the best so far (tga: no compression or dds: BC3/DXT5)
dds settings in gimp:
457

iCore
15th September 2013, 09:59
I have saved with Photoshop, and it doesn't look that bad:

458

Still not perfect certainly, but I have made this picture with 1152 screen width, and it is still better than yours.
Have you tried with width 2048? That may help on it a bit I think.

serthy
15th September 2013, 11:41
yeah, your image is that what im looking for.
i guess its gimp's fault, or mine.
and yes i tried also 2024, still the same.
guess i have to get PS and do it there..
thanks for your reply!
other posts are still recommended ;)

iCore
17th September 2013, 12:09
No problem, I have uploaded it for you btw: sw_fade_right.dds (http://mezesmadzag.hu/sw_fade_right.dds)