Expand description
Per-scene shadow and post-processing settings. Plain data: the renderer reads them every
frame, scripts change them through crate::script::Ctx (ctx.post(), ctx.shadows()).
use kvas_engine::fx::PostSettings;
let mut post = PostSettings::default();
post.bloom = 0.6;
assert!(post.any());Structs§
- Post
Effect - A custom full-screen shader applied to the camera image (see
shaders/fxin a project). - Post
Settings - Screen-space effects applied after the scene is drawn. 0 turns an effect off.
- Shadow
Settings - Sun shadow quality and look.
Enums§
- Upscaler
- How a reduced render scale is brought back to the window size.