Details
-
Suggestion
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
None
-
None
Description
I haven't found an easy way to apply a texture image to all UI elements. Typically in design, a texture image is overlayed on top of everything else and a blend mode is used to define how the pixels in one layer mix with the pixels in another.
Given that this exists in Qt 3D Studio, I don't see why we don't have something similar when working in 2D.
You can create static assets in other programs with the texture applied, but it becomes tricky when you have different state animations for interactive components.
The way I'd imagine it to work is for example if you have the Image type, you'd just specify the blend mode property, and it would blend with everything below it:
Image {id: texture source: "pathToTexture" blendMode: "multiply" }