API / geotoolkit3d / postprocessing / AbstractPass / AbstractPass
postprocessing.AbstractPass.AbstractPass
Type Aliases
Ƭ AntialiasOptions: Object
The base options for RenderPasses supporting forms of Anti-Aliasing.
| Name | Type | Description |
|---|---|---|
enabled? | boolean | Enable anti-aliasing. |
mode? | AntiAliasing | Choose the antialiasing mode, among FXAA, SSAA, SRAA, or AUTO Default value is AUTO. |
samplelevel? | number | The number of samples per pixel for SSAA or MSAA. More samples means higher quality AntiAliasing, but also more time rendering (and slower performances). For SSAA, accepted values are [0, 1, 2, 3, 4, 5]. They respectively stand for 1, 2, 4, 8, 16 and 32 samples per pixels. For MSAA, accepted values are [0, 2, 4]. They represent 2 and 4 samples per pixel. The default value is 2. |
Ƭ BaseRenderPassOptions: Object
The base options used in main render passes.
Deprecated
since 4.1
| Name | Type | Description |
|---|---|---|
clearcolor? | ColorRepresentation | The base color used as background in the 3D Plot. Deprecated since 4.1. Please use the Plot option 'option.renderer.clearcolor' instead. |
clearcoloralpha? | number | The base color opacity used as background in the 3D Plot. Transparent background color can be used to overlay the Plot over some visuals. Deprecated since 4.1. Please use the Plot option 'option.renderer.clearcoloralpha' instead. |
Ƭ MainRenderPassOptions: Object
Options common to main render passes (e.g. DepthPeeling pass, SSAA render pass).
| Name | Type | Description |
|---|---|---|
framebuffertexturetype? | TextureDataType | The framebuffer texture format, used in the WebGLRenderTarget. Affects the rendering color precision. To be able to use advanced post processing like three.js ToneMapping, it is required to use half-float precision at least. |
Ƭ RenderPassOptions: BaseRenderPassOptions & { camera: OrthographicCamera | PerspectiveCamera ; scene: Scene }
The options used in main render passes constructor.