Skip to content

@orillusion/core


Class: SSGIPost2 ​

Defined in: src/gfx/renderJob/post/SSGIPost2.ts:26

Horizon-based SSGI post effect (MVP).

Independent of the existing legacy SSGIPost (under _Sample_SSGI, marked disabled). Named SSGIPost2 to coexist; once stabilised this replaces the legacy one.

Add to scene: view.scene.addComponent(PostProcessingComponent).addPost(SSGIPost2).

Constructors ​

Constructor ​

new SSGIPost2(): SSGIPost2

Defined in: src/gfx/renderJob/post/PostBase.ts:35

Returns ​

SSGIPost2

Inherited from ​

PostBase.constructor

Properties ​

enable ​

enable: boolean = true

Defined in: src/gfx/renderJob/post/PostBase.ts:23

Inherited from ​

PostBase.enable


isFinalPass ​

isFinalPass: boolean = false

Defined in: src/gfx/renderJob/post/PostBase.ts:27

When true, PostPass iterates this post AFTER every regular post regardless of attach order — used by TonemapPost so the ACES curve always lands on the fully-composited HDR signal.

Inherited from ​

PostBase.isFinalPass


postRenderer ​

postRenderer: PostPass

Defined in: src/gfx/renderJob/post/PostBase.ts:28

Inherited from ​

PostBase.postRenderer


rendererPassState ​

rendererPassState: RendererPassState

Defined in: src/gfx/renderJob/post/PostBase.ts:29

Inherited from ​

PostBase.rendererPassState


_boundCtx ​

_boundCtx: Context3D = null

Defined in: src/gfx/renderJob/post/PostBase.ts:30

Inherited from ​

PostBase._boundCtx

Methods ​

compute() ​

compute(view): void

Defined in: src/gfx/renderJob/post/PostBase.ts:133

Parameters ​

view ​

View3D

Returns ​

void

Inherited from ​

PostBase.compute


onAttach() ​

onAttach(view): void

Defined in: src/gfx/renderJob/post/PostBase.ts:135

Parameters ​

view ​

View3D

Returns ​

void

Inherited from ​

PostBase.onAttach


onDetach() ​

onDetach(view): void

Defined in: src/gfx/renderJob/post/PostBase.ts:137

Parameters ​

view ​

View3D

Returns ​

void

Inherited from ​

PostBase.onDetach


destroy() ​

destroy(force?): void

Defined in: src/gfx/renderJob/post/PostBase.ts:143

Parameters ​

force? ​

boolean

Returns ​

void

Inherited from ​

PostBase.destroy


render() ​

render(view, command): void

Defined in: src/gfx/renderJob/post/SSGIPost2.ts:57

Parameters ​

view ​

View3D

command ​

GPUCommandEncoder

Returns ​

void

Overrides ​

PostBase.render


onResize() ​

onResize(): void

Defined in: src/gfx/renderJob/post/SSGIPost2.ts:76

Returns ​

void

Overrides ​

PostBase.onResize