Hi.
When you want to pass a float data from a vertex shader to a pixel shader,
What should I give the semantic to float data?
In the MS docs, there are a few sematics for float such as BLENDWEIGHT, PSIZE, FOG.
But I think this is not for my data.
My data is the distance from the light to current vertex.
Actually, the distance is normalized. So It ranged [0, 1]
struct VS_OUTPUT
{
…
float DistanceLightToVertex : ???; // [0, 1]
};