View Single Post
Old 17th May 2018, 18:07   #50906  |  Link
Clown shoes
King of the Jungle
 
Clown shoes's Avatar
 
Join Date: Mar 2003
Location: Shoreditch, London
Posts: 429
Quote:
Originally Posted by huhn View Post
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?
Clown shoes is offline   Reply With Quote