Init
This commit is contained in:
16
assets/shaders/circleVertex.glsl
Normal file
16
assets/shaders/circleVertex.glsl
Normal file
@@ -0,0 +1,16 @@
|
||||
#version 330 core
|
||||
//precision highp float;
|
||||
|
||||
layout (location = 0) in vec4 aPos;
|
||||
layout (location = 1) in vec2 value;
|
||||
|
||||
uniform mat4 transform;
|
||||
uniform mat4 proj;
|
||||
uniform mat4 view;
|
||||
|
||||
varying vec2 val;
|
||||
|
||||
void main() {
|
||||
gl_Position = proj*view*transform* aPos;
|
||||
val = value;
|
||||
}
|
||||
Reference in New Issue
Block a user