#Using Bloom in camera 3d doesn't work get me dark screen
19 messages · Page 1 of 1 (latest)
post the spawn command
fn default() -> Self {
Self {
camera3d: Camera3d::default(),
camera_shake_config: CameraShakeConfig {
trauma_decay_per_second: TRAUMA_DECAY_PER_SECOND,
exponent: TRAUMA_EXPONENT,
max_angle: MAX_ANGLE,
max_translation: MAX_TRANSLATION,
noise_speed: NOISE_SPEED,
},
camera: Camera{
clear_color: ClearColorConfig::Custom(Color::BLACK),
..default()
},
render_layers: RenderLayers::from_layers(&[0, 1]),
// atmosphere: Atmosphere::EARTH,
// atmosphere_settings: AtmosphereSettings {
// rendering_method: AtmosphereMode::Raymarched,
// ..default()
// },
//atmosphere_camera: AtmosphereCamera::default(),
name: Name::new("Player Camera"),
transform: Transform {
translation: Vec3::new(0.,13.6,-20.6 ),
rotation: Quat::from_euler(EulerRot::XYZ,-2.8,0.,-3.124),
..default()
},
input_map: InputMap::default()
.with_axis(Action::Zoom, MouseScrollAxis::Y),
fps_camera: FPSCamera,
ui_camra_marker: UiCameraMarker,
is_default_ui_camera: IsDefaultUiCamera,
hdr: Hdr,
tone_mapping: Tonemapping::TonyMcMapface,
bloom: Bloom::NATURAL,
}
}
}```
by adding Bloom nothing appears
what are the features of bevy?
should I add special features?
bevy = {version = "0.17.3", features=["file_watcher","hotpatching","track_location", "debug"]}
yes I have 2d camera to menu
and 3d camera to inplay
I found this bevy_post_process feature
should I add this to features?
iirc you might need to set Hdr for all cameras
i recall something strange like that