FreshRSS

Normální zobrazení

Jsou dostupné nové články, klikněte pro obnovení stránky.
PředevčíremHlavní kanál
  • ✇Recent Questions - Game Development Stack Exchange
  • Creating nose snot/cough splashed effect on cameramosharaf13
    I want to create a nose snot/cough/vomit splash effect on camera. The idea is that during gameplay NPC is gonna perform those actions on my first person view player. I was trying to modify below shader to have desired effect but I am struggling to change the color and position of droplets. https://github.com/yumayanagisawa/Unity-Raindrops https://github.com/yumayanagisawa/Unity-Raindrops/blob/master/Raindrop/Assets/Raindrop.shader Here's what I am trying to achieve Change position of droplets
     

Creating nose snot/cough splashed effect on camera

I want to create a nose snot/cough/vomit splash effect on camera. The idea is that during gameplay NPC is gonna perform those actions on my first person view player. I was trying to modify below shader to have desired effect but I am struggling to change the color and position of droplets.

https://github.com/yumayanagisawa/Unity-Raindrops

https://github.com/yumayanagisawa/Unity-Raindrops/blob/master/Raindrop/Assets/Raindrop.shader

Current state of the shader

Here's what I am trying to achieve

  1. Change position of droplets so that there is one or two blob in the middle and other droplets are splashing from it.
  2. Change color of the droplets to have beige tone.
  3. Remove vertical lines (Those are only appearing when I am using lerp at the end of the frag. Guessing it's a performance issue)
❌
❌