hi all,
i am trying to change pixels in a b/w texture which are darker as x to y. any idear?
thx and greetz
christian
hi all,
i am trying to change pixels in a b/w texture which are darker as x to y. any idear?
thx and greetz
christian
Pipet (EX9.Texture Legacy) pipet it then hsa or rgb spilt -> chang pixel -> join
this will be slow depending on how many pixel there are
hi xxxlalala,
thx for quick answer. i think i found another way: using a pixelshader. i changed the template shader by
float4 PS(vs2ps In): COLOR
{
float4 col = tex2D(Samp, In.TexCd);
if(col.r==0)
{col =1;}
return col;
}
works perfect for me…and i think it is much less perf expensive ;)
greetz
christian