Unity-Technologies/com.unity.demoteam.hair

Feature request / clarification: Translation of density probe texture

qlee01 opened this issue · 1 comments

Hi,

I figure out that, using the density probe, I can create some very cheap and still good looking shadows (by sampling inside shader). However, it seems the three Texture3D (Density / Motion / Scattering) seem to be AABB aligned and don't translate with the hair instance, at least not on rotation. Would this be something to consider? Not sure if it makes sense, but right now I get some artifacts which seems to be the grid of the Density Texture3D if the hair rotates, I guess also the other stuff like scattering could benefit from the textures being translated in sync with the hair instance.

image

Yes, unreal engine does this. I tried it too. I don't have much experience with raymarch shaders, but the result is promising.