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

Resolved How To Apply Light Probes To Skinned Mesh?

Discussion in 'General Graphics' started by l33t_P4j33t, Dec 20, 2020.

  1. l33t_P4j33t

    l33t_P4j33t

    Joined:
    Jul 29, 2019
    Posts:
    232
    so in material property block,
    doing
    Code (CSharp):
    1. block.CopySHCoefficientArraysFrom(SphericalHarmonicsL2[] ..);
    works perfectly but only for non skinned meshes.
    how do you provide light probe information to skinned meshes? how does unity do it?




    reading this, my thought is that lightprobes don't actually work with skinned renderer and that it somehow creates an invisible probe proxy volume at runtime out of the light probe information and applies it to the rig character? but i really have no idea. tried doing everything with the material property block, and nothing works.

    its always pitch black and isn't lit by light probes
     
  2. l33t_P4j33t

    l33t_P4j33t

    Joined:
    Jul 29, 2019
    Posts:
    232
    wait nvm i don't care anymore. got it to work within the dots framework