\nuse bevy::core_pipeline::experimental::taa::{TemporalAntiAliasBundle,\nTemporalAntiAliasPlugin};\nuse bevy::pbr::{FogVolume, VolumetricFogSettings, VolumetricLight};\nuse bevy::prelude::*;\n
\nfn main() {\n App::new()\n .add_plugins((DefaultPlugins, TemporalAntiAliasPlugin))\n .add_systems(Startup, setup)\n .run();\n}
\nfn setup(mut commands: Commands, assets: Res<AssetServer>) {\n commands.spawn((\n Camera3dBundle {\n transform: Transform::from_xyz(3.5, -1.0, 0.4)\n .looking_at(Vec3::new(0.0, 0.0, 0.4), Vec3::Y),\n msaa: Msaa::Off,\n ..default()\n },\n TemporalAntiAliasBundle::default(),\n VolumetricFogSettings {\n ambient_intensity: 0.0,\n jitter: 0.5,\n ..default()\n },\n ));
\n commands.spawn((\n DirectionalLightBundle {\n transform: Transform::from_xyz(-6.0, 5.0, -9.0)\n .looking_at(Vec3::new(0.0, 0.0, 0.0), Vec3::Y),\n directional_light: DirectionalLight {\n illuminance: 32_000.0,\n shadows_enabled: true,\n ..default()\n },\n ..default()\n },\n VolumetricLight,\n ));
\n commands.spawn((\n SpatialBundle {\n visibility: Visibility::Visible,\ntransform: Transform::from_xyz(0.0, 0.0,\n0.0).with_scale(Vec3::splat(3.0)),\n ..default()\n },\n FogVolume {\ndensity_texture: Some(assets.load(\"volumes/fog_noise.ktx2\")),\n density_texture_offset: Vec3::new(0.0, 0.0, 0.4),\n scattering: 1.0,\n ..default()\n },\n ));\n}\n
read
instead of deprecated iter
(bevyengine#10376)"}},{"before":"bb13d065d36c9b495b755aef2040b43f29a91b79","after":"d67fbd5e90a1eb307dc5493abd475ac172698e2e","ref":"refs/heads/main","pushedAt":"2023-10-31T20:02:39.000Z","pushType":"push","commitsCount":110,"pusher":{"login":"kurtkuehnert","name":"Kurt Kühnert","path":"/kurtkuehnert","primaryAvatarUrl":"https://github.com/avatars/u/51823519?s=80&v=4"},"commit":{"message":"Add helper function to determine if color is transparent (#10310)\n\n# Objective\n\n- We need to check multiple times if a color is fully transparent, e.g.\nfor performance optimizations.\n- Make code more readable.\n- Reduce code duplication, to simplify making changes if needed (e.g. if\nwe need to take floating point weirdness into account later on).\n\n## Solution\n\n- Introduce a new `Color::is_fully_transparent` helper function to\ndetermine if the alpha of a color is 0.\n- Use the helper function in our UI rendering code.\n\n---\n\n## Changelog\n\n- Added `Color::is_fully_transparent` helper function.\n\n---------\n\nCo-authored-by: François once_cell
(bevyengine#10079)"}},{"before":"b44fb647e723585d788413af3120d6ebeb890c59","after":"eb344b167360c2785fec3d7bd57660cc641f706e","ref":"refs/heads/merge_pipeline_ids_and_cached_pipeline_id","pushedAt":"2023-03-09T14:06:06.136Z","pushType":"push","commitsCount":1,"pusher":{"login":"kurtkuehnert","name":"Kurt Kühnert","path":"/kurtkuehnert","primaryAvatarUrl":"https://github.com/avatars/u/51823519?s=80&v=4"},"commit":{"message":"fixed typo","shortMessageHtmlLink":"fixed typo"}},{"before":"4ff62338917578ea883817fdcb26455b394dba57","after":"23b9e185880fa4f61bbf57a8a65bc47f3f3de2ab","ref":"refs/heads/tracked_render_pass_ergonomics","pushedAt":"2023-03-09T14:01:38.349Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"kurtkuehnert","name":"Kurt Kühnert","path":"/kurtkuehnert","primaryAvatarUrl":"https://github.com/avatars/u/51823519?s=80&v=4"},"commit":{"message":"rebased","shortMessageHtmlLink":"rebased"}},{"before":"8101e7c34ba0a76a3abfbe104707c000e4378391","after":"5150e68583734e45d85f5f1a5ea2b53d1fdb0453","ref":"refs/heads/merge_draw_function_and_render_command","pushedAt":"2023-03-09T13:21:12.452Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"kurtkuehnert","name":"Kurt Kühnert","path":"/kurtkuehnert","primaryAvatarUrl":"https://github.com/avatars/u/51823519?s=80&v=4"},"commit":{"message":"rebased","shortMessageHtmlLink":"rebased"}},{"before":"0e3c7c4e755898265e3032c433f7e4ce17e62528","after":"b44fb647e723585d788413af3120d6ebeb890c59","ref":"refs/heads/merge_pipeline_ids_and_cached_pipeline_id","pushedAt":"2023-03-09T13:09:35.495Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"kurtkuehnert","name":"Kurt Kühnert","path":"/kurtkuehnert","primaryAvatarUrl":"https://github.com/avatars/u/51823519?s=80&v=4"},"commit":{"message":"rebased","shortMessageHtmlLink":"rebased"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"Y3Vyc29yOnYyOpK7MjAyNC0wOC0yNFQxMzoyNTo1NC4wMDAwMDBazwAAAASjEMP4","startCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wOC0yNFQxMzoyNTo1NC4wMDAwMDBazwAAAASjEMP4","endCursor":"Y3Vyc29yOnYyOpK7MjAyMy0wMy0wOVQxMzowOTozNS40OTUwOTFazwAAAAL_4zvQ"}},"title":"Activity · kurtkuehnert/bevy"}