Home Technical Talk

MR Shader question

verybad
polycounter lvl 17
Offline / Send Message
verybad polycounter lvl 17
How would you go about connecting a shader to an array of textures/color selections/other shaders, so each object with the overall shader woudl get a different look. (Which I would then bake to an LP model.)

PS, I use Maya, but it shouldn't matter, MR is MR...

For instance, an object with a lot of wires with different colors, or a building(s) with windows, some lit, some not, some with curtains, some not) etc.

Extra credit if I can provide frequency numbers to each of the subshaders. (eg make most of a building's windows dark)

This is something I've wondered about for years, but never really gone into. I've recently been getting more involved with more complex shaders than *haha it's shiny!* however I'm a dolt when it comes to scripting.

Thanks for any suggestions.

Replies

  • commander_keen
    Offline / Send Message
    commander_keen polycounter lvl 18
    You could write a simple script to assign different materials to objects. Or you could do something more complex and link a scripted value into hypershade, and randomize that value per object. There are many other ways you could do it, but I think the last one would be the the best.
Sign In or Register to comment.