Advertisement

DirectX: ShadowMap becomes empty if 'discard' is used in shadow pass

Started by May 12, 2020 04:25 PM
11 comments, last by Calin 4 years, 8 months ago

Lol, I haven't come so far to even use compute shader so good luck xD.

Btw for anyone following this, Setting Pixel Shader to nullptr apparently gives me the value I want, which I mean it renders to depth stencil.

Looks like discard also discards depth value too for some reason. Still gonna keep research this as I still want Pixel shader (for the drivers sake. Damit!).

sorry posted by mistake in the wrong thread

My project`s facebook page is “DreamLand Page”

This topic is closed to new replies.

Advertisement