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.

  • \$\begingroup\$ -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? \$\endgroup\$ – user744 Dec 5 '10 at 19:19
  • \$\begingroup\$ 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. \$\endgroup\$ – Antriel Dec 5 '10 at 19:32
  • \$\begingroup\$ 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? \$\endgroup\$ – user744 Dec 5 '10 at 20:10
  • \$\begingroup\$ 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. \$\endgroup\$ – Antriel Dec 5 '10 at 20:19
  • 3
    \$\begingroup\$ 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?") \$\endgroup\$ – user744 Dec 5 '10 at 20:29

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?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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