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
9ebd1676
Commit
9ebd1676
authored
Sep 27, 2016
by
Kai Westerkamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wireframe change
parent
92b2ed95
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
subdivide.frag
QTProject/subdivide.frag
+3
-3
No files found.
QTProject/subdivide.frag
View file @
9ebd1676
...
@@ -55,11 +55,11 @@ void amplify(float d, vec4 newColor, float scale){
...
@@ -55,11 +55,11 @@ void amplify(float d, vec4 newColor, float scale){
void
addWireframe
(){
void
addWireframe
(){
//Wireframe rendering
//Wireframe rendering
if
(
wireframe
==
true
){
if
(
wireframe
==
true
){
float
d2
=
min
(
gPatchDistance
.
x
,
min
(
gPatchDistance
.
y
,
gPatchDistance
.
z
));
amplify
(
d2
,
vec4
(
0
.
0
,
0
.
0
,
1
.
0
,
ALPHA
),
40
);
float
d
=
min
(
gTriDistance
.
x
,
min
(
gTriDistance
.
y
,
gTriDistance
.
z
));
float
d
=
min
(
gTriDistance
.
x
,
min
(
gTriDistance
.
y
,
gTriDistance
.
z
));
amplify
(
d
,
vec4
(
0
.
0
,
1
.
0
,
0
.
0
,
ALPHA
),
30
);
amplify
(
d
,
vec4
(
0
.
0
,
1
.
0
,
0
.
0
,
ALPHA
),
30
);
float
d2
=
min
(
gPatchDistance
.
x
,
min
(
gPatchDistance
.
y
,
gPatchDistance
.
z
));
amplify
(
d2
,
vec4
(
0
.
0
,
0
.
0
,
1
.
0
,
ALPHA
),
40
);
}
}
}
}
...
...
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