Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Per frame randomized SSAO sampling & debug mode in composite pass #7139

Merged
merged 4 commits into from
Nov 27, 2024

Conversation

mvaligursky
Copy link
Contributor

@mvaligursky mvaligursky commented Nov 25, 2024

CameraFrame exposes public interface to enable debug rendering.

/** @type {''|'scene'|'ssao'|'bloom'|'vignette'}*/
CameraFrame.debug = '';

This has been added to few examples, for example ambient occlusion:
Screenshot 2024-11-25 at 14 31 35

SSAO rendering additionally exposes option to randomize samples each frame. This is useful when used along TAA, where TAA can be used to blur SSAO instead of custom render passes.

@mvaligursky mvaligursky merged commit 08f8f80 into main Nov 27, 2024
7 of 8 checks passed
@mvaligursky mvaligursky deleted the mv-composition-debug branch November 27, 2024 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants