Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Pixel Shaders and Vertex Shaders. Where and When?

This topic is 6093 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

I understand what Pixel Shaders and Vertex Shaders are. I also understand why to use the PS and VS. But what I don''t understand is where in the game engine these powerful tools should be used? Is there a performance hit loading the program into the GPU? For instance you have separate PS programs and VS programs for several objects that are to rendered to the scene. Do I just load the programs onto the GPU before calling the code to render the objects? Just kinda curious about what some people are doing for this new technology. Thanks ahead of time!

Share this post

Link to post
Share on other sites
Take a look at the DX8/8.1 tutorials as to how to use them. Other than the initial load there is no other gpu hit associated in maintaing the shader.

But I will warn you there is a MASSIVE hit for pixel shaders as ever picel is processed by the shader, if you don''t have a Radeon 8500 or GeForce 3 card (hardware vertex/pixel shader support) you are going to suffer.

Here are a couple of links

Vertex Shaders

Pixel Shaders


Carpe Diem

Share this post

Link to post
Share on other sites

  • 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!