Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/branches/Shader_HS18/programs/Example/GLSLES/StdQuad_Tex2_vp.glsles @ 12091

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

Updated programs and adjusted Material to work with GLSL>150

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