VertexAnimation/Runtime/Shaders/HLSL/SampleTexture2DArrayLOD.hlsl
max b63ee2ff02 AnimatorSystems test.
P4 sync:
- LOD testing.
- AnimatorSystems test setup.
- AnimationTime and AnimationIndex per mesh.
- Vector encoding/decoding.
2020-12-06 02:36:15 +01:00

12 lines
421 B
HLSL

// References:
// https://forum.unity.com/threads/hdrp-shader-graph-hybrid-instanced-instancing-now-working.886063/
#ifndef SAMPLE_TEXTURE2D_ARRAY_INCLUDED
#define SAMPLE_TEXTURE2D_ARRAY_INCLUDED
void SampleTexture2DArrayLOD_float(Texture2DArray TextureArray, float2 UV, SamplerState Sampler, uint Index, uint LOD, out float4 RGBA)
{
RGBA = SAMPLE_TEXTURE2D_ARRAY_LOD(TextureArray, Sampler, UV, Index, LOD);
}
#endif