|
|
|
|
|
|
//diffuseLighting = lighting.direct.diffuse + bakeLightingData.bakeDiffuseLighting; |
|
|
|
break; |
|
|
|
|
|
|
|
case DEBUGLIGHTINGMODE_INDIRECT_DIFFUSE_OCCLUSION_FROM_SSAO: |
|
|
|
case DEBUGLIGHTINGMODE_INDIRECT_DIFFUSE_OCCLUSION: |
|
|
|
case DEBUGLIGHTINGMODE_INDIRECT_SPECULAR_OCCLUSION_FROM_SSAO: |
|
|
|
case DEBUGLIGHTINGMODE_INDIRECT_SPECULAR_OCCLUSION: |
|
|
|
#if GTAO_MULTIBOUNCE_APPROX |
|
|
|
case DEBUGLIGHTINGMODE_INDIRECT_DIFFUSE_GTAO_FROM_SSAO: |
|
|
|
//diffuseLighting = GTAOMultiBounce(indirectAmbientOcclusion, bsdfData.diffuseColor); |
|
|
|
break; |
|
|
|
|
|
|
|
case DEBUGLIGHTINGMODE_INDIRECT_SPECULAR_GTAO_FROM_SSAO: |
|
|
|
//diffuseLighting = GTAOMultiBounce(specularOcclusion, bsdfData.fresnel0); |
|
|
|
break; |
|
|
|
#endif |
|
|
|
|
|
|
|
//diffuseLighting = lighting.indirect.specularTransmitted; |
|
|
|
// diffuseLighting = lighting.indirect.specularTransmitted; |
|
|
|
//diffuseLighting = bsdfData.diffuseColor; |
|
|
|
diffuseLighting = bsdfData.diffuseColor; |
|
|
|
specularLighting = float3(0.0, 0.0, 0.0); // Disable specular lighting |
|
|
|
} |
|
|
|
|
|
|
|