3dexperiments/assets/shaders/atmosphere.vs

13 lines
277 B
Plaintext
Raw Normal View History

2020-03-29 17:19:45 +00:00
precision mediump float;
attribute vec3 aVertexPosition;
attribute vec2 aTexCoords;
uniform mat4 uModelMatrix;
uniform mat4 uViewMatrix;
uniform mat4 uProjectionMatrix;
void main() {
gl_Position = uProjectionMatrix * uViewMatrix * uModelMatrix * vec4(aVertexPosition,1);
}