Along with the recent release of FX Composer 2.5 is a comprehensive update to the NVIDIA Shader Library. Almost every effect file has been updated and rewritten, and new shaders added.
Primary changes include:
- Support for DirectX 10's new Shader Model 4 and "technique10" format is provided for many HLSL effects.
- Vertex and pixel (fragment) functions have been re-written to explicitly pass "global" effect properties as formal parameters -- this makes it much simpler for developers to copy-and-paste shader code back and forth between the shader library and "real world" shaders in running games.
- Extra macros for support of DCC apps such as 3DSMax, XSI, and game 3D engines like Torque and OGRE have been provided to HLSL effects.
- Support has been added for object-space lighting -- a simple macro change is all that's required.
- Support for COLLADA shared-surface shadowing has been expanded.
- New shaders like "post_godrays" (pictured).
Posted on 07/18/2008