Page 1 of 1

How can I access the current triangle being rendered index

PostPosted: Sat Oct 20, 2018 5:03 am
by francois85
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

Re: How can I access the current triangle being rendered ind

PostPosted: Mon Oct 22, 2018 10:43 am
by Amplify_Borba
Hello, this is possible to achieve, although its something that must be added on our side, so I've registered the request and passed it to our developer.

We will get back in touch as soon as we have any developments, thank you for understanding!

Re: How can I access the current triangle being rendered ind

PostPosted: Mon Oct 22, 2018 7:47 pm
by francois85
Awesome, thank you :)

Re: How can I access the current triangle being rendered ind

PostPosted: Thu Nov 22, 2018 3:23 pm
by Amplify_Borba
Hello, I'm getting back in touch to let you know that we've added a couple of new nodes in the latest ASE build, which you can access from our website.

New Nodes:
- Vertex Id
- Primitive ID

Please let us know if you have any further feedback or questions, thank you!

Re: How can I access the current triangle being rendered ind

PostPosted: Thu Nov 22, 2018 4:10 pm
by francois85
You guys are awesome thanks so much !!!

Re: How can I access the current triangle being rendered ind

PostPosted: Thu Nov 22, 2018 4:30 pm
by francois85
You guys are awesome thanks so much !!

Re: How can I access the current triangle being rendered ind

PostPosted: Thu Nov 22, 2018 4:37 pm
by Amplify_Borba
We're happy to help, thank you for your ongoing support!