Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 17560

Stencil Write with Clip/Discard

$
0
0

Hi, quick question.

 

If I have stencil write enabled and I'm using clip() in the shader, will a pixel that gets clipped/discarded, still write to the stencil?

This is aimed at D3D11 and D3D12.

 

Cheers..


Viewing all articles
Browse latest Browse all 17560

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>