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

Get color from the position of mesh.

Discussion in 'Graphics for ECS' started by amdroid135, Jun 10, 2021.

  1. amdroid135

    amdroid135

    Joined:
    Apr 20, 2021
    Posts:
    3
    I took the collision contact position by running the physics collider cast.

    In legacy, colors are taken from polygons at the contact point to material index.

    How do I read the color of the material of the contact position of mesh? (in pure ECS)
     
    Last edited: Jun 11, 2021