Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Material look to lava
#3
(30-10-2017, 05:29 PM)aldo_manetti Wrote: Hi, I bought the obi fluid and it works really well.Bu t I have 2 doubts in which I would like a guide.

-To the liquid I need to give it a look like lava, is there a way to add textures to the material? to achieve a similar result:
http://static0.misionesonline.net/wp-con...ophm0g.jpg

- What is the best way to activate the fluid, I currently have a prefab off and active when I need it to start to drain, but it does not work, it will not render particles, but they exist in the editor (like a gizmo mesh)


many thanks

Hi Aldo,

None of the existing 3D realtime fluid rendering techniques that I'm aware of support texturing the surface (as that would require using level-set based mesh generation or texture advection, which are very expensive things to do). Mesh generation is generally done using the marching cubes algorithm (really expensive compared to the screen-space based approach used by Obi) and texture advection would be needed to make the texture "crawl" across the surface, following the fluid dynamics, like this:

https://vimeo.com/88171240

Consider writing a custom fluid shader that applies a lava-like effect in screen space (would look rather 2D-like), or volumetric procedural texturing in world space (more 3D looking, but still lacking advection), these are your best (and only, imho) bets. However both require certain expertise with shader writing.
Reply


Messages In This Thread
Material look to lava - by aldo_manetti - 30-10-2017, 05:29 PM
RE: Material look to lava - by Avotas - 14-12-2017, 04:39 AM
RE: Material look to lava - by josemendez - 17-12-2017, 01:26 PM