aboutsummaryrefslogtreecommitdiffstats
path: root/examples/demos/osmbuildings/OSMBuildings/customshadertiles.frag
blob: 67c32bf2ed4b530064655c4c3cb23e577ed85d4b (plain)
1
2
3
4
5
6
7
8
9
10
// Copyright (C) 2024 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause

void MAIN() {
    vec2 tc = UV0;
    BASE_COLOR = vec4( texture(tileTexture, vec2(tc.x, 1.0 - tc.y )).xyz, 1.0 );
    ROUGHNESS = 0.3;
    METALNESS = 0.0;
    FRESNEL_POWER = 1.0;
}