This file contains method use to output a color on the screen. More...
Go to the source code of this file.
Functions | |
void | VVizOutputColor (vec4 color) |
void | VVizOutputColor (vec4 color, float firstHitBoundary, vec4 colorUntilBoundary, vec4 nprData, vec4 lightProjVertex) |
This file contains method use to output a color on the screen.
Definition in file vvizOutputColor_frag.h.
void VVizOutputColor | ( | vec4 | color, | |
float | firstHitBoundary, | |||
vec4 | colorUntilBoundary, | |||
vec4 | nprData, | |||
vec4 | lightProjVertex | |||
) |
void VVizOutputColor | ( | vec4 | color | ) |
This function sends the final fragment color to OpenGL.
It should be used instead of directly setting gl_FragData[0], in order to allow VolumeViz to do final manipulation of the color.
Should be used at the end of FRAGMENT_MAIN shader only.
color | the color to render. |