Commit 13e59c1b authored by Alexander Wiebel's avatar Alexander Wiebel
Browse files

[DOC #42] added more detailed comments

parent 3b1cb640
......@@ -51,8 +51,14 @@ void main()
{
vec4 col = gl_Color;
float widthHalf = u_parameterWidth / 2.0;
// Streamribbon
//if( col.r > u_parameterCenter + widthHalf || col.r < u_parameterCenter - widthHalf ) discard;
// Timeribbon
//if( col.g > u_parameterCenter + widthHalf || col.g < u_parameterCenter - widthHalf) discard;
// Slab
if( verpos.x > u_parameterCenter + widthHalf || verpos.x < u_parameterCenter - widthHalf ) discard;
// calculate lighting
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment