Hi, I import some objects into my scene via qgltf tool from project file and they are correctly rendered with Qt3D native materials (-S option) into the scene. Now, I want to add a technique to the default material effect to alter visual appearance of the objects without defining a whole new material (keeping default material parameters intact and just inject more parameters and change shaders). For this I recursively add a technique to the material effect of each entity of the loaded objects. However, the renderer (altered forward renderer) keeps using the default material despite the annotation I set on the technique (renderingStyle: myforward) and the TechniqueFilter I put on the framegraph matching the annotation. If instead of adding the technique I replace the previous ones by removing them prior to addition, the right technique is used but I lose the ability to filter to the previous technique.
Now my questions are: How does TechniqueFilter process annotations in order to get the right one? What am I doing wrong? In case of multiple annotations in TechniqueFilter, do it have to match all annotations or one of the provided ones? In case of multiple annotations on Technique, does the TechniqueFilter have to match one of them or all of them? As a side note, RenderPassFilter seems to filter properly, at least with a single annotation. Thank you for your help. -- Unai IRIGOYEN _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest