root/OpenSceneGraph-Data/trunk/osgWidget/osgwidgetshader-vert.glsl

Revision 8587 (checked in by robert, 6 months ago)

Added Data for osgWidget examples

Line 
1 // osgWidget/GLSL - Copyright (C) 2007 Jeremy Moles
2 // $Id: osgwidgetshader-vert.glsl 28 2008-03-26 15:26:48Z cubicool $
3
4 // TODO: If I want do picking properly I need to transform the mouse coordinates
5 // by the matrix of the WindowManger.
6
7 varying vec4 color;
8
9 void main() {
10         color = gl_Color;
11
12         gl_Position = ftransform();
13 }
Note: See TracBrowser for help on using the browser.