disable shadows on selectagon
This commit is contained in:
parent
1dadfd5770
commit
eaddfcd8cc
|
@ -11,6 +11,7 @@
|
|||
// This module manages the heads-up display and augmented reality overlays.
|
||||
|
||||
use crate::{actor, audio, camera, chat, nature, skeleton, var};
|
||||
use bevy::pbr::{NotShadowCaster, NotShadowReceiver};
|
||||
use bevy::prelude::*;
|
||||
use bevy::diagnostic::{DiagnosticsStore, FrameTimeDiagnosticsPlugin};
|
||||
use bevy::transform::TransformSystem;
|
||||
|
@ -493,6 +494,8 @@ fn setup(
|
|||
// Selectagon
|
||||
let mut entitycmd = commands.spawn((
|
||||
Selectagon,
|
||||
NotShadowCaster,
|
||||
NotShadowReceiver,
|
||||
SpatialBundle {
|
||||
visibility: Visibility::Hidden,
|
||||
..default()
|
||||
|
|
Loading…
Reference in a new issue