Issue is in CameraSensor.cpp. The names used for TextureRenderTarget2D and SceneCaptureComponent2D are not unique. This leads to incorrect behavior when reading/writing from/to corresponding image modality buffers, as data is being overwritten.
Fix is to have unique names for TextureRenderTarget2D and SceneCaptureComponent2D.
Fix #267
Issue is in CameraSensor.cpp. The names used for
TextureRenderTarget2D
andSceneCaptureComponent2D
are not unique. This leads to incorrect behavior when reading/writing from/to corresponding image modality buffers, as data is being overwritten.Fix is to have unique names for
TextureRenderTarget2D
andSceneCaptureComponent2D
.