I'm wondering how I could create a shader that would turn a randomly generated shape like this: enter image description here

And turn it into something more like this: enter image description here

Essentially just creating a top down view of ocean waves that would flow in and out. I would prefer to be able to subtract this shape from a tilemap.

enter image description here

Any resources or pseudo code on how I could get started with this would be great.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.