Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

One Simple Lava-Effect shader

Discussion in 'Shaders' started by riveranb, Jul 16, 2017.

  1. riveranb

    riveranb

    Joined:
    Jul 16, 2017
    Posts:
    16
    Recently, I just re-wrote one of my shader work onto Unity 5.
    One simplified lava shader (which I wrote OpenGL ES2 version for iOS & Android in the past).

    The shader technique was referenced from the following thread:
    http://irrnetcp.proboards.com/thread/2/lava-shader-hlsl

    Now I had done Unity5 version (not optimized for mobile platform yet), and put on my github.
    Anyone can reference / re-use / modify it and for any purposes, just to give me some feedback and comments if you'd like to.
    Assests(textures) used by that github projects are all found from internet.
    So if any assets is used illegally, please let me know and I'll remove it.

    https://github.com/riveranb/UnityLava

    The shader simply works on planar mesh or something similar, and doing magic brightness and uv-offset adjust works to achieve lava-like effects.
    Computation overhead is quite acceptable for modern mobiles, which was proven on my past game product.