|
Hi Kheng,
Not all shader examples will work- it is dependant on the shader version you are using. Check the documentation for the release of MotionBuilder you are using to see which version of CgFX shaders are supported.
Also, as MotionBuilder is an OpenGl application, DirectX shaders are not supported.
The support is also dependant on the card you are using, so if you are using CgFX shaders that are coded specifically to implement features in Nvidia hardware they will not work correctly on other hardware.
There is also some feedback below that I received a while ago on the specific CgFX shader profiles that are supported in MotionBuilder-
vp20, vp30, vp40: OpenGL NV_vertex_program
fp30, fp40: OpenGL NV_fragment_program
arbvp1: OpenGL ARB_vertex_program
fp20: NV_register_combiners and NV_texture_shader
if you need further support with coding the shaders you should probably contact Nvidia support directly at:-
Nvidia Support-
http://www.nvidia.com/page/support.html
The Nvidia developer Forums may also be worth checking to see if there are others discussing CgFX and MotionBuilder.
Nvidia Developer Forums-
http://developer.nvidia.com/forums/index.php
Regards,
Lee
|