Qt Quick 3D - Custom Shaders Example | Qt Quick 3D 6.7.2
Description: Demonstrates the use of custom vertex and fragment shaders.

- Qt 6.7
- Qt Quick 3D
- Qt Quick 3D Examples and Tutorials
- Qt Quick 3D - Custom Shaders Example
- Qt Quick 3D | Commercial or GPLv3

# Qt Quick 3D - Custom Shaders Example

     // Copyright (C) 2023 The Qt Company Ltd.
     // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause

     VARYING vec3 pos;
     VARYING vec2 coord;

     void MAIN()
     {
         pos = VERTEX;
         pos.x += sin(time * 4.0 + pos.y) * amplitude;
         coord = UV0;
         POSITION = MODELVIEWPROJECTION_MATRIX * vec4(pos, 1.0);
     }