点光源模型
摘要:
关于更多点光源模型请参考google.参考:http://www.lighthouse3d.com/tutorials/glsl-tutorial/point-light-per-pixel/例子源代码:http://download.csdn.net/detail/netrookie/4311707glsl vertex shaderstruct MaterialParameters { vec4 emission; vec4 ambient; vec4 diffuse; vec4 specular; float shininess;};struct LightSourc... 阅读全文