这里提供一种使用GLSL shader实现更多数量的局部光照。 在GLSL里,首先建立光照参数数据结构 ... inout vec4 amb, inout vec4 diff, inout vec4 spec)
確定! 回上一頁