Skip to content

Class: SSGIPost

Ground base Ambient Occlusion Let the intersection of the object and the object imitate the effect of the light being cross-occluded

gtao setting
let cfg = {@link Engine3D.setting.render.postProcessing.gtao};

Hierarchy

  • PostBase

    SSGIPost

Constructors

Properties

Accessors

Methods

Constructors

constructor

new SSGIPost(): SSGIPost

Returns

SSGIPost

Overrides

PostBase.constructor

Defined in

src/gfx/renderJob/post/SSGIPost.ts:70

Properties

enable

enable: boolean = true

Inherited from

PostBase.enable

Defined in

src/gfx/renderJob/post/PostBase.ts:20


postRenderer

postRenderer: PostRenderer

Inherited from

PostBase.postRenderer

Defined in

src/gfx/renderJob/post/PostBase.ts:21


newTexture

newTexture: VirtualTexture

Defined in

src/gfx/renderJob/post/SSGIPost.ts:41


oldTexture

oldTexture: VirtualTexture

Defined in

src/gfx/renderJob/post/SSGIPost.ts:42


combineTexture

combineTexture: VirtualTexture

Defined in

src/gfx/renderJob/post/SSGIPost.ts:43


delayCompute

delayCompute: ComputeShader

Defined in

src/gfx/renderJob/post/SSGIPost.ts:53


combineCompute

combineCompute: ComputeShader

Defined in

src/gfx/renderJob/post/SSGIPost.ts:54


rtFrame

rtFrame: RTFrame

Defined in

src/gfx/renderJob/post/SSGIPost.ts:56


textureScaleSmallCompute

textureScaleSmallCompute: TextureScaleCompute

Defined in

src/gfx/renderJob/post/SSGIPost.ts:57


textureScaleBigCompute

textureScaleBigCompute: TextureScaleCompute

Defined in

src/gfx/renderJob/post/SSGIPost.ts:58


view

view: View3D

Defined in

src/gfx/renderJob/post/SSGIPost.ts:59


colorTexture

colorTexture: RenderTexture

Defined in

src/gfx/renderJob/post/SSGIPost.ts:60


posTexture

posTexture: RenderTexture

Defined in

src/gfx/renderJob/post/SSGIPost.ts:61


normalTexture

normalTexture: RenderTexture

Defined in

src/gfx/renderJob/post/SSGIPost.ts:62


gBufferTexture

gBufferTexture: RenderTexture

Defined in

src/gfx/renderJob/post/SSGIPost.ts:63


lastPosTexture

lastPosTexture: RenderTexture

Defined in

src/gfx/renderJob/post/SSGIPost.ts:64


downSampleCofe

downSampleCofe: number = 1.0

Defined in

src/gfx/renderJob/post/SSGIPost.ts:65


debugChanal

debugChanal: string = "0"

Defined in

src/gfx/renderJob/post/SSGIPost.ts:67


updateBuffer

updateBuffer: StorageGPUBuffer

Defined in

src/gfx/renderJob/post/SSGIPost.ts:69

Accessors

ins

get ins(): number

Returns

number

Defined in

src/gfx/renderJob/post/SSGIPost.ts:112

set ins(v): void

Parameters

NameType
vnumber

Returns

void

Defined in

src/gfx/renderJob/post/SSGIPost.ts:107


delay

get delay(): number

Returns

number

Defined in

src/gfx/renderJob/post/SSGIPost.ts:121

set delay(v): void

Parameters

NameType
vnumber

Returns

void

Defined in

src/gfx/renderJob/post/SSGIPost.ts:116


colorIns

get colorIns(): number

Returns

number

Defined in

src/gfx/renderJob/post/SSGIPost.ts:131

set colorIns(v): void

Parameters

NameType
vnumber

Returns

void

Defined in

src/gfx/renderJob/post/SSGIPost.ts:126


frameCount

get frameCount(): number

Returns

number

Defined in

src/gfx/renderJob/post/SSGIPost.ts:140

set frameCount(v): void

Parameters

NameType
vnumber

Returns

void

Defined in

src/gfx/renderJob/post/SSGIPost.ts:135


d1

get d1(): number

Returns

number

Defined in

src/gfx/renderJob/post/SSGIPost.ts:149

set d1(v): void

Parameters

NameType
vnumber

Returns

void

Defined in

src/gfx/renderJob/post/SSGIPost.ts:144

Methods

destroy

destroy(force?): void

Parameters

NameType
force?boolean

Returns

void

Inherited from

PostBase.destroy

Defined in

src/gfx/renderJob/post/PostBase.ts:87


onCameraChange

onCameraChange(oldPos, newPos): void

Parameters

NameType
oldPosVector3
newPosVector3

Returns

void

Defined in

src/gfx/renderJob/post/SSGIPost.ts:94


onDetach

onDetach(view): void

Parameters

NameType
viewView3D

Returns

void

Overrides

PostBase.onDetach

Defined in

src/gfx/renderJob/post/SSGIPost.ts:103


render

render(view, command): void

Parameters

NameType
viewView3D
commandGPUCommandEncoder

Returns

void

Overrides

PostBase.render

Defined in

src/gfx/renderJob/post/SSGIPost.ts:233


compute

compute(view): void

Parameters

NameType
viewView3D

Returns

void

Overrides

PostBase.compute

Defined in

src/gfx/renderJob/post/SSGIPost.ts:239


onResize

onResize(): void

Returns

void

Overrides

PostBase.onResize

Defined in

src/gfx/renderJob/post/SSGIPost.ts:287

Released under the MIT License