Category Archives: shaders

Bicubic Filtering in Fewer Taps

Author’s Note This post is based on the technique described in GPU Gems 2, chapter 20, Fast Third-Order Texture Filtering. While that’s certainly a good read, I found that the authors skipped over a lot of detail and optimized a … Read the rest of this entry

Filed in code, graphics, shaders | 11 Comments

cgConnectParameter Considered Harmful

Hooking up a large number of shared effect parameters to a single head parameter via cgConnectParameter is, apparently, not the intended use case. Doing so causes any cgSetParameter call on the head parameter to become orders of magnitude slower (though … Read the rest of this entry

Filed in code, shaders | Comment Now