Original Post
Hi All, The effect I am trying to achieve is a dirty window. Basically I have a quad with a texture on it and then I have another texture which is just an 8bit(alpha) texture describing where the smears are on the window. Now I don't want to just use the alpha texture as my alpha lookup (that creates smears on the texture). Right now I can achieve the look by rendering just the alpha first with the alpha texture as my lookup which dims all my objects outside the window and then render my transparent window texture. Any ideas on how to achieve this in one pass without making the smears show up on the window texture? Thanks, Omnipotent