Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
b7959e1d
Commit
b7959e1d
authored
Oct 10, 2009
by
Mario Hlawitschka
Browse files
[FIX] fixed shader
parent
87be91ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/modules/navigationSlices/slice.fs
src/modules/navigationSlices/slice.fs
+1
-1
No files found.
src/modules/navigationSlices/slice.fs
View file @
b7959e1d
...
...
@@ -4,7 +4,7 @@ uniform sampler3D tex0;
void
main
()
{
vec4
color
=
texture3D
(
tex0
,
VaryingTexCoord0
);
vec4
color
=
texture3D
(
tex0
,
VaryingTexCoord0
.
xyz
);
if
(
(
color
.
r
+
color
.
g
+
color
.
b
)
<
0
.
01
)
discard
;
gl_FragColor
=
color
;
...
...
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