Skip to main content
GameDev.net gamedev.net

PRO Tired of ads? Read GameDev.net ad-free and help keep the community independent with GameDev Pro — $3/month.

Let there be light

Let there be light

Mike Bossy
Mike Bossy
I am a duck · · 1 min read
1,447 0
I had some coding time tonight so I started to dive into adding some lighting to my fragment shader. So far everything is very hard coded but I was able to get some simple phong shading going without too much trouble.

I'm really starting to like the programmable pipeline and the way I feel more connected to the the data being pushed around. Obviously the whole point of moving away from fixed function was to give you more flexibility and more power but so far it also just seems more transparent to what is going on. As painful as it is to have a complete lack of debugging tools for shaders I find it actually easier to debug issues than in my old fixed DX days.

gallery_79488_71_45443.png

Discussion

Loading comments...