Qt Quick 3D - Offline Shaders Example | Qt Quick 3D 6.7.2
Description: Demonstrates the use of the experimental build-time material processing support.

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

# Qt Quick 3D - Offline Shaders Example

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

     import QtQuick
     import QtQuick3D

     Model {
         id: teapotDefault
         source: "teapot.mesh"
         y: -100
         scale: Qt.vector3d(75, 75, 75)

         property variant material
         materials: [ material ]

         property bool animate: true
         NumberAnimation on eulerRotation.y {
             running: teapotDefault.animate
             loops: Animation.Infinite
             duration: 5000
             from: 0
             to: -360
         }
     }