Signed-off-by: Santi Paprika <santi.gonzalez.cs@gmail.com>
This commit is contained in:
Santi Paprika
2022-01-04 09:49:15 +01:00
parent 60ec8c3cfb
commit 7052b99671
@@ -25,6 +25,7 @@ float3 TransmissionKernel(float t, float3 s)
// [specific profile for SKIN (not used ATM, replaced by TransmissionKernel)]
// Analytical integation (approximation) of diffusion profile over radius, could be precomputed in a LUT
// From d'Eon and Luebke (https://developer.nvidia.com/gpugems/gpugems3/part-iii-rendering/chapter-14-advanced-techniques-realistic-real-time-skin, section 14.4.7)
float3 T(float s)
{
// dipoles and multipoles are approximated with sums of a small number of Gaussians with variable weights and variances