|
|
|
|
|
|
surfaceData.ior = 1.0; |
|
|
|
surfaceData.transmittanceColor = float3(1.0, 1.0, 1.0); |
|
|
|
surfaceData.atDistance = 1000000.0; |
|
|
|
surfaceData.transmittanceMask = 1.0; |
|
|
|
surfaceData.transmittanceMask = 0.0; |
|
|
|
|
|
|
|
GetNormalWS(input, V, normalTS, surfaceData.normalWS); |
|
|
|
// Use bent normal to sample GI if available |
|
|
|