Skip to content

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

Merged
merged 15 commits into from
Jun 17, 2025
Merged

docs: "Caustics" example #1373

merged 15 commits into from
Jun 17, 2025

Conversation

iwoplaza
Copy link
Collaborator

No description provided.

Copy link

github-actions bot commented Jun 16, 2025

pkg.pr.new

packages

pnpm i https://pkg.pr.new/software-mansion/TypeGPU/typegpu@1373
pnpm i https://pkg.pr.new/software-mansion/TypeGPU/typegpu@5f26547c5dbdbf847040c4d64cb8185f33f70709

benchmark
view benchmark

commit
view commit

@iwoplaza iwoplaza marked this pull request as ready for review June 17, 2025 13:10
Copy link
Contributor

@mhawryluk mhawryluk left a 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)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// Generating two layers of caustics (large scale, and small scale)
// Generating two layers of caustics (large scale and small scale)

Copy link
Contributor

@aleksanderkatan aleksanderkatan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another amazing example!

Copy link
Contributor

@reczkok reczkok left a 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.

@iwoplaza iwoplaza merged commit 37c489b into release Jun 17, 2025
6 checks passed
@iwoplaza iwoplaza deleted the docs/caustics-example branch June 17, 2025 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants