Pass FX Composer 2 extension: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
extensions->extension |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{ | {{extension|company=NVIDIA|product=FX Composer 2}} | ||
== ColladaFX Enabling/Disabling Shader Passes == | == ColladaFX Enabling/Disabling Shader Passes == | ||
Line 22: | Line 22: | ||
</shader> | </shader> | ||
<extra type="passenable"> | <extra type="passenable"> | ||
<technique profile=" | <technique profile="NVIDIA_FXCOMPOSER"> | ||
<true/> | <true/> | ||
</technique> | </technique> | ||
</extra> | </extra> | ||
</pass> | </pass> |
Latest revision as of 05:00, 23 February 2009
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>