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

Cookies support for clustered omni lights #3555

Merged
merged 4 commits into from
Oct 8, 2021

Conversation

mvaligursky
Copy link
Contributor

@mvaligursky mvaligursky commented Oct 8, 2021

  • Omni cookie is represented by cubemap, and its faces get copied to the cookie atlas in the same way 6 shadow faces are rendered to a shadow atlas
  • Cookie light then uses the same code it uses to address into shadow atlas to access cookie atlas as well.
  • Moved clustered light related fragment shaders to their own chunks
  • Omni shadows example updated with cookies
cookies720p.mov

mvaligursky and others added 2 commits October 8, 2021 08:51
Co-authored-by: Will Eastcott <will@playcanvas.com>
Co-authored-by: Will Eastcott <will@playcanvas.com>
@mvaligursky mvaligursky merged commit e778999 into master Oct 8, 2021
@mvaligursky mvaligursky deleted the mvaligursky-clustered-omni-cookies branch October 8, 2021 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: graphics Graphics related issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants