Skip to content

Class: GTAOPost

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

    GTAOPost

Constructors

Properties

Accessors

Methods

Constructors

constructor

new GTAOPost(): GTAOPost

Returns

GTAOPost

Overrides

PostBase.constructor

Defined in

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

Properties

rtFrame

rtFrame: RTFrame

Defined in

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


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

Accessors

maxDistance

get maxDistance(): number

Returns

number

Defined in

src/gfx/renderJob/post/GTAOPost.ts:79

set maxDistance(value): void

Parameters

NameType
valuenumber

Returns

void

Defined in

src/gfx/renderJob/post/GTAOPost.ts:84


maxPixel

get maxPixel(): number

Returns

number

Defined in

src/gfx/renderJob/post/GTAOPost.ts:90

set maxPixel(value): void

Parameters

NameType
valuenumber

Returns

void

Defined in

src/gfx/renderJob/post/GTAOPost.ts:95


darkFactor

get darkFactor(): number

Returns

number

Defined in

src/gfx/renderJob/post/GTAOPost.ts:101

set darkFactor(value): void

Parameters

NameType
valuenumber

Returns

void

Defined in

src/gfx/renderJob/post/GTAOPost.ts:106


rayMarchSegment

get rayMarchSegment(): number

Returns

number

Defined in

src/gfx/renderJob/post/GTAOPost.ts:113

set rayMarchSegment(value): void

Parameters

NameType
valuenumber

Returns

void

Defined in

src/gfx/renderJob/post/GTAOPost.ts:118


multiBounce

get multiBounce(): boolean

Returns

boolean

Defined in

src/gfx/renderJob/post/GTAOPost.ts:124

set multiBounce(value): void

Parameters

NameType
valueboolean

Returns

void

Defined in

src/gfx/renderJob/post/GTAOPost.ts:129


blendColor

get blendColor(): boolean

Returns

boolean

Defined in

src/gfx/renderJob/post/GTAOPost.ts:134

set blendColor(value): void

Parameters

NameType
valueboolean

Returns

void

Defined in

src/gfx/renderJob/post/GTAOPost.ts:139


usePosFloat32

get usePosFloat32(): boolean

Returns

boolean

Defined in

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

set usePosFloat32(value): void

Parameters

NameType
valueboolean

Returns

void

Defined in

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

Methods

onDetach

onDetach(view): void

Parameters

NameType
viewView3D

Returns

void

Overrides

PostBase.onDetach

Defined in

src/gfx/renderJob/post/GTAOPost.ts:75


onResize

onResize(): void

Returns

void

Overrides

PostBase.onResize

Defined in

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


destroy

destroy(force?): void

Parameters

NameType
force?boolean

Returns

void

Inherited from

PostBase.destroy

Defined in

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