How can I access the current triangle being rendered index

Your feedback is very important to us. We are listening.

How can I access the current triangle being rendered index

Postby francois85 » Sat Oct 20, 2018 5:03 am

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
francois85
 
Posts: 32
Joined: Thu Oct 04, 2018 2:20 pm

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

Postby Amplify_Borba » Mon Oct 22, 2018 10:43 am

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!
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!
User avatar
Amplify_Borba
 
Posts: 1239
Joined: Mon Jul 24, 2017 9:50 am

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

Postby francois85 » Mon Oct 22, 2018 7:47 pm

Awesome, thank you :)
francois85
 
Posts: 32
Joined: Thu Oct 04, 2018 2:20 pm

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

Postby Amplify_Borba » Thu Nov 22, 2018 3:23 pm

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!
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!
User avatar
Amplify_Borba
 
Posts: 1239
Joined: Mon Jul 24, 2017 9:50 am

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

Postby francois85 » Thu Nov 22, 2018 4:10 pm

You guys are awesome thanks so much !!!
francois85
 
Posts: 32
Joined: Thu Oct 04, 2018 2:20 pm

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

Postby francois85 » Thu Nov 22, 2018 4:30 pm

You guys are awesome thanks so much !!
francois85
 
Posts: 32
Joined: Thu Oct 04, 2018 2:20 pm

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

Postby Amplify_Borba » Thu Nov 22, 2018 4:37 pm

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!
User avatar
Amplify_Borba
 
Posts: 1239
Joined: Mon Jul 24, 2017 9:50 am


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 0 guests

cron