Implement Shadows #24
No reviewers
Labels
No Label
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: SeanOMik/lyra-engine#24
Loading…
Reference in New Issue
No description provided.
Delete Branch "feat/shadow-maps"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR implements shadows for point lights, spot lights, and directional lights. It also has soft shadows with PCF for all light types, and PCSS for directional lights only.
You can modify the light caster settings with an ecs world resource:
You can also set specific caster settings on individual lights by adding the same struct as a component to the entity that casts the light:
By default, all lights cast shadows, #23 will fix that.