Last updated

API / geotoolkit3d / postprocessing / AbstractPass / AbstractPass

Namespace: AbstractPass

postprocessing.AbstractPass.AbstractPass

Table of contents

Type Aliases

Contents

Type Aliases

AntialiasOptions

Ƭ AntialiasOptions: Object

The base options for RenderPasses supporting forms of Anti-Aliasing.

Type declaration

NameTypeDescription
enabled?booleanEnable anti-aliasing.
mode?AntiAliasingChoose the antialiasing mode, among FXAA, SSAA, SRAA, or AUTO Default value is AUTO.
samplelevel?numberThe 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

Ƭ BaseRenderPassOptions: Object

The base options used in main render passes.

Deprecated

since 4.1

Type declaration

NameTypeDescription
clearcolor?ColorRepresentationThe base color used as background in the 3D Plot. Deprecated since 4.1. Please use the Plot option 'option.renderer.clearcolor' instead.
clearcoloralpha?numberThe 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

Ƭ MainRenderPassOptions: Object

Options common to main render passes (e.g. DepthPeeling pass, SSAA render pass).

Type declaration

NameTypeDescription
framebuffertexturetype?TextureDataTypeThe 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

Ƭ RenderPassOptions: BaseRenderPassOptions & { camera: OrthographicCamera | PerspectiveCamera ; scene: Scene }

The options used in main render passes constructor.