摘要:
GLSL TutorialDirectional Light per Pixel In this section we'll modify the previous shaders to compute the directional light per pixel. Basically we're going to split the work between the two shaders, ... 阅读全文
posted @ 2009-08-11 23:05
lizhengjin
阅读(614)
评论(0)
推荐(0)
摘要:
GLSL TutorialOpenGL Directional Lights II Time for the specular component of the OpenGL directional light. The lighting model used is the Blinn-Phong model, which is a simplification of the Phong mode... 阅读全文
posted @ 2009-08-11 22:35
lizhengjin
阅读(1588)
评论(0)
推荐(1)
摘要:
GLSL TutorialOpenGL Directional Lights I The equations in here are from the chapter "The Mathematics of Lighting" from the book "OpenGL Programming Guide", aka the Red Book. //本教程来自opengl红宝书We'll star... 阅读全文
posted @ 2009-08-11 19:33
lizhengjin
阅读(745)
评论(0)
推荐(0)
浙公网安备 33010602011771号