Tag Info

Hot answers tagged

4

Alpha mask texture approach In case your circle would always be the same size, using a second alpha mask texture would be the way to go. You would make it a grayscale mask texture and use its value as the alpha value while drawing. Using a texture had the benefit of having anti-aliasing built into the mask (ie. at the borders of your circle, the pixels can ...


2

The scissor rectangle applies to pixels within the depth and stencil targets, just as it does to color targets. Only pixels within the scissor rectangle will be candidates for writing, so other states controlling reading from or writing to depth/stencil targets are essentially irrelevant - they will never be read or written. For example, the depth write mask ...



Only top voted, non community-wiki answers of a minimum length are eligible