VolumeViz/vvizApplyMask_frag.h File Reference

This file contains some method to be used when using SoVolumeMask node. More...

Go to the source code of this file.

Functions

vec4 VVizApplyBoundary (vec4 fragColor, int maskFront, int maskBack, VVizVoxelInfo voxelFront, VVizVoxelInfo voxelBack)
vec4 VVizApplyBoundary (vec4 fragColor, int maskFront, VVizVoxelInfo voxelFront, VVizVoxelInfo voxelBack)

Variables

uniform int VVizGlobalDataDrawStyleId

Detailed Description

This file contains some method to be used when using SoVolumeMask node.

Definition in file vvizApplyMask_frag.h.


Function Documentation

vec4 VVizApplyBoundary ( vec4  fragColor,
int  maskFront,
VVizVoxelInfo  voxelFront,
VVizVoxelInfo  voxelBack 
)

This method is used to apply a volume mask to the volume and should be called in a custom fragment shader in order to support the SoVolumeMask node.

vec4 VVizApplyBoundary ( vec4  fragColor,
int  maskFront,
int  maskBack,
VVizVoxelInfo  voxelFront,
VVizVoxelInfo  voxelBack 
)

This method is used to apply a volume mask to the volume and should be called in a custom fragment shader in order to support the SoVolumeMask node.


Variable Documentation


Open Inventor by FEI reference manual, generated on 19 Aug 2019
Copyright © FEI S.A.S. All rights reserved.
http://www.openinventor.com/