Hi,
i would like to use stencil buffer for two different things, so that first 4 bytes will encode one value and second 4 bytes different value.
I can do this by StencilWriteMask and StencilReadMask , but my issue is that one value will not change during frame, but second will change multiple times, so i need to clear this value multiple times per frame.
When i call ClearDepthStencilView with StencilWriteMask will it only affect chosen values ? Or i need to perform "clean" manually with full screen quad ?