Search Unity

Unity Dx 11 and OpenGL stencil buffer operations not working (answer in post)

Discussion in 'Shaders' started by brn, Jul 2, 2015.

  1. brn

    brn

    Joined:
    Feb 8, 2011
    Posts:
    320
    I just stumbled across this issue with Dx11 and OpenGL 16bit depth buffers not working with stencil operations. Just set it to 24bit where possible and its fine.

    hopefully this post has saved you some Google and debug time.