crest icon indicating copy to clipboard operation
crest copied to clipboard

Add dyn waves from texture

Open huwb opened this issue 4 years ago • 1 comments

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 avatar Aug 21 '19 20:08 huwb

@moosichu bump :)

huwb avatar Sep 29 '19 21:09 huwb