Search Unity

  1. Looking for a job or to hire someone for a project? Check out the re-opened job forums.
    Dismiss Notice
  2. Unity 2020 LTS & Unity 2021.1 have been released.
    Dismiss Notice
  3. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Resolved Interaction between vfx and grass on mobile platform

Discussion in 'Shaders' started by Fedrov, Feb 22, 2021.

  1. Fedrov

    Fedrov

    Joined:
    Sep 4, 2020
    Posts:
    14
    Hello everyone, so recently i have been trying to create an interaction between grass and weapon special effect.I found a similar reference but it is done in UE(which i dont have any experience about..)
    Here is the link: https://www.unrealengine.com/marketplace/en-US/product/dynamic-grass-system

    because i want this effect to be able to run on mobile platform, I choose to use the unity terrian system and it's tree detail to paint the grass meshes (geometry shader on mobile is poorly supported and billborad method uses alphatest which is not very optimized on mobile platform)

    Here is my problem: is it possible to pass particles position to the shader and perform vertex offset? Or is there any better solution?
     
  2. Fedrov

    Fedrov

    Joined:
    Sep 4, 2020
    Posts:
    14
    UkEArwoHxQ.png

    Here is the reference img
     
unityunity