Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/branches/Shader_HS18/programs/GLSL120/StdQuad_Tex2_vp.glsl @ 12412

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

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

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