CSE380/hw3/dist/hw3_assets/shaders/linear_gradient_circle.vshader

11 lines
163 B
Plaintext
Raw Normal View History

2022-05-23 06:00:37 -04:00
attribute vec4 a_Position;
uniform mat4 u_Transform;
varying vec4 v_Position;
void main(){
gl_Position = u_Transform * a_Position;
v_Position = a_Position;
}