Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/branches/Shader_HS18/programs/Example/GLSLES/StdQuad_Tex2a_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: 429 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;
11varying vec4 pos;
12
13void main()
14{
15        // Use standardise transform, so work accord with render system specific (RS depth, requires texture flipping, etc)
16    gl_Position = worldViewProj * vertex;
17
18    oUv0 = uv0;
19    oUv1 = -vertex.xy;
20    pos = gl_Position;
21}
Note: See TracBrowser for help on using the repository browser.