Important: Please read the Qt Code of Conduct -

Qt3d QShaderData for per entity

  • Hi specialists,

    I am try to write special 3D viewer in C++ for geomtry data. For testing purpose, I create hundreds of simple cube entities. I wrote my own shader and create a shared material to all of the cube entities. Now I like to give each individual cube special shader parameter. I thing the component QShaderData is the right place. I can not find any documentation or example how to use it and access the data in the shader correctly. Any suggestions?

Log in to reply