|
Easy3D 3.0.0
|
Portable transparent-fragment compositing settings. More...
#include <render_settings.h>
Public Attributes | |
| bool | enabled = false |
| graphics::TransparencyMethod | method = graphics::TransparencyMethod::sorted |
| Compositing method; sorted is the portable default. | |
| unsigned | layers = 4 |
| Maximum depth-peeling layers or linked-list fragments per pixel; positive. | |
Portable transparent-fragment compositing settings.
| bool enabled = false |
Enable a separate transparency pass over visible scene triangles.
This explicit switch is required because triangle drawables default to opacity 0.6 while ordinary opaque rendering has always ignored it. Enabling by method alone would therefore change every default scene as soon as any unrelated effect was configured.