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

Downsampling a depth stencil buffer

$
0
0

Is it possible in DirectX 11 to downsample a depth stencil buffer, and then re-bind it again as a read-only depth stencil buffer ? I only managed to bind it as a shader resource view but I would like, if possible, to take advantage of early depth culling and the stencil buffer. The use case is volumetric effects, rendered at half resolution, although the question is relevant to lower res rendering in general.


Viewing all articles
Browse latest Browse all 17560


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