Jump to content
  • Advertisement
Sign in to follow this  
Boldt

Fixed Function pipeline in effect files

This topic is 4811 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Can somebody help me with link to examples or something similar that shows how the fixed function pipeline are utilized through effect files in directx 9.0. I have been trying google, but can't really find anything appropriate. Best Regards Niels

Share this post


Link to post
Share on other sites
Advertisement
Im not so switched on with effect files and i probably am wrong, but my reckoning is that effect files are used for shaders which is the programmable pipeline, not the fixed one.

ace

Share this post


Link to post
Share on other sites
It is fully in parallel to the code you would write in C++ or VB, but instead of calling SetRenderState( RS, VAL ) you write (in the technique specification) RS = VAL. All without the 'D3D' and such prefixes. This is described in the DX SDK documentation. See the FX files that come with the SDK and its EffectEdit sample.

Greetz,

Illco

@ACE: yes; effect files wrap around vertex shaders, pixel shaders as well as fixed-function pipeline settings. This allows you to set up the looks of an object in all sense in a separate technique or file.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!