Qt Quick 3D - Offline Shaders Example
// Copyright (C) 2023 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause void MAIN() { VERTEX.x += sin(uTime * 4.0 + VERTEX.y) * uAmplitude; POSITION = MODELVIEWPROJECTION_MATRIX * vec4(VERTEX, 1.0); }