|
|
|
|
|
|
[GenerateHLSL] |
|
|
|
public class SssConstants |
|
|
|
{ |
|
|
|
public const int SSS_N_PROFILES = 8; // Max. number of profiles, including the slot taken by the neutral profile
|
|
|
|
public const int SSS_N_PROFILES = 16; // Max. number of profiles, including the slot taken by the neutral profile
|
|
|
|
public const int SSS_NEUTRAL_PROFILE_ID = SSS_N_PROFILES - 1; // Does not result in blurring
|
|
|
|
public const int SSS_N_SAMPLES_NEAR_FIELD = 55; // Used for extreme close ups; must be a Fibonacci number
|
|
|
|
public const int SSS_N_SAMPLES_FAR_FIELD = 21; // Used at a regular distance; must be a Fibonacci number
|
|
|
|