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

Cookie renderer refactored to use a single render pass #5572

Merged
merged 1 commit into from Aug 17, 2023

Conversation

mvaligursky
Copy link
Contributor

@mvaligursky mvaligursky commented Aug 17, 2023

In the first implementation, the clustered cookie atlas renderer just used the renderQuadWithShader to render cookie for each light into an atlas. This was creating a render pass / or 6 for cubemap, which is not efficient.

This PR creates a single render pass directly, and renders quads to it, to avoid all that.

@mvaligursky mvaligursky merged commit e6b10b5 into main Aug 17, 2023
7 checks passed
@mvaligursky mvaligursky deleted the mv-cookie-render-pass branch August 17, 2023 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants