Sign in to follow this  
ZeroSum

Learning shaders with an older card?

Recommended Posts

I would like to start delving into shaders but currently I only have an ATI 9250 (PS 1.4, VS 1.1) and it will be a few months before I can upgrade. So far everything I've written has used the fixed function pipeline, I would like to start learning more about lighting and shadows and implementing them myself. However I have a few questions. Would it be a bad idea to start learning shaders with such an old card? Would I pick up any bad habits or would it just be a waste of time?. IIRC I would have to use asm shaders instead of GLSL? I have no problem with using asm if I have to as I would still be able to learn how to do things. If I do have to use asm could anyone recomend a reference or tutorial? Everything I've read so far deals with GLSL. Thanks for reading.

Share this post


Link to post
Share on other sites
Quote:
Would it be a bad idea to start learning shaders with such an old card? Would I pick up any bad habits or would it just be a waste of time?

You can play a bit with PS 1.4. You are doomed do assembler shaders, but it's a good opportunity to learn some older techniques as well as assembly shader language. For vertex shaders, you can still use high level tools.

Quote:
IIRC I would have to use asm shaders instead of GLSL?

Yes, but not quite. In OpenGL PS 1.4 is available through a bit strange ATI extension, which doesn't parse shaders, but require tons of function calls similar to setting texture stages. These function calls correspond almost completely to Direct3D pixel shader 1.4, but writing shaders as function calls probably won't be fun and you'll probably have to make some kind of parser and wrapper for it.

Quote:
If I do have to use asm could anyone recomend a reference or tutorial?

DirectX SDK is a good reference for pixel shader 1.4 assembly code and for the ATI extension you can find its specification on opengl.org.

Share this post


Link to post
Share on other sites
I don't want to be to rude, but for $40 you can get a Gfx card that is DX10 compliant and will allow you to play with GLSL and the newest features. Is $40 to much?

That price includes 8400, 2600, videocards.

Share this post


Link to post
Share on other sites
Quote:
Original post by MARS_999
I don't want to be to rude, but for $40 you can get a Gfx card that is DX10 compliant and will allow you to play with GLSL and the newest features. Is $40 to much?

That price includes 8400, 2600, videocards.


I'm pretty sure he needs to find a AGP card. An older Gf 6600 AGP 8X would be better.

Share this post


Link to post
Share on other sites
Thanks for the info so far.

My usual computer died so at the moment I'm stuck with a crappy Dell with no AGP slot, hence the 9250 PCI. I start a new job soon so I'm waiting until I have enough to buy a complete new set of parts (PCI-E, Core2Duo etc.)

I few more questions then I should be set :)

Would I need a certain version of the DX SDK for the asm examples or would the most recent do? Could someone point me where to look for the ATI extension on the opengl site? I always get lost there :/

Thanks again.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this