Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
Unterteilungsalgorithmen
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kai Westerkamp
Unterteilungsalgorithmen
Commits
0b31a5fa
Commit
0b31a5fa
authored
Sep 26, 2016
by
Philipp Adolf
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable tesselation shader
parent
b4325f2b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
subdivideRegular.tcs
QTProject/subdivideRegular.tcs
+1
-0
subdivideRegular.tes
QTProject/subdivideRegular.tes
+1
-1
No files found.
QTProject/subdivideRegular.tcs
View file @
0b31a5fa
...
...
@@ -14,6 +14,7 @@ void main()
tcPosition[gl_InvocationID] = vPosition[gl_InvocationID];
float tesselation = subdiv-depth;
tesselation = 0;
gl_TessLevelOuter[0] = exp2(tesselation);
gl_TessLevelOuter[1] = exp2(tesselation);
...
...
QTProject/subdivideRegular.tes
View file @
0b31a5fa
...
...
@@ -54,7 +54,7 @@ void main()
vec3 p11 = tcPosition[11];
vec3 newPos= a0*p0+a1*p1+a2*p2+a3*p3+a4*p4+a5*p5+a6*p6+a7*p7+a8*p8+a9*p9+a10*p10+a11*p11;
if (subdiv == 0) {
if (subdiv == 0
|| true
) {
newPos = u * p3 + v * p6 + w * p7;
}
vec4 pos = vec4(newPos, 1.0f);
...
...
Philipp Adolf
@philipp
mentioned in commit
540c3c44
Sep 27, 2016
mentioned in commit
540c3c44
mentioned in commit 540c3c443d36a08269b1525bb6703ae1ae2c841f
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment