Results 1 to 2 of 2

Thread: Using gl_TessLevelInner correctly?

  1. #1
    Senior Member Regular Contributor
    Join Date
    Jul 2010
    Posts
    140

    Using gl_TessLevelInner correctly?

    Hi,

    I want to tessellate my patch so that I have the following tessellation:

    Code :
    x----x----x
    |   /|   /|
    |  / |  / |
    | /  | /  |
    |/   |/   |
    x----x----x

    I tried with

    gl_TessLevelOuter[0] = gl_TessLevelOuter[2] = 1; // left and right edges
    gl_TessLevelOuter[1] = gl_TessLevelOuter[3] = 2; // upper and lower edges

    No matter what I do with gl_TessLevelInner[0] and [1], I can't get it right.

    Any idea?

    Thanks,
    Fred

  2. #2
    Senior Member Regular Contributor
    Join Date
    Jul 2010
    Posts
    140

    Re: Using gl_TessLevelInner correctly?

    Question posted to the GLSL forum - please go there if you want to reply

    http://www.opengl.org/discussion_boa...725#Post296725

    Sorry about posting to the wrong forum.

Similar Threads

  1. how to use clGetGLContextInfoKHR correctly?
    By OmegaDoom in forum OpenCL
    Replies: 6
    Last Post: 11-22-2018, 03:17 AM
  2. Replies: 3
    Last Post: 05-23-2015, 10:16 AM
  3. How to correctly resize VBO
    By Cornix in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 09-24-2013, 07:38 AM
  4. Cannot correctly render sky box
    By shapeare in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 03-21-2012, 08:43 AM
  5. How do I use Shaders correctly?
    By Limas in forum OpenGL: GLSL
    Replies: 5
    Last Post: 03-08-2011, 12:02 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