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
bdc373f0
Commit
bdc373f0
authored
Nov 30, 2010
by
Sebastian Eichelbaum
Browse files
[STYLE]
parent
3f8f883d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
src/modules/directVolumeRendering/shaders/WMDirectVolumeRendering-fragment.glsl
...meRendering/shaders/WMDirectVolumeRendering-fragment.glsl
+4
-5
No files found.
src/modules/directVolumeRendering/shaders/WMDirectVolumeRendering-fragment.glsl
View file @
bdc373f0
...
...
@@ -188,13 +188,12 @@ void main()
break
;
}
/*
// have we hit something which was classified not to be transparent?
// This is, visually, not needed but useful if volume rendere is used in conjunction with other geometry.
if ( isZero( dst.a ) )
{
discard;
}*/
//
if ( isZero( dst.a ) )
//
{
//
discard;
// }
// set final color
float
depth
=
gl_FragCoord
.
z
;
...
...
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