UNPKG

playcanvas

Version:

PlayCanvas WebGL game engine

26 lines (25 loc) 813 B
/** * SSAO is disabled. * * @type {string} * @category Graphics */ export const SSAOTYPE_NONE: string; /** * SSAO is applied during the lighting calculation stage, allowing it to blend seamlessly with scene * lighting. This results in ambient occlusion being more pronounced in areas where direct light is * obstructed, enhancing realism. * * @type {string} * @category Graphics */ export const SSAOTYPE_LIGHTING: string; /** * SSAO is applied as a standalone effect after the scene is rendered. This method uniformly * overlays ambient occlusion across the image, disregarding direct lighting interactions. While * this may sacrifice some realism, it can be advantageous for achieving specific artistic styles. * * @type {string} * @category Graphics */ export const SSAOTYPE_COMBINE: string;