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

Add dyn waves from texture #328

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

huwb
Copy link
Contributor

@huwb huwb commented Aug 21, 2019

As discussed with @holdingjason on discord.

Adds a shader to inject dynamic waves from a texture (similar to add foam from texture).

Was almost straightforward, but its annoying the _SimDeltaTime needs to be set to integrate the forces into the sim correctly. An alternative approach would be to make it a global shader var which may save costs in some ways, but i felt it was unnecessary to go global with it.

Let me know what you think

@huwb huwb requested a review from moosichu August 21, 2019 20:07
@huwb
Copy link
Contributor Author

huwb commented Sep 29, 2019

@moosichu bump :)

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.

1 participant