Skip to content
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

Adding noise3d support #8

Open
vorg opened this issue Sep 4, 2023 · 4 comments
Open

Adding noise3d support #8

vorg opened this issue Sep 4, 2023 · 4 comments

Comments

@vorg
Copy link
Member

vorg commented Sep 4, 2023

e.g.

 function noise3D(x, y, z, out) {
    out[0] = random.noise3(x, y, z);
    out[1] = random.noise3(y - 19.1, z + 33.4, x + 47.2);
    out[2] = random.noise3(z + 74.2, x - 124.5, y + 99.4);
    return out;
  }
@dmnsgn
Copy link
Member

dmnsgn commented Sep 4, 2023

And curl noise too?

@vorg
Copy link
Member Author

vorg commented Feb 5, 2024

Yes. We should probably think of compatibility with pex-shaders if possible.

@dmnsgn
Copy link
Member

dmnsgn commented Feb 5, 2024

Yes. We should probably think of compatibility with pex-shaders if possible.

Or not as prng/seeds would be different (unless...?).

@vorg
Copy link
Member Author

vorg commented Feb 5, 2024

You could check if prng is possible but i guess it would be driver specific ...

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

No branches or pull requests

2 participants