Skip to content

Conversation

@mate-h
Copy link
Owner

@mate-h mate-h commented Aug 1, 2025

I am digging into reusing the shadow functions in the atmosphere pipeline and here is my conclusion.

  • Examine the way volumetric fog is implemented with the pipeline specialization
  • use bind group 1 instead of group 0 in the atmosphere pipeline
  • try binding the mesh view bind group to group 0 for the atmosphere pipeline, just like the volumetric fog pipeline during pipeline specialization
  • the dynamic uniforms limit has to be at or below 8, at the moment there are 11:
    • Remove view and lights since those are now coming from the mesh view bind group
    • Move atmosphere transforms into PbrAtmosphereData , rename to AtmosphereData
    • Use the AtmosphereData as a storage buffer instead of uniform, both in the atmosphere pipelines and the mesh pipeline

@mate-h mate-h force-pushed the atmosphere-specialize branch from 2c91260 to 0f7d45e Compare August 1, 2025 07:59
@mate-h mate-h mentioned this pull request Aug 1, 2025
@mate-h
Copy link
Owner Author

mate-h commented Aug 2, 2025

Also implemented in a bevy PR bevyengine#20186

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.

2 participants