Mercurial > xcodescriptingbridge
view Shaders/Shader.vsh @ 4:fdcbf6da59ec
Added non-working Xcode 4 scripting bridge script as a reference.
author | Eric Wing <ewing@anscamobile.com> |
---|---|
date | Mon, 08 Aug 2011 19:16:12 -0700 |
parents | 5ec52341f221 |
children |
line wrap: on
line source
// // Shader.vsh // MySampleProject // // Created by Eric Wing on 7/29/11. // Copyright 2011 __MyCompanyName__. All rights reserved. // attribute vec4 position; attribute vec4 color; varying vec4 colorVarying; uniform float translate; void main() { gl_Position = position; gl_Position.y += sin(translate) / 2.0; colorVarying = color; }