Scene Kit Session WWDC 2014/Resources/Shaders/NodeDelegate.vsh
attribute vec4 a_position; |
attribute vec2 a_angleAndLife; |
uniform mat4 u_mvp; |
varying vec2 v_angleAndLife; |
void main() { |
gl_Position = u_mvp * a_position; |
v_angleAndLife = a_angleAndLife; |
} |
Copyright © 2014 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2014-10-16