StackDoubleFlow / NoodleExtensions

86 stars 12 forks source link

Fix wall fake glow #81

Closed Lauriethefish closed 2 months ago

Lauriethefish commented 2 months ago

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.