Scene Kit Session WWDC 2013/Resources/Shaders/NodeDelegate.fsh
varying vec2 v_angleAndLife; |
void main(void) { |
float alpha = pow(v_angleAndLife.x, 1.5); |
gl_FragColor = vec4(1.0, 1.0, 1.0, alpha); |
} |
Copyright © 2014 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2014-01-07