Commit 44466c5a authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum
Browse files

[CHANGE] negative2positive colormap clipped zeroes. This is not needed as...

[CHANGE] negative2positive colormap clipped zeroes. This is not needed as clipZero already does this.
parent 06f47a83
......@@ -150,7 +150,7 @@ vec4 negative2positive( in float valueDescaled, in float minV, in float scaleV )
// use neg color for shares < 0.0 and pos color for the others
return vec4( zeroColor - ( abs( clamp( share, -1.0 , 0.0 ) * negColor ) + ( clamp( share, 0.0 , 1.0 ) * posColor ) ),
clipIfValue( valueDescaled, mid ) ); // clip near mid-point
1.0 ); // clip zeros is done in colormapping function
}
/**
......
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