res-avatar-unity/Assets/_PoiyomiShaders/Shaders/7.3/Includes/CGI_PoiGeom.cginc

10 lines
233 B
HLSL
Raw Permalink Normal View History

2023-07-16 02:51:23 +00:00
[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();
}