19 lines
427 B
HLSL
19 lines
427 B
HLSL
#ifndef _IMPOSTOR_HF_
|
|
#define _IMPOSTOR_HF_
|
|
|
|
struct VSOut
|
|
{
|
|
float4 pos : SV_POSITION;
|
|
float3 tex : TEXCOORD;
|
|
nointerpolation float dither : DITHER;
|
|
float3 pos3D : WORLDPOSITION;
|
|
uint instanceColor : INSTANCECOLOR;
|
|
float3 nor : NORMAL;
|
|
float4 pos2D : SCREENPOSITION;
|
|
float4 pos2DPrev : SCREENPOSITIONPREV;
|
|
};
|
|
|
|
TEXTURE2DARRAY(impostorTex, float4, TEXSLOT_ONDEMAND0);
|
|
|
|
#endif // _IMPOSTOR_HF_
|