mirror of
https://github.com/maxartz15/VertexAnimation.git
synced 2024-11-10 06:35:18 +01:00
max
b63ee2ff02
P4 sync: - LOD testing. - AnimatorSystems test setup. - AnimationTime and AnimationIndex per mesh. - Vector encoding/decoding.
12 lines
421 B
HLSL
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 |