Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Unity 2022.2 is now available as the latest Tech release.
    Dismiss Notice
  3. We are making some changes to the DOTS forums.
    Dismiss Notice
  4. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

Feature Request Collide with texture

Discussion in 'Visual Effect Graph' started by Qriva, Jun 27, 2022.

  1. Qriva

    Qriva

    Joined:
    Jun 30, 2019
    Posts:
    749
    Can we get node allowing to collide particles with texture? I mean something like collide with depth, but surface is determined by texture alpha (or other channel).

    I see it as some kind of extension of Collide with Plane - there is plane to determine the surface, but also there would be additional slot for texture. This texture would be used to "displace" surface of this plane by given amount. If this is too much I would be happy with the most simple version where plane is facing upwards, so it's possible to set approximation of the ground.
     
  2. timmehhhhhhh

    timmehhhhhhh

    Joined:
    Sep 10, 2013
    Posts:
    152
  3. Qriva

    Qriva

    Joined:
    Jun 30, 2019
    Posts:
    749
    Well, it's doable, however I don't need it to be in 3d - wasting memory on texture 3D does not sound like good idea (to get the same precision as texture I would need 256 layers on Y).
    Also I am not sure how fast this bake tool is, but I don't think it will be fast enough to do this every frame or couple of frames, especially if there are many meshes to bake. Instead I would just need ortographic camera to bake such a texture.