Skip to content

Conversation

@atlv24
Copy link
Contributor

@atlv24 atlv24 commented Jan 24, 2026

Objective

  • It makes no sense for bevy_camera::Camera3d to talk about transmission quality settings
  • transmission is not a core thing its a purely pbr thing, why is in bevy_core_pipelines
  • the implementation is generally scattered all over the place
  • ScreenSpaceTransmissionQuality is a resource for no reason at all

Solution

  • split out a struct for transmission stuff
  • consolidate stuff in bevy_pbr
  • make ScreenSpaceTransmissionQuality not a resource

Testing

transmission example looks good

@atlv24 atlv24 added A-Rendering Drawing game state to the screen S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Jan 24, 2026
@atlv24 atlv24 added the M-Migration-Guide A breaking change to Bevy's public API that needs to be noted in a migration guide label Jan 24, 2026
if !transmissive_phase.items.is_empty() {
let screen_space_specular_transmission_steps =
camera_3d.screen_space_specular_transmission_steps;
transmission.screen_space_specular_transmission_steps;
Copy link
Contributor

Choose a reason for hiding this comment

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

@atlv24 ScreenSpaceTransmission already specifies the “ScreenSpace” prefix in the component name so should the field names also lose the “screen_space_” prefix?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I plan to do a bunch of renames as a followup, i really dislike the current names but wanted to keep the diff small

Copy link
Contributor

@kfc35 kfc35 left a comment

Choose a reason for hiding this comment

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

looks good to me for correctness

@kfc35 kfc35 added S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it D-Modest A "normal" level of difficulty; suitable for simple features or challenging fixes and removed S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Jan 25, 2026
@alice-i-cecile alice-i-cecile added this pull request to the merge queue Jan 25, 2026
Merged via the queue into bevyengine:main with commit 3ae32d5 Jan 25, 2026
42 checks passed
@atlv24 atlv24 deleted the ad/trans-mission branch January 26, 2026 03:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Rendering Drawing game state to the screen D-Modest A "normal" level of difficulty; suitable for simple features or challenging fixes M-Migration-Guide A breaking change to Bevy's public API that needs to be noted in a migration guide S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants