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

Fix wall fake glow #81

Merged

Conversation

Lauriethefish
Copy link
Contributor

This PR re-enables and fixes the fake glow on walls.
Obviously re-enabling fake glow looked dumb with no changes so I re-enabled Kaitlyn's fix which made all the glow ridiculously large (filling the whole headset FOV).
Seems like that was caused by negative wall durations causing very large in magnitude but negative wall lengths, so taking the abs of the length allowed things to look more reasonable again.

Zero-duration walls then had no outlines which also looked dumb so I made it so that the smallest dimension is clamped to 0.1f when calculating the edge size multiplier.
This led to the following result.

@Fernthedev Fernthedev merged commit e4f18e4 into StackDoubleFlow:master Jul 9, 2024
1 check passed
@Fernthedev Fernthedev mentioned this pull request Jul 9, 2024
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