Last change
on this file since 12397 was
12115,
checked in by wiesep, 6 years ago
|
Changed folder structure, deletet some unused files and cleaned up code
|
File size:
366 bytes
|
Line | |
---|
1 | uniform mat4 worldViewProj; |
---|
2 | attribute vec4 vertex; |
---|
3 | attribute vec2 uv0; |
---|
4 | varying vec2 oUv0; |
---|
5 | varying vec2 oUv1; |
---|
6 | varying vec4 pos; |
---|
7 | |
---|
8 | void main() |
---|
9 | { |
---|
10 | // Use standardise transform, so work accord with render system specific (RS depth, requires texture flipping, etc) |
---|
11 | gl_Position = worldViewProj * vertex; |
---|
12 | |
---|
13 | oUv0 = uv0; |
---|
14 | oUv1 = -vertex.xy; |
---|
15 | pos = gl_Position; |
---|
16 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.