-
Notifications
You must be signed in to change notification settings - Fork 217
Some GC reductions #698
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
Merged
Merged
Some GC reductions #698
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sdBox version of [RadialGradient] This is an implemetation of the signed distance field "Box - Exact" desbribed in the "2D distance functions" article on Inigo Quilez's website.
sdBox function is replaced by sdRoundedBox
plus presets
# Conflicts: # .Variations/dc2273a7-8a54-4e6f-8d8e-9a675c1ef599.var # Operators/Types/lib/img/generate/BoxGradient.cs # Operators/Types/lib/img/generate/BoxGradient_dc2273a7-8a54-4e6f-8d8e-9a675c1ef599.t3 # Operators/Types/lib/img/generate/BoxGradient_dc2273a7-8a54-4e6f-8d8e-9a675c1ef599.t3ui # Operators/Types/lib/img/generate/NGonGradient.cs # Operators/Types/lib/img/generate/NGonGradient_05463270-37d4-400f-8d0d-c50f81663304.t3 # Operators/Types/lib/img/generate/NGonGradient_05463270-37d4-400f-8d0d-c50f81663304.t3ui
…ut field background color
This allows to reduce the size of region where at point lighth as max intensity. Previously without this option, increasing the decay rate would not reduce the radius of that region below roughly 0.6 distance units). float intensity = Lights[i].intensity / (pow(distance / Lights[i].range, Lights[i].decay) + 1);
…on ops like [ParticleSystem] when rendering videos with low fps
…oming in mini map
# Conflicts: # Operators/Types/lib/anim/Accumulator.cs
…xt state) Make OutputMergerStage operator restore state properly (and avoir an hidden alloc) Cache windows to draw in Window to avoid creating and array every frame
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello,
here are a few GC reduction fixes.
Better caching on some states + avoid List + foreach on Window rendering