Swiftless
06-10-2006, 05:55 AM
Hi.
I am using the discard function in a pixel shader to remove unwanted pixels.
The only problem is that the scaling of my mipmapped textures blends the edge of my images with the colour I wish to remove.
This leaves a line around my object where the colour I was discarding has blended with the pixels I wanted to keep.
Is there any way to stop this?
I am using the discard function in a pixel shader to remove unwanted pixels.
The only problem is that the scaling of my mipmapped textures blends the edge of my images with the colour I wish to remove.
This leaves a line around my object where the colour I was discarding has blended with the pixels I wanted to keep.
Is there any way to stop this?