r/gamedev • • Jul 13 '11

HLSL 2D Basic Pixel Shader Tutorial

http://blog.josack.com/my-first-pixel-shaders
42 Upvotes

11 comments sorted by

View all comments

1

u/madsravn Jul 13 '11

I'm a OpenGL guy myself, but I really liked this article. Well written and he had taken the time to add the needed code and graphics.

2

u/[deleted] Jul 13 '11

XNA shaders look a lot easer to setup than HLSL ones, that's for sure.

3

u/TheCommieDuck Achieving absolutely nothing of use Jul 13 '11

XNA uses HLSL shaders. it's just a higher level wrapper around (managed) DirectX.

1

u/gmjosack Jul 13 '11

As TheCommieDuck mentioned these are HLSL. Specifically they look really easy compared to 3D shaders just because there is less up front to swallow.

3

u/[deleted] Jul 13 '11

durr, i meant GLSL. Morning coffee hadn't kicked in yet.

I'm not saying GLSL is hard, it's the setup involved.