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 |
This file contains some method to be used when using SoVolumeMask node.
Definition in file vvizApplyMask_frag.h.
| 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.
| uniform int VVizGlobalDataDrawStyleId |