-
-
Notifications
You must be signed in to change notification settings - Fork 21
feat: @typegpu/sdf package #1428
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
Conversation
pkg.pr.new packages
benchmark commit |
apps/typegpu-docs/src/content/examples/rendering/ray-marching/index.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work!
apps/typegpu-docs/src/content/examples/rendering/ray-marching/index.ts
Outdated
Show resolved
Hide resolved
const resolution = root.createUniform(d.vec2f); | ||
|
||
const MAX_STEPS = 1000; | ||
const MAX_DIST = 500; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! The spherical world effect messes with my head a bit though, since the checkerboard is not distorted to go around a spherical world. What if we added a fog instead?
Screen.Recording.2025-07-04.at.15.58.25.mov
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if you're not aware of this masterpiece, highly recommend reading https://iquilezles.org/articles/checkerfiltering/
No description provided.