res-avatar-unity/Assets/_PoiyomiShaders/Shaders/7.3/Includes/CGI_PoiGeom.cginc
2023-07-15 19:51:23 -07:00

10 lines
233 B
HLSL
Executable file

[maxvertexcount(3)]
void geom(triangle v2f IN[3], inout TriangleStream < v2f > tristream)
{
for (int i = 0; i < 3; i ++)
{
IN[i].uv = uv;
tristream.Append(IN[i]);
}
tristream.RestartStrip();
}