Details
Description
Sharing effects between windows doesn't work. If tried, the entire View3D content is not drawn on the other window. For example, see the attached application.
The following trace can be seen in output:
Failed to find file: res/effectlib/:/shaders/blur.frag Searched path: :/,. QSSG.invalid_operation: Failed to find include file :/shaders/blur.frag
The reason seems to be that Quick3D caches the shader data into current renderContext at initial QQuick3DEffect::updateSpatialNode call, so it won't be available on other contexts.
renderContext->effectSystem()->setShaderData(shaderPath, shaderCode, "GLSL", "330", false, false);
This blocks showing effect previews in QDS.
Attachments
Issue Links
- is required for
-
QDS-2778 Implement navigator preview of quick3d effects
- Reported