Is there a texture equivalent of the Vray switch material? I guess a Vray native version of 1ofN OSL map...?
Announcement
Collapse
No announcement yet.
Vray Switch Tex?
Collapse
X
-
VRayUserScalar + VRayPluginTex TexColorSwitch
edit: or actually the other way around: VRayPluginTex TexColorSwitch + VRayUserScalar. or drop the Scalar if not neededLast edited by piotrus3333; 21-10-2022, 02:00 AM.Marcin Piotrowski
youtube
-
Thank you! That works great.
Is there any way I can use a non-numeric index to pick a texture?
For instance in user data:
model=relic ... picks 'relic displacement' bitmap
model=margin ... pick 'margin displacment' bitmap
Would just save me having to refer back to a spreadsheet of my various models and their indexes
Comment
-
Hmm, using CPU, nevermind. Bigger issue is I'm trying to use VrayUserScalar as a mask for a displacment map coming via a composite map. I'm going to be stakcing a few of these up and switching on and off by either having no value in user defined value for the model, or a user defined value of [model]=1
This seems to work fine in to diffuse or bump slots, but not at all for the displace slot.
Is there an obvious reason this would be the case? example here (max 2023): temp.zip
Comment
-
Couldn't get it working. Think I've got it going with OSL switcher instead, although it's probably user error as I find the OSL way a lot more user friendly.
Also the Vray TexColorSwitch appears to be limited to 7 inputs? I'm going to need more than that probably.Last edited by thomas_bussey; 21-10-2022, 04:57 AM.
Comment
Comment