Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #version 430
- uniform var4 {
- float v4;
- };
- uniform var2 {
- float v2;
- };
- uniform var5 {
- float v5;
- };
- uniform var1 {
- float v1;
- };
- uniform var3 {
- float v3;
- };
- uniform mat4 CameraMatrix;
- uniform mat4 ProjectionMatrix;
- uniform mat4 ModelMatrix;
- layout(location = 0) in vec3 vertex;
- void main()
- {
- gl_Position = ProjectionMatrix * CameraMatrix * ModelMatrix * vec4(vertex, 1.0) * (v1+v2+v3+v4+v5);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement