Beginnings of diffuse + ambient shader tutorial up...
Written by
on
in
Snaking.
Doing a bit more on the shader tutorial stuff. Up now is the first crack of the diffuse+ambient (with directional light) introduction. Very much a fast bash-out, but whatever :) .
Comments
Comments are closed.
Pingbacks
Pingbacks are closed.
Richard Jones on 07/28/2009 7:16 p.m. #
Great stuff. I remember coding the lighting example shader from the OpenGL book (IIRC) and applying it to the pyglet torus example. It looked very pretty. But then lost the code :(
Mike C. Fletcher on 07/30/2009 9:37 a.m. #
Can't say I've hit the "pretty" point in the tutorials yet. It's somewhat slow going when you are trying to avoid the legacy APIs, I punted on the blinn/phong shader tutorial and just used the Sphere node in OpenGLContext to generate the VBOs... way too much incidental code for a tutorial, but I really wanted something that would show the highlight reasonably well.