Bad shader result in a custom QQuickItem
Open Scene Graph - OpenGl under QML and Scene Graph - Graph sample projects and try set scale 0.5 to the custom QQuickItems.
This is results:
You can see bad result.
What is the problem?! Why this behaviour?!
Is there any bug on uv mapping?
@seyed As I understand things, you need to get hold of the item's transform and do whatever your rendering needs to do with it for it to have effect... see https://stackoverflow.com/questions/28535528/how-can-i-get-transform-matrix-for-qquickitem . (Similarly, nothing will implement the opacity property for you... you have to bring it into your OpenGL code and use it in your fragment shader.)