Jump to content
Sign in to follow this  
MartiM

use intrinsic info in shaders

Recommended Posts

hey guys,

do you know if it is possible to use intrinsic information in a shader? something like intrinsic:indexorder in a render state just like with packed attributes.

also, still in a render state, packed:primnum or packed:ptnum doesn't seem to be working. 

if i make an attribute in a wrangle on packed prims, let's say i@primid = i@primnum, and i call that in the shader with a render state it works as expected.

any idea?

 

thanks

Martino

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×