SvenP Posted October 15, 2004 Share Posted October 15, 2004 Ok hopefully a quite simple question How can i access point attributes or local variables in a surface shader with VOPs ? Thanks for the help Sven Quote Link to comment Share on other sites More sharing options...
doc Posted October 15, 2004 Share Posted October 15, 2004 Ok hopefully a quite simple question How can i access point attributes or local variables in a surface shader with VOPs ? Use a parameter vop and name the parameter with the same name as the attribute you wish to use. that's it. Luca Quote Link to comment Share on other sites More sharing options...
Jason Posted October 16, 2004 Share Posted October 16, 2004 Quite right! Also, you may use the pragma "hidden" to hide the parameter from the UI forever. #pragma hint my_attribute hidden Quote Link to comment Share on other sites More sharing options...
SvenP Posted October 16, 2004 Author Share Posted October 16, 2004 Thank you Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.