|
|
|
|
|
|
// UnityEngine.Experimental.Rendering.HDPipeline.Lit+RefractionMode: static fields |
|
|
|
// |
|
|
|
#define REFRACTIONMODE_NONE (0) |
|
|
|
#define REFRACTIONMODE_THICK_PLANE (1) |
|
|
|
#define REFRACTIONMODE_THICK_SPHERE (2) |
|
|
|
#define REFRACTIONMODE_THIN_PLANE (3) |
|
|
|
#define REFRACTIONMODE_PLANE (1) |
|
|
|
#define REFRACTIONMODE_SPHERE (2) |
|
|
|
|
|
|
|
// |
|
|
|
// UnityEngine.Experimental.Rendering.HDPipeline.Lit+SurfaceData: static fields |
|
|
|
|
|
|
#define DEBUGVIEW_LIT_SURFACEDATA_IOR (1016) |
|
|
|
#define DEBUGVIEW_LIT_SURFACEDATA_TRANSMITTANCE_COLOR (1017) |
|
|
|
#define DEBUGVIEW_LIT_SURFACEDATA_AT_DISTANCE (1018) |
|
|
|
#define DEBUGVIEW_LIT_SURFACEDATA_REFRACTION_MASK (1019) |
|
|
|
#define DEBUGVIEW_LIT_SURFACEDATA_OPACITY_MASK (1019) |
|
|
|
|
|
|
|
// |
|
|
|
// UnityEngine.Experimental.Rendering.HDPipeline.Lit+BSDFData: static fields |
|
|
|
|
|
|
#define DEBUGVIEW_LIT_BSDFDATA_COAT_IOR (1050) |
|
|
|
#define DEBUGVIEW_LIT_BSDFDATA_IOR (1051) |
|
|
|
#define DEBUGVIEW_LIT_BSDFDATA_ABSORPTION_COEFFICIENT (1052) |
|
|
|
#define DEBUGVIEW_LIT_BSDFDATA_REFRACTION_MASK (1053) |
|
|
|
#define DEBUGVIEW_LIT_BSDFDATA_OPACITY_MASK (1053) |
|
|
|
|
|
|
|
// |
|
|
|
// UnityEngine.Experimental.Rendering.HDPipeline.Lit+GBufferMaterial: static fields |
|
|
|
|
|
|
float ior; |
|
|
|
float3 transmittanceColor; |
|
|
|
float atDistance; |
|
|
|
float refractionMask; |
|
|
|
float opacityMask; |
|
|
|
}; |
|
|
|
|
|
|
|
// Generated from UnityEngine.Experimental.Rendering.HDPipeline.Lit+BSDFData |
|
|
|
|
|
|
float coatIOR; |
|
|
|
float ior; |
|
|
|
float3 absorptionCoefficient; |
|
|
|
float refractionMask; |
|
|
|
float opacityMask; |
|
|
|
}; |
|
|
|
|
|
|
|
// |
|
|
|
|
|
|
case DEBUGVIEW_LIT_SURFACEDATA_AT_DISTANCE: |
|
|
|
result = surfacedata.atDistance.xxx; |
|
|
|
break; |
|
|
|
case DEBUGVIEW_LIT_SURFACEDATA_REFRACTION_MASK: |
|
|
|
result = surfacedata.refractionMask.xxx; |
|
|
|
case DEBUGVIEW_LIT_SURFACEDATA_OPACITY_MASK: |
|
|
|
result = surfacedata.opacityMask.xxx; |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
case DEBUGVIEW_LIT_BSDFDATA_ABSORPTION_COEFFICIENT: |
|
|
|
result = bsdfdata.absorptionCoefficient; |
|
|
|
break; |
|
|
|
case DEBUGVIEW_LIT_BSDFDATA_REFRACTION_MASK: |
|
|
|
result = bsdfdata.refractionMask.xxx; |
|
|
|
case DEBUGVIEW_LIT_BSDFDATA_OPACITY_MASK: |
|
|
|
result = bsdfdata.opacityMask.xxx; |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|