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 | |
---|---|
File size: 358 bytes |
Line | |
---|---|
1 | #version 150 |
2 | |
3 | uniform mat4 worldViewProj; |
4 | in vec4 vertex; |
5 | in vec2 uv0; |
6 | out vec2 oUv0; |
7 | out vec2 oUv1; |
8 | |
9 | void 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.