Mantra Light Shader

   4078   4   2
User Avatar
Member
7 posts
Joined: July 2006
Offline
I'm trying to make Mantra Light Shader in VEX-builder.

I'm starter with vex, but already have some experience in RSL.

Where can I find in VOP's something like illuminate or solar loops?
(such as OP that I can find when create rsl_light shader - rsl_illuminate_loop VOP)
User Avatar
Member
1390 posts
Joined: July 2005
Offline
upss, sorry. misread the post.
User Avatar
Member
7 posts
Joined: July 2006
Offline
in VOP RSL light SHOP i can create Illuminate construct VOP

I seeking analog for it in VOP VEX Light SHOP

Attachments:
Screenshot-1.jpg (5.8 KB)

User Avatar
Member
7025 posts
Joined: July 2005
Offline
Hey,

VEX doesn't have the same illuminate() and solar() functions, you basically roll your own.

Check out the VEX code in the VEX ASAD Light SHOP. You essentially use the dot product of normalized L and Lz and use a smooth() to make it into soft edged cone.

Cheers,

Peter B
User Avatar
Member
7 posts
Joined: July 2006
Offline
thank you
  • Quick Links