| 1 |
{ -*- buffer-read-only: t -*- } |
| 2 |
{ DON'T EDIT -- this file was automatically generated from "source/screen_effect.vs" } |
| 3 |
'/* Simple GLSL shader to apply 2D screen quad.' + LineEnding + |
| 4 |
' Must be suitable also for GLES20, so don''t use any deprecated gl_Xxx' + LineEnding + |
| 5 |
' variables. */' + LineEnding + |
| 6 |
'' + LineEnding + |
| 7 |
'attribute vec2 vertex; // must be already in clip coordinates, -1..1' + LineEnding + |
| 8 |
'attribute vec2 tex_coord;' + LineEnding + |
| 9 |
'varying vec2 screenf_01_position;' + LineEnding + |
| 10 |
'' + LineEnding + |
| 11 |
'void main(void)' + LineEnding + |
| 12 |
'{' + LineEnding + |
| 13 |
' gl_Position = vec4(vertex, 0.0, 1.0);' + LineEnding + |
| 14 |
' screenf_01_position = tex_coord;' + LineEnding + |
| 15 |
'}' + LineEnding + |
| 16 |
'' |