Jump to content
  • Advertisement
  • entries
    422
  • comments
    1540
  • views
    490094

Part 5: Learning the Programmable Pipeline

Sign in to follow this  
jollyjeffers

99 views

Right, this'll probably have to be a fairly quick entry - partly because I don't have much to say, and partly because I'm a bit busy sorting other stuff out [smile]

I'm still reading through my book on shaders, and I'm starting to get some good ideas. I've now finished Part II: Lighting Algorithms.

I like the way the book has been going in this section - lighting can be expressed as the diffuse equation quite easily, but simulating the full diffuse equation can get a bit tricky when you're dealing with realtime graphics.

Part 2 of the book builds up vertex/pixel shaders through the various stages of the lighting equation. Firstly simple ambient lighting, then diffuse, then specular, bump mapping and self-shadowing. It's quite easy to understand both the theory and the implementation when it's build up piece-by-piece.

The bit I found interesting was the stuff for simulating the different light types (point, directional, spot). Some mention was made of doing 4 lights per pass, but I am curious to try some implementations for getting more lights working. That does, currently, strike me as one downside of shaders - a lot of fairly simple things seem to break down into (potentially) lots of passes.

In other news, thanks to Evolutional, I should have some webspace setup sometime soon. He passed on the details of some very reasonably priced hosting/forwarding that I went with - we'll see how that works out - might put a bigger/better version of my F1 car video [grin]
Sign in to follow this  


0 Comments


Recommended Comments

There are no comments to display.

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