Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/branches/Shader_HS18/programs/Example/GLSL150/StdQuad_Tex2_vp.glsl @ 12091

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

Reorganised shader programs

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