summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/planets-qml/shaders/gl3/shadowmap.vert
blob: 9bfa508cf2eb4829f2a21bdb3e6e06bd68b6c291 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright (C) 2014 Klaralvdalens Datakonsult AB (KDAB).
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause

#version 150 core

in vec3 vertexPosition;

uniform mat4 mvp;

void main()
{
    gl_Position = mvp * vec4(vertexPosition, 1.0);
}