Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Type:CameraClearMode: Difference between revisions

From Resonite Wiki
989onan (talk | contribs)
add mega info
989onan (talk | contribs)
update
 
Line 4: Line 4:
|Skybox|0| When rendering, clear unrendered pixels with the skybox in the world. This is the expected behavior to match realism.
|Skybox|0| When rendering, clear unrendered pixels with the skybox in the world. This is the expected behavior to match realism.
|Color|1| When rendering, clear unrendered pixels with a color. This is useful in circumstances like green screens
|Color|1| When rendering, clear unrendered pixels with a color. This is useful in circumstances like green screens
|Depth|2| {{stub}}
|Depth|2| When rendering, clear only pixels that have depth values assigned to them. This is not Photo Sensitive friendly when viewing the skybox!!!
|Nothing|3| Don't replace non drawn pixels every frame. This can cause smearing and bright flashes and blooming when enabled. This is not Photo Sensitive friendly!!!
|Nothing|3| Don't replace non drawn pixels every frame. This can cause smearing and bright flashes and blooming when enabled. This is not Photo Sensitive friendly!!!
}}
}}

Latest revision as of 18:31, 3 May 2025

This enum informs a rendering component like a Camera or a Camera Portal (mirror) to clear the buffer with when rendering a new frame. OpenGL, DX11, and other rendering engines render on top of the previous pixels when drawing, and this determines what is done with the pixels it doesn't draw over.

Values
Name Value Description
Skybox 0 When rendering, clear unrendered pixels with the skybox in the world. This is the expected behavior to match realism.
Color 1 When rendering, clear unrendered pixels with a color. This is useful in circumstances like green screens
Depth 2 When rendering, clear only pixels that have depth values assigned to them. This is not Photo Sensitive friendly when viewing the skybox!!!
Nothing 3 Don't replace non drawn pixels every frame. This can cause smearing and bright flashes and blooming when enabled. This is not Photo Sensitive friendly!!!