You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I've managed to run your raytrace-cpp example and also tried using QMaterial::setAlbedoTexture/setRoughnessTexture/setMetalnessTexture(QAbstractTexture *texture) as follows:
However, I could not see them be reflected on the mesh.
Do you happen to have an example using those APIs?
By the way, I also printed out member values of imageData fetched in UploadTextureJob::run() and they are correct, which means the image has been loaded and ready to be uploaded to GPU.
Thank you.
The text was updated successfully, but these errors were encountered:
Hi @Nadrin,
So I've managed to run your
raytrace-cpp
example and also tried usingQMaterial::setAlbedoTexture/setRoughnessTexture/setMetalnessTexture(QAbstractTexture *texture)
as follows:However, I could not see them be reflected on the mesh.
Do you happen to have an example using those APIs?
By the way, I also printed out member values of
imageData
fetched inUploadTextureJob::run()
and they are correct, which means the image has been loaded and ready to be uploaded to GPU.Thank you.
The text was updated successfully, but these errors were encountered: