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

FrameGraph: add support for shadow generators (CSM included) #15962

Merged
merged 26 commits into from
Dec 10, 2024

Conversation

Popov72
Copy link
Contributor

@Popov72 Popov72 commented Dec 6, 2024

Test PG for shadows: https://playground.babylonjs.com/#FTAT6U#11

Also in this PR:

  • ResourceContainer block added
  • Default render graph when you browse https://nrge.babylonjs.com/ updated
  • I added some new input types (storage texture, resource container, shadow generator, shadow light, storage buffer), but didn't assign colors to them (black at the time) => TODO

@bjsplat
Copy link
Collaborator

bjsplat commented Dec 6, 2024

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

@bjsplat
Copy link
Collaborator

bjsplat commented Dec 6, 2024

@bjsplat
Copy link
Collaborator

bjsplat commented Dec 6, 2024

@bjsplat
Copy link
Collaborator

bjsplat commented Dec 6, 2024

Copy link
Member

@sebavan sebavan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if possible but the nullable camera seems to complexify the code. should we not have a dummy one ? and do we render without one ?

packages/dev/core/src/Lights/directionalLight.ts Outdated Show resolved Hide resolved
packages/dev/core/src/scene.ts Show resolved Hide resolved
@sebavan sebavan merged commit 49ead34 into BabylonJS:master Dec 10, 2024
14 checks passed
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.

3 participants