Description
If you in a fragment shader call texture() multiple times with different textures you get the following problems
- text in Quick and Quick Controls item gets corrupted
- one of the textures are rendered on the scene (even though the current shader and geometry should not render anything)
The problem disappears if you
- resize window
- change renderPolicy from OnDemand to Always
Other notes:
- problem not seen with Qt 5.12.7 or Qt 6.3.1
- attached image and project example
Attachments
For Gerrit Dashboard: QTBUG-105376 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
436645,2 | Scene3DRenderer: reset OpenGL state when skipping frames | tqtc/lts-5.15 | qt/tqtc-qt3d | Status: MERGED | +2 | 0 |