Original Post
Hello world, I've recently started writing an HLSL "Terrain Shader" using NVidia's FXComposer that blends up to 16 textures together. The code won't compile against ps_2_0, since that only allows using a maximum of 4 different textures. Compiling the code against ps_2_a or ps_2_b works fine. All information I have about Pixel Shader 2.0a and 2.0b is from this Wikipedia article and not practically tested, since I only have a SM 3.0 graphics card available for testing. Things I don't quite understand: - Pixel Shader 2.0b is said to have a "Dependent texture limit" of 4 like the original 2.0. Yet still FXComposer will compile my code accessing 16 different texture samplers using ps_2_b without any errors. Does this mean it will definitely work on a Radeon R420? - Does a card that supports ps_2_a also support ps_2_b? If not, should I simply create two techniques, compiling the same code against both ps_2_a and ps_2_b? Regards, Bastian [Edited by - transwarp on September 7, 2007 11:48:14 AM]