pak6-patch088/glsl/Reflect_vp.glsl
raw| 1 | |
| 2 | varying vec2 texture_coordinate; |
| 3 | varying vec2 texture_coordinate2; |
| 4 | varying vec2 texture_coordinate3; |
| 5 | varying vec2 texture_coordinate4; |
| 6 | varying vec2 texture_coordinate5; |
| 7 | varying float scale; |
| 8 | void main() |
| 9 | { |
| 10 | scale=0.7; |
| 11 | // Transforming The Vertex |
| 12 | gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; |
| 13 | |
| 14 | // Passing The Texture Coordinate Of Texture Unit 0 To The Fragment Shader |
| 15 | texture_coordinate = vec2(gl_MultiTexCoord0); |
| 16 | |
| 17 | } |