Hi,

I am trying to pass a QMatrix object to my shader, but instead of receiving
an identity matrix all field are null.

Here is my parameter declaration :

mTexCoordTransform(new
Qt3DRender::QParameter(QStringLiteral("u_texCoordTransform"),
QMatrix()))


And here my uniform declaration in the shader :

uniform highp mat3 u_texCoordTransform;



Is it a bug or is there a something wrong with my uniform declaration?


-- 
Xavier
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to