|
|
|
|
|
|
LightLoop(V, posInput, preLightData, bsdfData, bakeLightingData, featureFlags, diffuseLighting, specularLighting); |
|
|
|
|
|
|
|
#ifdef OUTPUT_SPLIT_LIGHTING |
|
|
|
if (HaveSubsurfaceScattering(bsdfData)) |
|
|
|
if ((_EnableSubsurfaceScattering != 0) && HaveSubsurfaceScattering(bsdfData)) |
|
|
|
{ |
|
|
|
outColor = float4(specularLighting, 1.0); |
|
|
|
outDiffuseLighting = float4(TagLightingForSSS(diffuseLighting), 1.0); |
|
|
|