| genre | VolRend |
| status | work-in-progress |
| authors | Stephan Palmer, Christian Rieder |
| package | MeVisLab/Standard |
| dll | SoGVR |
| definition | SoGVRShaderPipeline.def |
| see also | SoGVRVolumeRenderer, SoGVRShaderFunction, SoGVRShaderDiagnosis |
| keywords | GVR, shader, pipeline, include, header |
The SoGVRShaderInclude allows for adding of custom shader code in the header of the GVR shader pipeline.
Connect the module before the SoGVRVolumeRenderer module in the scene graph and implement the custom shader code to be included in the header. The included shader header can be used in a SoGVRShaderFunction. For that, the identifier string has to be declared in the parameter field of the SoGVRShaderFunction module with the keyword include.
Implement often used custom functionality using this module.
a node that should be put in front of the SoGVRVolumeRenderer
| Enabled: Bool |
| Header: String |
| Identifier: String |
| Insert At Top: Bool |
| Program Type: Enum |
Select the fragment or the vertex program.
Values:
| Title | Name |
|---|---|
| Fragment Program | Fragment Program |
| Vertex Program | Vertex Program |
The identifier string which has to be inserted in SoGVRShaderFunction parameters with keyword include.