Mercurial > repos > blastem
view shaders/default.v.glsl @ 504:7b0df1aaf384
Add support for left and right shift keys
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Thu, 31 Oct 2013 01:00:32 -0700 |
parents | 251fe7a75a14 |
children | b7b7a1cab44a |
line wrap: on
line source
#version 110 attribute vec2 pos; varying vec2 texcoord; void main() { gl_Position = vec4(pos, 0.0, 1.0); texcoord = sign(pos) * vec2(320.0/1024.0, 240.0/-512.0) + vec2(320.0/1024.0, 240.0/512.0); }