Sartaq12 / WaterInteractionPlugin

This is a plugin that integrates Oceanology and FluidNinjaLIVE plugins for Unreal Engine 5
MIT License
75 stars 16 forks source link

[Question] Best way to use my own material? #28

Open APinchofDill opened 2 months ago

APinchofDill commented 2 months ago

First off your plugin for oceanology is amazing. It took a somewhat regrettable purchase into a decently happy one. Thank you so much for putting this plugin together.

I was curious how would I go about using my own water material (its not a child of oceanology material or fluid ninja). So it would be start from the beginning using a water texture i love from a stylized pack not related to oceanology or fluid ninja.

Thanks!

Sartaq12 commented 1 month ago

Hi, thanks for sharing your own journey for finding a water interaction solution :D my own led me to make this plugin and I'm happy to see it's also helping you out.

As for using your own material, it's not much of a problem, I'd suggest you take a look at the Fluidninja water interaction demo scenes, basically what my plugin does is turn off the functionality that is already there to make appearance of water and replace it with OC but keep the interactive elements. So technically I think you could even just implement MF_FluidNinjaFX into your stylized water material, all you'd need is make material attributes node, plug it in and then on MI copy over all the relevant parameters. In the demo scene the ninja actor finds whatever mesh component you wanna use by tag and assign it's configured, generated MID on it, so it should work on any mesh.

Sartaq12 commented 1 month ago

deleted comment because it was duplicate from #29