Commit 8298651c by Philipp Adolf

Change tesselation factors

Pawel used outer = 6 and inner = 10 in his program, this uses those values for the first subdivision level and scales linearly
parent 9d9e4300
...@@ -13,10 +13,10 @@ void main() ...@@ -13,10 +13,10 @@ void main()
float tesselation = subdiv+1; float tesselation = subdiv+1;
gl_TessLevelOuter[0] = tesselation; gl_TessLevelOuter[0] = 3 * tesselation;
gl_TessLevelOuter[1] = tesselation; gl_TessLevelOuter[1] = 3 * tesselation;
gl_TessLevelOuter[2] = tesselation; gl_TessLevelOuter[2] = 3 * tesselation;
gl_TessLevelInner[0] = tesselation; gl_TessLevelInner[0] = 5 * tesselation;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment