hi
i'm working on a vop surface shader that uses light masks, i was wondering if there is a way to use light masks with vex sheen?
with diffuse you use;
diffuse(nml, “lightmask”,“light01”)
i've tried:
sheen(nml, nl, eta, rough, “lightmask”,“light01”)
thx
jason
VEX specular sheen
3578 3 0- JasonSlab
- Member
- 1533 posts
- Joined: March 2020
- Offline
- Alanw
- Member
- 320 posts
- Joined: Aug. 2007
- Offline
Hi Jason,
I am pretty sure there is no built in sheen() function, so you will need to add the lightmask parameter to the vop_sheen() function's illuminance loop. ( http://www.sidefx.com/docs/houdini10.0/vex/functions/illuminance [sidefx.com] ) You can find this function in $HFS/houdini/vex/include/voplib.h
I've attached a HIP with a VEX Builder HDA for you. It only took a second since I just copied everything from Specular Sheen and added 1 parameter.
-Alan
I am pretty sure there is no built in sheen() function, so you will need to add the lightmask parameter to the vop_sheen() function's illuminance loop. ( http://www.sidefx.com/docs/houdini10.0/vex/functions/illuminance [sidefx.com] ) You can find this function in $HFS/houdini/vex/include/voplib.h
I've attached a HIP with a VEX Builder HDA for you. It only took a second since I just copied everything from Specular Sheen and added 1 parameter.
-Alan
- circusmonkey
- Member
- 2624 posts
- Joined: Aug. 2006
- Offline
- JasonSlab
- Member
- 1533 posts
- Joined: March 2020
- Offline
-
- Quick Links