When you look behind you (V key) for the first time in a session while you are in a nebula, the screen flickers black for a brief moment. You can see this happening in the following clip of Sarge's stream (see timestamp 00:00:12 at 0.25x speed): https://www.twitch.tv/dedarkstar/clip/OriginalMildSquidRaccAttack-mplojkJrbHMgT8jv. This happens because the camera background color is not updated properly. The reason why the background doesn't update is because FL doesn't actually know where the rear view camera is the first frame that you activate it; it assumes position (0, 0, 0) initially and only updates it after every first frame that it is active. Every frame, FL checks if the camera is positioned inside any nebula within a system, if it is, it will use that background color. However, if the position is not initially set, it will not use the up-to-date camera position for the "is inside nebula" check. To fix it, simply set the camera position in the camera "init" function.
My notes:
How to fix: in the init func: 0051CBB0 (0x58), call update 0054B09F (0x6C), but make sure not to include the 0x0051D070 func in the call, because it assumes a delta time value.
When you look behind you (V key) for the first time in a session while you are in a nebula, the screen flickers black for a brief moment. You can see this happening in the following clip of Sarge's stream (see timestamp 00:00:12 at 0.25x speed): https://www.twitch.tv/dedarkstar/clip/OriginalMildSquidRaccAttack-mplojkJrbHMgT8jv. This happens because the camera background color is not updated properly. The reason why the background doesn't update is because FL doesn't actually know where the rear view camera is the first frame that you activate it; it assumes position (0, 0, 0) initially and only updates it after every first frame that it is active. Every frame, FL checks if the camera is positioned inside any nebula within a system, if it is, it will use that background color. However, if the position is not initially set, it will not use the up-to-date camera position for the "is inside nebula" check. To fix it, simply set the camera position in the camera "init" function.
My notes: