Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/data_extern/programs/GLSL120/StdQuad_Tex3_vp.glsl @ 12202

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

Changed folder structure, deletet some unused files and cleaned up code

File size: 426 bytes
Line 
1uniform mat4 worldViewProj;
2attribute vec4 vertex;
3attribute vec2 uv0;
4varying vec2 oUv0;
5varying vec2 oUv1;
6varying vec2 oUv2;
7varying vec4 pos;
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    oUv2 = oUv0;
18    pos = gl_Position;
19}
Note: See TracBrowser for help on using the repository browser.