Quote:
Originally Posted by huhn
you can try a clipping shader:
Code:
sampler s0 : register(s0);
float4 main(float2 tex : TEXCOORD0) : COLOR
{
return clamp(tex2D(s0, tex),0.0, 1.0);
}
and please stick to links not everyone wants to see a wall of pictures.
|
Woops! I forgot Doom9 doesn't scale images. let me go back and fix that.
regarding the clipping shader, how exactly does it work and where would I apply it?