Skip to content

Commit

Permalink
smooth shadows - PCF, better depth picking for shadow maps
Browse files Browse the repository at this point in the history
  • Loading branch information
schell committed Feb 10, 2025
1 parent c339e97 commit 2341f24
Show file tree
Hide file tree
Showing 14 changed files with 3,366 additions and 2,344 deletions.
2 changes: 1 addition & 1 deletion crates/example/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use renderling::{
atlas::AtlasImage,
bvol::{Aabb, BoundingSphere},
camera::Camera,
light::{AnalyticalLightBundle, DirectionalLightDescriptor, Light, Lighting},
light::{AnalyticalLightBundle, DirectionalLightDescriptor},
math::{Mat4, UVec2, Vec2, Vec3, Vec4},
skybox::Skybox,
stage::{Animator, GltfDocument, Renderlet, Stage, Vertex},
Expand Down
Binary file modified crates/renderling/shaders/light-shadow_mapping_vertex.spv
Binary file not shown.
178 changes: 89 additions & 89 deletions crates/renderling/shaders/light-shadow_mapping_vertex.wgsl

Large diffs are not rendered by default.

Binary file modified crates/renderling/shaders/stage-renderlet_fragment.spv
Binary file not shown.
Loading

0 comments on commit 2341f24

Please sign in to comment.