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

Perfomance tips #3

Open
lgarczyn opened this issue Mar 29, 2020 · 3 comments
Open

Perfomance tips #3

lgarczyn opened this issue Mar 29, 2020 · 3 comments

Comments

@lgarczyn
Copy link

Hey, been playing around with your shader, there are two major ways I've improved performances:

  • Stop setting every single parameter of the shader every single frame. I got double the framerate by fixing that.

  • Worley noise is basically a signed distance field. You can dramatically reduce artifacts and increase performances by changing the step size depending on density (negative and positive)

@Finn1510
Copy link

sounds awesome ! Maybe you can fork the project and apply your changes ?

@Ceebox
Copy link

Ceebox commented Jul 4, 2020

@lgarczyn I would love to see the code that you have written to fix this!

@lgarczyn
Copy link
Author

lgarczyn commented Jul 4, 2020

@Ceebox it's in my fork, but I'll try to make a clean PR this Sunday

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

3 participants