Revision control

Copy as Markdown

import QtQuick 2.0
Item {
width: 320
height: 480
ShaderEffect {
x: 10
y: 10
width: 300
height: 200
property real colorProperty: 0.5
fragmentShader: "qrc:shaders/property.frag.qsb"
}
ShaderEffect {
x: 10
y: 250
width: 300
height: 200
property real colorProperty: 0.0
fragmentShader: "qrc:shaders/property.frag.qsb"
NumberAnimation on colorProperty {
duration: 200
from: 0.0
to: 1.0
}
}
}