Geometry Flickering in 3D

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By stormreaver

I have a spaceship that moves around in space (obviously), which also moves the ARVROrigin along with it. When the ship moves, there is a lot of flickering of the ship’s geometry. You can see an example video showing the effect at

The camera is moved with this code:

if m_cameraPosition != null:
	m_cameraPosition.global_transform = global_transform
	m_cameraPosition.global_transform.origin = $Cockpit/CockpitSeat/PositionCamera.global_transform.origin

Has anyone seen this before, and know how to fix it?

I think I found the answer, though I don’t know about the why. Inside the spaceship, I have ten light sources. If I remove the four light sources nearest the camera, the flickering stops.

stormreaver | 2020-08-11 12:18