Commit fb8f49ba authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum
Browse files

[DOC] added some doc about the clip variables in the colormapping code

parent 1e7e645a
......@@ -479,6 +479,9 @@ vec4 colormap( in vec4 value, float minV, float scaleV,
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Do clippings
//
// It is important to note that the clip values actually define the pixels alpha value. This means a clip value of 1 means
// the pixel is not clipped. A clip value of 0 means it gets fully transparent (=clipped in this context).
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// is this a border pixel marked by a 0 alpha value?
......
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