Unity-Technologies/com.unity.demoteam.hair

Density Map not fully respected

qlee01 opened this issue · 1 comments

qlee01 commented

Hey, when using a density map for procedural hair generation, strands appear also in areas where the texture is completely black. In principial, the density works, but there seems to be no way (?) to completely omit areas of the mesh using the density map (only way I found was using the same texture on "Mapped Parameters", making the strands invisible due to zero length / diameter).

Hi. I remember thinking this might eventually be the case when I originally added this feature. :) It is true that zero does not mean void -- I will try to think of a solution next time I do a pass over the procedural placement section. (It's apparent to me that some other tweaks and additions would be useful there as well, such as supporting tangent space mapped direction, and an option to supply a vector field from which to sample the flow of strands.)