Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support per-light angle subtended #1114

Merged
merged 1 commit into from
Mar 5, 2024

Conversation

AnyOldName3
Copy link
Contributor

Adds an extra parameter to directional lights, and exposes it as part of shadow settings so soft shadow implementations can use it.

@AnyOldName3
Copy link
Contributor Author

Here are two directional lights with different penumbra sizes:

image

@robertosfield robertosfield merged commit b52e8f2 into vsg-dev:master Mar 5, 2024
8 checks passed
@robertosfield
Copy link
Collaborator

@AnyOldName3 this PR was missing version guards so I've added them with this commit: 321c1e2

The version guards are essentially for retaining backwards compatibility of .vsgb and .vsgt files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants