Details
Description
How to reproduce:
1) Open "Qt Quick 3D - lights example" (with a teapot)
2) Find "PointLight" with id: light2 in main.qml
3) Add after:
PointLight { color: Qt.rgba(1.0, 1.0, 0.95, 1.0) ambientColor: Qt.rgba(0.1, 0.1, 0.1, 1.0) position: Qt.vector3d(1600, 200, 200) shadowMapFar: 2000 shadowMapQuality: Light.ShadowMapQualityHigh visible: true castsShadow: false brightness: 50 }
4) Run the example
5) Press "Point light" checkbox
Exception:
1 operator== qrhigles2_p_p.h 119 0x64263661
2 QRhiGles2::bindShaderResources qrhigles2.cpp 3065 0x64263661
3 QRhiGles2::executeCommandBuffer qrhigles2.cpp 2383 0x6426529b
4 QRhiGles2::endFrame qrhigles2.cpp 1441 0x64265ced
5 QRhi::endFrame qrhi.cpp 6206 0x6412dd2b
6 QSGRenderThread::syncAndRender qflags.h 114 0x62e0a900
7 QSGRenderThread::run qsgthreadedrenderloop.cpp 982 0x62e0b41f
8 QThreadPrivate::start qthread_win.cpp 326 0x653efa97
9 KERNEL32!BaseThreadInitThunk 0x7798556d
10 ntdll!RtlUserThreadStart 0x77be372d
11 ??
Adding it before SceneEnvironment fixes the problem.
Attachments
For Gerrit Dashboard: QTBUG-89062 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
325011,4 | Clean up index vs. light index confusion | dev | qt/qtquick3d | Status: MERGED | +2 | 0 |
325048,2 | Clean up index vs. light index confusion | 6.0 | qt/qtquick3d | Status: MERGED | +2 | 0 |