-
-
Notifications
You must be signed in to change notification settings - Fork 21
docs: "Caustics" example #1373
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
docs: "Caustics" example #1373
Conversation
pkg.pr.new packages
benchmark commit |
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.
Awesome! 🏊♂️
uv.x * (std.pow(uv.y * 1.5, 3) + 0.1) * 5, | ||
std.pow((uv.y * 1.5 + 0.1) * 1.5, 3) * 1, | ||
); | ||
// Generating two layers of caustics (large scale, and small scale) |
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.
// Generating two layers of caustics (large scale, and small scale) | |
// Generating two layers of caustics (large scale and small scale) |
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.
Another amazing example!
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.
Looks nice 💜 I would consider making the triangle bigger or moving to a square but it's good as it is too.
apps/typegpu-docs/src/content/examples/rendering/caustics/index.ts
Outdated
Show resolved
Hide resolved
…x.ts Co-authored-by: reczkok <[email protected]>
No description provided.