Multitexture-terrain shader problem

Posted By: sebbi91

Multitexture-terrain shader problem - 12/03/15 20:45

Hi there.
i`ve a probelm with the Multitexture-"shader" mtl_terraintex.
I created different Textures for the terrain using the alpha channel for the differnet textures like in the Tutorial from: Freiknechts book

But I got this blue edges between the textures.



here are the scripts and how the .tga files look like:



If you have any idea to solve this problem please let me know.
If there is an better way than using standard shaders please let me know too.

thanks in advance smile


Sebbi
Posted By: Wjbender

Re: Multitexture-terrain shader problem - 12/03/15 21:18

just spitting in the wind here .(i don't know jack about these things)

I guess the brush you used , have softened/smoothly-blended edges so the parts on the edges are blending through to transparency and the shader cannot pick it up as part of the filtering because the alpha or colour values at those edges aren't "pure" , second possibility could be that antializing is causing the smooth blend at the edges , last possibility could be a bilinear filtering artifact (highly doubt it though) .

and i believe it needs to be 24 bit format.
Posted By: sebbi91

Re: Multitexture-terrain shader problem - 12/03/15 21:40

It's 24 Bit and there is no Antialiazing i guess.
I think so just because there Hard edges.

But thank you anyway for your reply.
© 2024 lite-C Forums