Model Data + Near Plane Dithering + Zone Reveal Fade#1010
Open
RuffledPlume wants to merge 8 commits into
Open
Conversation
c0d0666 to
4ecff48
Compare
4ecff48 to
3058bb3
Compare
aHooder
requested changes
May 9, 2026
bc421e1 to
88d935c
Compare
5df2bdf to
c7d1ced
Compare
efa530b to
c3b9629
Compare
* Created TextureBufferReader to simplify reading Buffers * Added texture_facees.glsl which proves a `getFaceData` which returns a struct Use Macros to build the parser Define the buffer to remove the need to pass it into each read func Dont Align to texal size underlying buffer will always be pow2, so even if its RGB or RGBA it'll fit correctly Implemented ModelData Both static & dynamic models can now sample data specific to that model Ensure ModelDataSize is updated correctly Write less data for models
* Use FragDepth to calculate view depth
* Optimise Bayer matrix, lookup table has initialisation cost
* Implemented Interleaved Gradient Dithering
* https://blog.demofox.org/2022/01/01/interleaved-gradient-noise-a-different-kind-of-low-discrepancy-sequence/
Instead of zone upload jobs being delayed to avoid random reveal, now use dithering to reveal them instead
c3b9629 to
4618659
Compare
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
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.

Uses ordered dithering to fade out geometry that is about to clip with the near plane