SsaoPass

SsaoPass

Screen Space Ambient Occlusion pass

Constructor

new SsaoPass(renderList, options)

Parameters:
Name Type Description
renderList
options Object
Properties
Name Type Description
variant Boolean

determines if using variant ssao or default one variant uses an extra pass for normal
generation.

sampleSize number

the size of AO sampling. Default is 32

downsampleAmount downsampleAmount

the down sample size. Default is 2