摘要: 1.uniform变量uniform变量是外部application程序传递给(vertex和fragment)shader的变量。因此它是application通过函数glUniform**()函数赋值的。在(vertex和fragment)shader程序内部,uniform变量就像是C语言里面... 阅读全文
posted @ 2014-10-27 16:05 haroel 阅读(1997) 评论(0) 推荐(0) 编辑