SoShaderPipelineDiagnosis

InventorModule
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll SoShaderPipeline
definition SoShaderPipeline.def

Purpose

The SoShaderPipelineDiagnosis module allows to debug a given SoShaderPipeline shader. Place it in front of a SoShaderPipeline to see the generated shaders and the available includes/uniforms etc.

Parameter Fields

Visible Fields

Enabled

name: enabled, type: Bool, default: TRUE

Enables the diagnosis.

Render Pass

name: renderPass, type: Enum, default: MAIN_PASS

Selects the render pass for which the shader is displayed. For normal uses, the main pass it the right choice.

Values:

Title Name Description
Main Pass MAIN_PASS Main rendering pass.
Shadow Pass SHADOW_PASS Special rendering pass for shadow mapping. Lighting is turned off and typically only depth is written. This pass typically adds a special depth bias to avoid shadow aliasing.
Depth Only Pass DEPTH_ONLY_PASS A special depth only pass. Lighting is turned off.
Depth Peel Pass DEPTH_PEEL_PASS  
Deferred Gbuffer Pass DEFERRED_GBUFFER_PASS  
Deferred Lighting Pass DEFERRED_LIGHTING_PASS  

Hidden Fields

fragmentShaderError

name: fragmentShaderError, type: Bool, persistent: no

vertexShaderError

name: vertexShaderError, type: Bool, persistent: no

geometryShaderError

name: geometryShaderError, type: Bool, persistent: no

programLinkError

name: programLinkError, type: Bool, persistent: no

fetchActiveUniformValues

name: fetchActiveUniformValues, type: Bool, default: FALSE

userFragmentShader

name: userFragmentShader, type: String

userVertexShader

name: userVertexShader, type: String

availableUniformNames

name: availableUniformNames, type: String, persistent: no

availableVaryingNames

name: availableVaryingNames, type: String, persistent: no

availableIncludeNames

name: availableIncludeNames, type: String, persistent: no

availableVertexShaderStateMembers

name: availableVertexShaderStateMembers, type: String, persistent: no

availableFragmentShaderStateMembers

name: availableFragmentShaderStateMembers, type: String, persistent: no

availableUniformSizes

name: availableUniformSizes, type: String, persistent: no

availableUniformTypes

name: availableUniformTypes, type: String, persistent: no

availableVaryingTypes

name: availableVaryingTypes, type: String, persistent: no

availableVertexShaderStateMemberTypes

name: availableVertexShaderStateMemberTypes, type: String, persistent: no

availableFragmentShaderStateMemberTypes

name: availableFragmentShaderStateMemberTypes, type: String, persistent: no

availableIncludes

name: availableIncludes, type: String, persistent: no

availableFragmentShaderSteps

name: availableFragmentShaderSteps, type: String, persistent: no

availableVertexShaderSteps

name: availableVertexShaderSteps, type: String, persistent: no