[Interest] [Qt3D] Wrong value passed to the shader when using a QMatrix value

Xavier Bigand flamaros.xavier at gmail.com
Mon Oct 3 15:28:59 CEST 2016


I found the issue :
https://bugreports.qt.io/browse/QTBUG-56337

I think that is the kind of bug I can fix, I suppose that I have to follow
guidelines from http://wiki.qt.io/Portal:Contributors ?

2016-10-03 15:06 GMT+02:00 Xavier Bigand <flamaros.xavier at gmail.com>:

> 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
>



-- 
Xavier
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20161003/1c20c597/attachment.html>


More information about the Interest mailing list