Is gl_FragData supported on any SGXs

This topic contains 1 reply, has 2 voices, and was last updated by  marco 5 years, 8 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #30797

    I saw Gordon’s reply to this post: https://www.imgtec.com/forum/forum_posts.asp?TID=449&KW=gl%5FFragData&PID=2466#2466, (that the stencil buffer cannot be used for arbitrary values) but it’s not clear if the stencil buffer can be used straight-up from a fragment shader via gl_FragData (to read/write reference values that you’d otherwise send through glStencilFunc). Anyone know?

     
     
    #35651

    marco
    Member

    Hi doctor_fransk,

    there is no facility in OGLES2 to read or write stencil values in the fragment shader.

    Regards,
    Marco

Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.