Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I am looking for some literature about pixel shaders algorithms or how would you call it.
It's for 2d top down space shooter kind of game.

I was thinking effects like halos, slow time, trails, fast speed feeling..

I'm not looking for a guide how to code in Pixel Bender but for something that will teach me how to move pixels around to get expected effect.

share|improve this question
    
-1 because I can't figure out what you're asking. You want "literate, algorithms, etc." for Pixel Bender but not something about coding Pixel Bender, which is how you'd achieve those effects? –  user744 Dec 5 '10 at 19:19
    
If you don't know what I'm asking then please don't answer. I'm looking for literature for making shaders. I mentioned Pixel Bender to make it clear I do not use openGL, direct3d or any other similar soft. Just because one can write code doesn't mean he know how to write game. Shaders are mostly about math and simple ifs. I can do ifs, I'm looking for math. –  Antriel Dec 5 '10 at 19:32
    
I don't know what you're asking because you expressed yourself poorly, not because I'm unfamiliar with the technology involved. What are you actually looking for? Examples of shader programs written for Pixel Bender? –  user744 Dec 5 '10 at 20:10
    
Algorithms or generally literature explaining me what to do with pixels to get effect I need such as halo around objects, slowmotion feeling, etc. Everything I found until now was meant for 3d stuff with openGl or something. Nothing for 2d. –  Antriel Dec 5 '10 at 20:19
3  
This question is too vague; either the correct answer is the Pixel Bender site, or gamedev.stackexchange.com/questions/1673/…, or gamedev.stackexchange.com/questions/2419/…, or ask a specific question ("I have X in Flash, how can I add a halo?") –  user744 Dec 5 '10 at 20:29

1 Answer 1

If you want to go for the basics with examples, then I guess this is where I would start:

Also there is a ton of other books considering shaders (with examples):

You could also take a look at: Modern Shader Book?

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.