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
  • #30797

    I saw Gordon’s reply to this post:, (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?



    Hi doctor_fransk,

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


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