Hi guys,
Going over the code we assume that intention was to compute: #fibers = distance / (strand radius + spacing between strands) but due to a typo used multiplication instead of addition.
Was that indeed a typo or intentional?
|
float numFibers = fDepthDistanceWS / (fFiberSpacing * fFiberRadius); // fiberSpacing + fiberRadius is total distance from 1 fiber to another |
Hi guys,
Going over the code we assume that intention was to compute: #fibers = distance / (strand radius + spacing between strands) but due to a typo used multiplication instead of addition.
Was that indeed a typo or intentional?
TressFX/src/Shaders/TressFXLighting.hlsl
Line 196 in ba0bdac