初次提交
This commit is contained in:
6
第15章 真实光学环境的模拟/Sample15_9/assets/vertex.sh
Normal file
6
第15章 真实光学环境的模拟/Sample15_9/assets/vertex.sh
Normal file
@@ -0,0 +1,6 @@
|
||||
uniform mat4 uMVPMatrix; //总变换矩阵
|
||||
attribute vec3 aPosition; //顶点位置
|
||||
void main()
|
||||
{
|
||||
gl_Position = uMVPMatrix * vec4(aPosition,1.0); //根据总变换矩阵计算此次绘制此顶点位置
|
||||
}
|
||||
Reference in New Issue
Block a user