view shaders/default.v.glsl @ 497:0820a71b80f3

Move shader files to their own directory. Read shaders from /.config/blastem/shaders or from path_to_exe/shaders instead of the current working directory.
author Mike Pavone <pavone@retrodev.com>
date Mon, 28 Oct 2013 23:50:28 -0700
parents default.v.glsl@32f053ad9b02
children 251fe7a75a14
line wrap: on
line source

#version 110

attribute vec2 pos;
varying vec2 texcoord;

void main()
{
	gl_Position = vec4(pos, 0.0, 1.0);
	texcoord = pos * vec2(320.0/1024.0, 240.0/-512.0) + vec2(320.0/1024.0, 240.0/512.0);
}