Skip to content

Class: SSRPost

Screen space reflection

      //setting
      let cfg = {@link Engine3D.setting.render.postProcessing.ssr};
        let view = new View3D();
       view.scene = this.scene;
       view.camera = mainCamera;
       
      
      Engine3D.startRender(renderJob);

Hierarchy

  • PostBase

    SSRPost

Constructors

Properties

Accessors

Methods

Constructors

constructor

new SSRPost(): SSRPost

Returns

SSRPost

Inherited from

PostBase.constructor

Defined in

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

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


historyPosition

historyPosition: StorageGPUBuffer

Defined in

src/gfx/renderJob/post/SSRPost.ts:71


view

view: View3D

Defined in

src/gfx/renderJob/post/SSRPost.ts:72

Accessors

fadeEdgeRatio

get fadeEdgeRatio(): number

Returns

number

Defined in

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

set fadeEdgeRatio(value): void

Parameters

NameType
valuenumber

Returns

void

Defined in

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


rayMarchRatio

get rayMarchRatio(): number

Returns

number

Defined in

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

set rayMarchRatio(value): void

Parameters

NameType
valuenumber

Returns

void

Defined in

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


roughnessThreshold

get roughnessThreshold(): number

Returns

number

Defined in

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

set roughnessThreshold(value): void

Parameters

NameType
valuenumber

Returns

void

Defined in

src/gfx/renderJob/post/SSRPost.ts:117


fadeDistanceMin

get fadeDistanceMin(): number

Returns

number

Defined in

src/gfx/renderJob/post/SSRPost.ts:123

set fadeDistanceMin(value): void

Parameters

NameType
valuenumber

Returns

void

Defined in

src/gfx/renderJob/post/SSRPost.ts:128


fadeDistanceMax

get fadeDistanceMax(): number

Returns

number

Defined in

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

set fadeDistanceMax(value): void

Parameters

NameType
valuenumber

Returns

void

Defined in

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


powDotRN

get powDotRN(): number

Returns

number

Defined in

src/gfx/renderJob/post/SSRPost.ts:145

set powDotRN(value): void

Parameters

NameType
valuenumber

Returns

void

Defined in

src/gfx/renderJob/post/SSRPost.ts:150

Methods

destroy

destroy(force?): void

Parameters

NameType
force?boolean

Returns

void

Inherited from

PostBase.destroy

Defined in

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


onResize

onResize(): void

Returns

void

Overrides

PostBase.onResize

Defined in

src/gfx/renderJob/post/SSRPost.ts:289

Released under the MIT License