Shader issues

   1093   2   0
User Avatar
Member
336 posts
Joined: Dec. 2014
Offline
Since this is an old shader I'm guessing it's not rendering due to something new in the mantra rop, but I'm not getting any error messages and I can't find anything wrong in the shader itself, unless I'm missing something. Any help is greatly appreciated

Attachments:
line_glow.hip (441.5 KB)

User Avatar
Member
192 posts
Joined: Nov. 2008
Offline
howdy. since you're rendering in pbr, creating a ‘constant’ or ‘emissive’ effect requires an export parameter named Ce. if you create a vector parm, name it Ce, set it to export always, and plug in your ouput color (the node named ‘multiply2’) into the input, the shader will work as expected.

you could also change this to the modern parlance by using a classic shader or principled shader with full refraction and an ior of 1, and plugging this color into emission.

-b
User Avatar
Member
336 posts
Joined: Dec. 2014
Offline
That worked, thanks for the advice! I also needed to convert my ramp to a vector before multiplying it to Cd and it's behaving
  • Quick Links