Search Unity

Question fire extinguisher smoke like in teardown game

Discussion in 'Shaders' started by Perfogy, Dec 15, 2023.

  1. Perfogy

    Perfogy

    Joined:
    Aug 15, 2022
    Posts:
    3
    first of all im using the URP (Universal render pipeline)


    I am making a physics game with various physics simulations and i wanted to make smoke like in teardown
    also im am a total noob at shaders in unity


    something like that

    PS this is my first unity forum post
     
  2. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,411
    could try with particle system first,
    it has option to enable collisions (and sending event into collider object),
    so you can detect what object it hits (if you want to put down fire for example).

    minimal tutorial,
     
  3. Perfogy

    Perfogy

    Joined:
    Aug 15, 2022
    Posts:
    3
    but i want like that fluffy thing and i want it to be 3d
     
  4. wwWwwwW1

    wwWwwwW1

    Joined:
    Oct 31, 2021
    Posts:
    768
    There's a volumetric effect tutorial in this official URP e-book, might be a good starting point of your own volumetric smoke particle effect (applying the shader graph to VFX graph with mesh output).
     
  5. Perfogy

    Perfogy

    Joined:
    Aug 15, 2022
    Posts:
    3
    but it is very laggy when i am close to it