Results 1 to 2 of 2

Thread: glClear with glScissor

  1. #1
    Junior Member Newbie
    Join Date
    Dec 2005
    Location
    Israel
    Posts
    20

    glClear with glScissor

    Is glClear oprates only in the sccisor window? Where can I find reference to this?

  2. #2
    Senior Member Frequent Contributor
    Join Date
    May 2005
    Location
    Prague, Czech Republic
    Posts
    913

    Re: glClear with glScissor

    Yes, clear operates only within scissored area.
    Reference can be found in OpenGL specification, chapter "Clearing the Buffers":

    "When Clear is called, the only per-fragment operations that are applied (if enabled) are the pixel ownership test, the scissor test, and dithering. The masking operations described in the last section (4.2.2) are also effective."

Similar Threads

  1. glScissor() and gluOrtho2D()
    By Veric in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 11-14-2009, 07:42 AM
  2. glScissor + glClear(depth|stencil) + render to shadow buffer == broken
    By JelloFish in forum OpenGL: Advanced Coding
    Replies: 4
    Last Post: 11-18-2002, 01:02 PM
  3. oposite of glScissor
    By elimin8tor in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 02-13-2002, 05:36 PM
  4. glScissor - rectangles
    By holy_moly in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 03-27-2000, 10:32 PM
  5. glScissor
    By holy_moly in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 03-23-2000, 09:04 AM

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