Last active
August 21, 2016 06:13
-
-
Save makoConstruct/534c655d52c90df5b9a8066a4d04698b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
precision mediump float; | |
attribute vec4 a_position; | |
attribute vec4 a_color; | |
attribute vec2 a_uv; | |
attribute vec2 a_angleUnit; | |
attribute float a_pixelSize; | |
attribute float a_innerRadius; | |
uniform mat4 u_projection; | |
varying vec4 color; | |
varying vec2 uv; | |
varying float pixelSize; | |
varying float innerRadius; | |
varying vec2 angleUnit; | |
void main(){ | |
gl_Position = u_projection*a_position; | |
uv = a_uv; | |
color = a_color; | |
pixelSize = a_pixelSize; | |
innerRadius = a_innerRadius; | |
angleUnit = a_angleUnit; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment