Sign in to follow this  
squirrelman3000

What are shaders for?

Recommended Posts

I understand what a shader is and how (in general) to write one, but I'm darned if I can see the point. I read that they can be used to, for instance, replace th phong shading mode, but how many times would you want this? I guess I'm asking for common applications. Thanks!

Share this post


Link to post
Share on other sites
Quote:
Original post by squirrelman3000
I understand what a shader is and how (in general) to write one, but I'm darned if I can see the point. I read that they can be used to, for instance, replace th phong shading mode, but how many times would you want this?


They can be used for much more than just implementing the Phong shading model (which cannot be implemented using the FFP). All sorts of rendering techniques require the programmability of vertex/fragment shaders, such as normal mapping, parallax mapping, good atmospheric scattering effects, and much more.

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