Hello,
I’m wondering if there is a way or a away to extend one of the nodes to return the current triangle index being rendered on the surface shader template.
A kind of :
float4 frag (v2f i, uint pID : SV_PrimitiveID) : SV_Target
Thank you in advance I really appreciate all the replies