Stencil test stop working when geometry shader is used RRS feed

  • Question

  • I use stencil test to restrict rendering of graphics objects inside a region. The works when geometry shader is set to NULL. However when I set the geometry shader, the stencil test seems to stop working. All graphics objects (both inside and outside the region) are rendered as if the stencil test is disabled. Could someone kindly tell me what's wrong.
    Monday, January 7, 2013 3:53 PM

All replies

  • Hello,

    Would you please provide us the whole codes to reproduce this issue,

    You can upload your project to SkyDrive

    It is not necessary that you send out the whole of your project. We just need a simplest sample to reproduce the problem. You can remove any confidential information or business details from it.

    Best regards,

    Jesse Jiang
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Friday, January 11, 2013 7:05 AM