Firstborn/Library/PackageCache/com.unity.render-pipelines..../Editor/VFXGraph/Shaders/VFXLit.template
Schaken-Mods 9092858a58 updated to the latest editor
I updated everything to the latest Unity Editor. Also realized I had the wrong shaders on my hairs, those are fixed and the hairs look MUCH better!
2023-05-07 17:43:11 -05:00

25 lines
981 B
Plaintext

#include "Packages/com.unity.render-pipelines.universal/Runtime/VFXGraph/Shaders/VFXLit.hlsl"
#ifndef VFX_SHADERGRAPH
void VFXGetURPLitData(out SurfaceData surfaceData, out InputData inputData, VFX_VARYING_PS_INPUTS i, float3 normalWS, const VFXUVData uvData, uint2 tileIndex)
{
float3 posRWS = VFXGetPositionRWS(i);
float4 posSS = i.VFX_VARYING_POSCS;
PositionInputs posInput = GetPositionInput(posSS.xy, _ScreenSize.zw, posSS.z, posSS.w, posRWS, tileIndex);
float alpha;
surfaceData = VFXGetSurfaceData(i, normalWS, uvData, alpha);
inputData = VFXGetInputData(i, posInput, surfaceData, normalWS);
}
void VFXGetURPLitData(out SurfaceData surfaceData, out InputData inputData, VFX_VARYING_PS_INPUTS i, float3 normalWS, const VFXUVData uvData)
{
VFXGetURPLitData(surfaceData, inputData, i, normalWS, uvData, uint2(0,0));
}
#endif
#include "Packages/com.unity.render-pipelines.universal/Runtime/VFXGraph/Shaders/VFXLitPixelOutput.hlsl"