摘要:
【Uniform & Attribute & Varying】 顶点着色器的输入变量用关键字“attribute”来限定。 片段着色器的输入变量(它和顶点着色器的输出变量相对应)用关键字"varying"来限定。 uniform指定这个值从应用程序传递给着色器,并在一个特定的图元中保持为常量值... 阅读全文
posted @ 2014-07-29 19:40
Tekkaman
阅读(345)
评论(0)
推荐(0)
摘要:
【Vertex and fragment programs】 When you use vertex and fragment programs (the so called "programmable pipeline"), most of the hardcoded functionality... 阅读全文
posted @ 2014-07-29 10:32
Tekkaman
阅读(923)
评论(0)
推荐(0)
浙公网安备 33010602011771号