summaryrefslogtreecommitdiffstats
path: root/examples/demos/osmbuildings/customshadertiles.frag
blob: ae09b373ef342118c21410c2b15ac98370a74f87 (plain)
1
2
3
4
5
6
7
8
9
10
// Copyright (C) 2023 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;
}