| 123456789101112131415161718192021222324252627282930 |
- /*
- * 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
- */
- /** \file topview.vp
- *
- * Vertex shader with projection and modelview transformations
- * for rendering top view
- */
- #version 420
- layout(location = 0) in vec4 in_vertex; /**< Input vertex coordinates */
- layout(location = 1) in vec4 in_texcoord; /**< Input texture coordinates */
- uniform mat4 proj; /**< Projection matrix */
- out vec4 texcoord; /**< Output texture coordinates */
- void main(void) {
- gl_Position = proj * in_vertex;
- texcoord = in_texcoord;
- }
|