ABERDEEN SHANG
  • MY CHANNEL
  • Personal Projects
  • GAME REEL
  • Blogs
    • Mentor Project
    • MatchtoLive
    • VSFX 755 Class Blog >
      • C: debris procedural primitive
      • C++: side-mask pattern node
      • OSL: renderman moom shading
  • Other Art Works
  • About
  • Award

​BLOG - OSL: renderman moom shading 

reference:

final render:

Picture
Picture

about this OSL node:

This node allow users to use one material to shade multiple objects, which could make look-dev process much more efficient.

code:

mkattr.osl
​addArnoldIntAttr.mel

This is to make sure each object will have it own map id. 

Picture
UI
Picture
Test Render

how it works:

step 1: add attribute "map_id" to each object:
Picture
step 2: connect OSL node:
Picture
  • MY CHANNEL
  • Personal Projects
  • GAME REEL
  • Blogs
    • Mentor Project
    • MatchtoLive
    • VSFX 755 Class Blog >
      • C: debris procedural primitive
      • C++: side-mask pattern node
      • OSL: renderman moom shading
  • Other Art Works
  • About
  • Award