summaryrefslogtreecommitdiffstats
path: root/src/engine/Qt3DSRuntimeView.cpp
diff options
context:
space:
mode:
authorAntti Määttä <antti.maatta@qt.io>2023-08-14 13:21:07 +0300
committerAntti Määttä <antti.maatta@qt.io>2023-09-01 15:02:30 +0300
commit2b4ec2230eb21c277d82b80a729f1c8a5e2aee99 (patch)
treed60072dd9dac9cdcaecc3076a052332b8301db44 /src/engine/Qt3DSRuntimeView.cpp
parentdfba2273014019a8153889d5b91ed7de7758d9f2 (diff)
Fix stereoscopic render layer cachingHEADmaster
Layer caching for stereoscopic rendering doesn't work, because 1) the layer has only one texture for the left and right eyes and it renders both eyes with the same texture thereby overwriting the left eye. 2) the stereoscopic cameras are always dirty causing it to always render. This patch adds second layer texture allowing the caching of both eyes and also fixes the dirty camera problem by using the main camera to calculate the camera dirty flags and stores them for the right eye so that it also renders when left eye was dirty. Task-number: QT3DS-4239 Change-Id: Ice46bb4828418eca628abcbb7bb6d21aacf48028 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by: Janne Koskinen <janne.p.koskinen@qt.io>
Diffstat (limited to 'src/engine/Qt3DSRuntimeView.cpp')
0 files changed, 0 insertions, 0 deletions