Results 1 to 2 of 2

Thread: a question about the "Varying" storage qualifier

  1. #1
    Junior Member
    Join Date
    Sep 2007

    a question about the "Varying" storage qualifier


    About the "Varying" storage qualifier, the OpenGLES Shading Language specification section 4.3.5 says "If single-sampling, the interpolated values is for the fragment center. If multi-sampling, the interpolated value can be anywhere within the pixel, including the fragment center or one of the fargment samples."

    Can anybody explain what does the single sampling and multi-sampling mean here?



  2. #2
    Senior Member
    Join Date
    May 2006
    Multisampling anti-aliasing, a method to reduce aliasing artifacts by taking several samples per pixel and averaging them to get a final result.

    It can be enabled by creating an EGLsurface with an EGLconfig that has the attributes EGL_SAMPLE_BUFFERS = 1 and EGL_SAMPLES = n, where n is the number of samples you want per pixel. 2 and 4 would be typically supported values for n.
    Georg Kolling, Imagination Technologies
    Please ask questions specific to PowerVR hardware or SDKs on the PowerVR Insider Forum |

Similar Threads

  1. "required extension" and "core addition"
    By wycwang in forum OpenGL ES
    Replies: 2
    Last Post: 09-19-2007, 02:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Proudly hosted by Digital Ocean