Skip to content

Commit

Permalink
feat(samples): add directional shadows to shadows sample
Browse files Browse the repository at this point in the history
  • Loading branch information
tomas7770 committed Sep 30, 2024
1 parent ab27b1d commit 62c4a74
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions engine/samples/render/shadows/assets/main.cubos
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,25 @@
"z": 0.0
},
"cubos::engine::SpotShadowCaster": {}
},
"sun": {
"cubos::engine::DirectionalLight": {
"color": {
"x": 1.0,
"y": 1.0,
"z": 1.0
},
"intensity": 0.5
},
"cubos::engine::Rotation": {
"w": -0.5263455,
"x": -0.7605053,
"y": -0.3802527,
"z": 0.0
},
"cubos::engine::DirectionalShadowCaster": {
"maxDistance": 100.0
}
}
}
}

0 comments on commit 62c4a74

Please sign in to comment.