mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 20:53:53 +00:00
Use a smaller shadow map resolution
This commit is contained in:
parent
5d317f4f95
commit
8cab96948f
1 changed files with 1 additions and 0 deletions
|
@ -39,6 +39,7 @@ fn main() {
|
|||
|
||||
app.add_plugins(DefaultPlugins)
|
||||
.insert_resource(ClearColor(Color::BLACK))
|
||||
.insert_resource(PointLightShadowMap { size: 2048 })
|
||||
.insert_resource(AmbientLight {
|
||||
brightness: 0.0,
|
||||
..default()
|
||||
|
|
Loading…
Reference in a new issue