| 123456789101112131415161718192021222324252627 |
- /*
- * Copyright (C) 2020, Inria
- * GRAPHDECO research group, https://team.inria.fr/graphdeco
- * All rights reserved.
- *
- * This software is free for non-commercial, research and evaluation use
- * under the terms of the LICENSE.md file.
- *
- * For inquiries contact sibr@inria.fr and/or George.Drettakis@inria.fr
- */
- #version 420
- uniform mat4 MVP;
- layout(location = 0) in vec3 in_vertex;
- layout(location = 2) in vec2 in_uv;
- out vec2 vertUV;
- void main(void) {
- gl_Position = MVP * vec4(in_vertex,1.0);
- vec2 uv = in_uv;
- uv.y = 1.0 - uv.y ;
- vertUV = uv;
- }
|