bevy/crates/bevy_pbr/src
Patrick Walton 56aa90240e
Only include distance fog in the PBR shader if the view uses it. (#17495)
Right now, we always include distance fog in the shader, which is
unfortunate as it's complex code and is rare. This commit changes it to
be a `#define` instead. I haven't confirmed that removing distance fog
meaningfully reduces VGPR usage, but it can't hurt.
2025-01-23 05:24:54 +00:00
..
cluster Move Resource trait to its own file (#17469) 2025-01-21 19:47:08 +00:00
decal Forward decals (port of bevy_contact_projective_decals) (#16600) 2025-01-15 02:31:30 +00:00
deferred Only include distance fog in the PBR shader if the view uses it. (#17495) 2025-01-23 05:24:54 +00:00
light Retain RenderMaterialInstances and RenderMeshMaterialIds from frame to frame. (#16985) 2025-01-22 03:35:46 +00:00
light_probe Move Resource trait to its own file (#17469) 2025-01-21 19:47:08 +00:00
lightmap Move Resource trait to its own file (#17469) 2025-01-21 19:47:08 +00:00
meshlet Only include distance fog in the PBR shader if the view uses it. (#17495) 2025-01-23 05:24:54 +00:00
prepass Use multi_draw_indirect_count where available, in preparation for two-phase occlusion culling. (#17211) 2025-01-14 21:19:20 +00:00
render Only include distance fog in the PBR shader if the view uses it. (#17495) 2025-01-23 05:24:54 +00:00
ssao Move Resource trait to its own file (#17469) 2025-01-21 19:47:08 +00:00
ssr Move Resource trait to its own file (#17469) 2025-01-21 19:47:08 +00:00
volumetric_fog Move Resource trait to its own file (#17469) 2025-01-21 19:47:08 +00:00
components.rs Support non-Vec data structures in relations (#17447) 2025-01-20 21:26:08 +00:00
extended_material.rs Forward decals (port of bevy_contact_projective_decals) (#16600) 2025-01-15 02:31:30 +00:00
fog.rs Remove all deprecated code (#16338) 2025-01-05 20:33:39 +00:00
lib.rs Retain RenderMaterialInstances and RenderMeshMaterialIds from frame to frame. (#16985) 2025-01-22 03:35:46 +00:00
material_bind_groups.rs Move Resource trait to its own file (#17469) 2025-01-21 19:47:08 +00:00
material.rs Only include distance fog in the PBR shader if the view uses it. (#17495) 2025-01-23 05:24:54 +00:00
mesh_material.rs Revert default mesh materials (#15930) 2024-10-15 19:47:40 +00:00
parallax.rs
pbr_material.rs Fix some punctuation (#17368) 2025-01-14 21:51:12 +00:00
wireframe.rs Fix a few typos (#17292) 2025-01-10 22:48:30 +00:00