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
How can I access the current triangle being rendered index
-
- Posts: 32
- Joined: Thu Oct 04, 2018 2:20 pm
- Amplify_Borba
- Posts: 1239
- Joined: Mon Jul 24, 2017 9:50 am
Re: How can I access the current triangle being rendered ind
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!
We will get back in touch as soon as we have any developments, thank you for understanding!
Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
-
- Posts: 32
- Joined: Thu Oct 04, 2018 2:20 pm
Re: How can I access the current triangle being rendered ind
Awesome, thank you 

- Amplify_Borba
- Posts: 1239
- Joined: Mon Jul 24, 2017 9:50 am
Re: How can I access the current triangle being rendered ind
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!
New Nodes:
- Vertex Id
- Primitive ID
Please let us know if you have any further feedback or questions, thank you!
Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
-
- Posts: 32
- Joined: Thu Oct 04, 2018 2:20 pm
Re: How can I access the current triangle being rendered ind
You guys are awesome thanks so much !!!
-
- Posts: 32
- Joined: Thu Oct 04, 2018 2:20 pm
Re: How can I access the current triangle being rendered ind
You guys are awesome thanks so much !!
- Amplify_Borba
- Posts: 1239
- Joined: Mon Jul 24, 2017 9:50 am
Re: How can I access the current triangle being rendered ind
We're happy to help, thank you for your ongoing support!
Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!