I’m trying to hide some variables from showing up in the attribute editor on a HLSL shader by using the <string UIWidget = “None”;> annotation, but that doesn’t seem to stop maya from still creating UI elements.
What i am basically doing is exposing UV Repeat, UV Offset and UV Rotate to the HLSL shader so a place2dTexture Node can be plugged in. However, I don’t want these values to show up with the rest of the shader’s options.
Anyone have any luck controlling which variables are exposed as visible versus hidden attributes on a HLSL shader?
Thanks.