|
|
|
|
|
|
#include "CoreRP/ShaderLibrary/Sampling/SampleUVMapping.hlsl" |
|
|
|
#include "HDRP/Material/MaterialUtilities.hlsl" |
|
|
|
#include "HDRP/Material/BuiltinUtilities.hlsl" |
|
|
|
#include "HDRP/Material/Decal/DecalUtilities.hlsl" |
|
|
|
|
|
|
|
void GetSurfaceAndBuiltinData(FragInputs input, float3 V, inout PositionInputs posInput, out SurfaceData surfaceData, out BuiltinData builtinData) |
|
|
|
{ |
|
|
|
|
|
|
|
|
|
|
#ifdef _ALPHATEST_ON |
|
|
|
DoAlphaTest(alpha, _AlphaCutoff); |
|
|
|
#endif |
|
|
|
|
|
|
|
#if HAVE_DECALS |
|
|
|
AddDecalContribution(posInput, surfaceData, alpha); |
|
|
|
#endif |
|
|
|
|
|
|
|
#if defined(DEBUG_DISPLAY) |
|
|
|