-
-
Notifications
You must be signed in to change notification settings - Fork 662
feat(texture): generalize Texture2d + setTexture(assets) + renderer.toFrameTexture() (closes #1544) #1543
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
feat(texture): generalize Texture2d + setTexture(assets) + renderer.toFrameTexture() (closes #1544) #1543
Changes from 5 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
ab309b7
feat(texture): generalize the Texture2d contract + setTexture accepts…
obiot 472caec
test: Canvas-stub coverage for setTexture(Texture2d)
obiot 9923a33
fix(shader): setUniform/setTexture no longer drop values while disabled
obiot 0baac96
fix(shader): keep the destroy() no-op guard on the ungated setters
obiot 912cd3b
refactor(texture): address PR #1543 review — opaque type, unit reuse,…
obiot 7c764c6
feat(renderer): toFrameTexture() — GPU frame capture as a Texture2d (…
obiot cc00415
feat(examples): Aquarium — toFrameTexture screen-space refraction; fi…
obiot 79af16b
feat(examples): port the contributor's aquarium to toFrameTexture (re…
obiot 238b00d
refactor(toFrameTexture): address PR #1543 review round 2
obiot ce66be3
refactor(toFrameTexture): address PR #1543 review round 3
obiot c3b71c1
fix(examples): smooth fish movement in aquarium (subPixel rendering)
obiot 36d70e5
fix(examples): soften the default water ripple strength in aquarium
obiot 0f190bd
refactor(renderer): declare toFrameTexture on the base Renderer
obiot 4e9a2c2
fix(webgl): toFrameTexture must not corrupt lit-batcher normal-map units
obiot 01da107
fix(webgl): invalidate ALL directly-bound top units, not just the cap…
obiot d8ff819
refactor(toFrameTexture): PR review — target/region validation, docs,…
obiot abecc20
test(toFrameTexture): harden the added tests to be genuinely adversarial
obiot e6574b5
refactor(toFrameTexture): region accepts a Bounds, not a Rect
obiot e6838f7
test(toFrameTexture): dedicated adversarial rect.getBounds() region test
obiot f50a26e
chore(toFrameTexture): final PR review — CHANGELOG, RGB comment, inva…
obiot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.