Pass FX Composer 2 extension
Jump to navigation
Jump to search
| Extension information |
|---|
|
| This article is part of the COLLADA extensions directory |
| Adding to the extensions directory |
ColladaFX Enabling/Disabling Shader Passes
FXComposer 2.0 added an extra at the pass level to enable or disable passes.
See example below.
Example
<pass sid="p0">
<annotate name="Script">
<string>Draw=geometry;</string>
</annotate>
<depth_test_enable value="true"/>
<depth_mask/>
<cull_face_enable/>
<depth_func value="LEQUAL"/>
<shader stage="VERTEX">
[…]
</shader>
<shader stage="FRAGMENT">
[…]
</shader>
<extra type="passenable">
<technique profile="NVIDIA_FXCOMPOSER">
<true/>
</technique>
</extra>
</pass>