Commit 204aa23e authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum
Browse files

[FIX] syntax error in colormap shader. Fixed

parent 9390b827
......@@ -157,9 +157,6 @@ vec4 negative2positive( in float valueDescaled, in float minV, in float scaleV )
const vec3 negColor = vec3( 0.0, 1.0, 1.0 );
const vec3 posColor = vec3( 1.0, 1.0, 0.0 );
// pos-neg mix factor
float share = ( valueDescaled - mid ) / width;
float negShare = abs( valueDescaled / minV ) * ( 1.0 - step( 0.0, valueDescaled ) );
float posShare = abs( valueDescaled / ( minV + scaleV ) ) * step( 0.0, valueDescaled );
......
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