Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/branches/Shader_HS18/programs/Example/GLSL150/StdQuad_Tex2a_vp.glsl @ 12083

Last change on this file since 12083 was 12083, checked in by wiesep, 6 years ago

Reorganised shader programs

File size: 372 bytes
Line 
1#version 150
2
3uniform mat4 worldViewProj;
4in vec4 vertex;
5in vec2 uv0;
6out vec2 oUv0;
7out vec2 oUv1;
8out vec4 pos;
9
10void main()
11{
12        // Use standardise transform, so work accord with render system specific (RS depth, requires texture flipping, etc)
13    gl_Position = worldViewProj * vertex;
14
15    oUv0 = uv0;
16    oUv1 = -vertex.xy;
17    pos = gl_Position;
18}
Note: See TracBrowser for help on using the repository browser.