Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
OpenWalnut Core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
44
Issues
44
List
Boards
Labels
Service Desk
Milestones
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
f04bf412
Commit
f04bf412
authored
Sep 30, 2009
by
schurade
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[FIX] commited the wrong shader files before
parent
e140d2de
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
src/modules/navigationSlices/slice.fs
src/modules/navigationSlices/slice.fs
+6
-1
src/modules/navigationSlices/slice.vs
src/modules/navigationSlices/slice.vs
+2
-7
No files found.
src/modules/navigationSlices/slice.fs
View file @
f04bf412
varying
vec4
VaryingTexCoord0
;
uniform
sampler3D
tex0
;
void
main
()
{
gl_FragColor
=
VaryingTexCoord0
;
vec4
color
=
texture3D
(
tex0
,
VaryingTexCoord0
);
if
(
(
color
.
r
+
color
.
g
+
color
.
b
)
<
0
.
01
)
discard
;
gl_FragColor
=
color
;
}
src/modules/navigationSlices/slice.vs
View file @
f04bf412
varying
vec4
VaryingTexCoord0
;
uniform
sampler3D
tex0
;
void
main
()
{
vec4
color
=
texture3D
(
tex0
,
VaryingTexCoord0
);
if
(
(
color
.
r
+
color
.
g
+
color
.
b
)
<
0
.
01
)
discard
;
gl_FragColor
=
color
;
VaryingTexCoord0
=
gl_MultiTexCoord0
;
gl_Position
=
ftransform
();
}
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