Using gl_TessLevelInner correctly?

Hi,

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

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

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

http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflat&Number=296725#Post296725

Sorry about posting to the wrong forum.