Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

WebGLRenderer: Added HTMLTexture.#31233

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
mrdoob wants to merge3 commits intodev
base:dev
Choose a base branch
Loading
fromhtmltexture
Draft

WebGLRenderer: Added HTMLTexture.#31233

mrdoob wants to merge3 commits intodevfromhtmltexture

Conversation

mrdoob
Copy link
Owner

@mrdoobmrdoob commentedJun 6, 2025
edited
Loading

Description

This is just a quick test adding support for theHTML-in-Canvas proposal.

Screenshot 2025-06-06 at 4 39 18 PM

https://raw.githack.com/mrdoob/three.js/htmltexture/examples/webgl_materials_texture_html.html

(Requires passing --enable-blink-features=CanvasDrawElement to Chrome Canary versions later than 138.0.7175.0)

Here's a jsfiddle for anyone that wants to experiment with this:https://jsfiddle.net/ysw4dtbq/

sunag, nsalminen, and bandinopla reacted with heart emojisunag, Makio64, and nsalminen reacted with rocket emojiMugen87, seantai, yomotsu, and nsalminen reacted with eyes emoji
@github-actionsGitHub Actions
Copy link

📦 Bundle size

Full ESM build, minified and gzipped.

BeforeAfterDiff
WebGL337.4
78.67
337.73
78.76
+332 B
+82 B
WebGPU553.89
153.48
553.9
153.49
+12 B
+6 B
WebGPU Nodes553.24
153.32
553.26
153.33
+12 B
+7 B

🌳 Bundle size after tree-shaking

Minimal build including a renderer, camera, empty scene, and dependencies.

BeforeAfterDiff
WebGL468.59
113.33
468.91
113.4
+320 B
+78 B
WebGPU628.86
170.19
628.86
170.19
+0 B
+0 B
WebGPU Nodes583.72
159.53
583.72
159.53
+0 B
+0 B

@Makio64
Copy link
Contributor

so weird, but also so usefull!

mrdoob reacted with thumbs up emoji

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@mrdoob@Makio64

[8]ページ先頭

©2009-2025 Movatter.jp