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

Ported the stroke shader to WebGPU renderer#7915

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

Merged
davepagurek merged 20 commits intoprocessing:webgpufromlukeplowden:webgpu
Jun 16, 2025
Merged
Changes from1 commit
Commits
Show all changes
20 commits
Select commitHold shift + click to select a range
77a9733
added stroke shader, currently not working
lukeplowdenJun 14, 2025
5db2d33
changed drawbuffers to draw stroke and fill buffers depending on curr…
lukeplowdenJun 16, 2025
a116e6f
fixed uViewport uniform (uniform problem fixed in upstream)
lukeplowdenJun 16, 2025
ddfeb05
remove console log
lukeplowdenJun 16, 2025
14f1857
remove unused variable
lukeplowdenJun 16, 2025
2c19cdc
remove hardcoded viewport (uniform issue fixed upstream)
lukeplowdenJun 16, 2025
e7696f0
fix stroke shader bugs from porting process)
lukeplowdenJun 16, 2025
ed88f91
stroke test
lukeplowdenJun 16, 2025
186f423
Merge remote-tracking branch 'upstream/webgpu' into webgpu
lukeplowdenJun 16, 2025
1e9b308
Merge remote-tracking branch 'upstream/webgpu' into webgpu
lukeplowdenJun 16, 2025
4dc493d
add stroke to preview
lukeplowdenJun 16, 2025
d88fba9
change stroke shader constants/ preprocessor to be compatible with we…
lukeplowdenJun 16, 2025
c48977a
rename fillHooks to populateHooks (ambiguous with fill/stroke)
lukeplowdenJun 16, 2025
f0875d7
add strokes back to WebGL mode
lukeplowdenJun 16, 2025
e8bedfc
add strokes back to WebGL mode
lukeplowdenJun 16, 2025
0b50257
missing }
lukeplowdenJun 16, 2025
0af8df9
typo in string
lukeplowdenJun 16, 2025
f120ad9
typo in string
lukeplowdenJun 16, 2025
1474c97
Merge branch 'webgpu' of github.com:lukeplowden/p5.js into webgpu
lukeplowdenJun 16, 2025
468b638
multiply alpha after hook
lukeplowdenJun 16, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
typo in string
  • Loading branch information
@lukeplowden
lukeplowden committedJun 16, 2025
commit0af8df9e37e94f189bbeb8945f581872fb9639b4
2 changes: 1 addition & 1 deletionsrc/webgpu/p5.RendererWebGPU.js
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -675,7 +675,7 @@ class RendererWebGPU extends Renderer3D {
new RegExp(`struct\\s+${structName}\\s*\\{([^\\}]+)\\}`)
);
if (!structMatch) {
throw new Error(`Can't find a structdefnition for ${structName}`);
throw new Error(`Can't find a structdefinition for ${structName}`);
}

const structBody = structMatch[1];
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp