mirror of
https://github.com/godotengine/godot.git
synced 2024-11-26 14:13:10 +00:00
Correct docs for Environment background keep mode
The docs incorrectly stated that KEEP was the fastest mode. This is not the case with modern hardware.
This commit is contained in:
parent
432b1f8d2b
commit
bc924d4b41
@ -302,7 +302,8 @@
|
||||
</members>
|
||||
<constants>
|
||||
<constant name="BG_KEEP" value="5" enum="BGMode">
|
||||
Keeps on screen every pixel drawn in the background. This is the fastest background mode, but it can only be safely used in fully-interior scenes (no visible sky or sky reflections). If enabled in a scene where the background is visible, "ghost trail" artifacts will be visible when moving the camera.
|
||||
Keeps on screen every pixel drawn in the background. Only select this mode if you really need to keep the old data. On modern GPUs it will generally not be faster than clearing the background, and can be significantly slower, particularly on mobile.
|
||||
It can only be safely used in fully-interior scenes (no visible sky or sky reflections). If enabled in a scene where the background is visible, "ghost trail" artifacts will be visible when moving the camera.
|
||||
</constant>
|
||||
<constant name="BG_CLEAR_COLOR" value="0" enum="BGMode">
|
||||
Clears the background using the clear color defined in [member ProjectSettings.rendering/environment/default_clear_color].
|
||||
|
Loading…
Reference in New Issue
Block a user