This repository has been archived on 2026-10-29. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
EveUnity/packages/org.gamecult.eve.unity-scene/Runtime/Effects/Lightning/LightningVertex.cginc

20 lines
274 B
HLSL
Raw Normal View History

#ifndef LIGHTNING_VERTEX_INCLUDED
#define LIGHTNING_VERTEX_INCLUDED
struct Vertex
{
float3 pos;
float2 uv;
};
inline Vertex GetDefaultVertex() {
Vertex ret;
ret.pos = (0).xxx;
ret.uv = (-1).xx;
return ret;
}
#endif // LIGHTNING_VERTEX_INCLUDED