Backlight

   6177   5   0
User Avatar
Member
30 posts
Joined: March 2006
Offline
Hey list, how can I achieve the equivalent to Arnolds Backlight with Mantra? I am trying to create a simple (fast) paper shader that'll work on single sided geometry.

Cheers!

Pingo
User Avatar
Member
606 posts
Joined: May 2007
Offline
You need to calculate lighting twice - once with the regular normal and again with a flipped normal. Here's a minimal example, you can probably extend it to fit your needs.

Attachments:
ee_backlight.hip (183.0 KB)

User Avatar
Member
30 posts
Joined: March 2006
Offline
Absolutely beautiful. Thanks!
User Avatar
Member
30 posts
Joined: March 2006
Offline
Actually, how would I use this in a larger context - or expand on i. If I wanna use the surfacemodel in the VEX Builder instead - or in combination - to get more options.. If you don't mind - This would be really nice to have as a switch on the Mantra Surface, btw.
User Avatar
Member
30 posts
Joined: March 2006
Offline
Oh, I got it. Exchanged the lighting model with the surface model and exposed the Ensure face forward. Man I like this!
User Avatar
Member
8551 posts
Joined: July 2007
Offline
pingo
.. This would be really nice to have as a switch on the Mantra Surface, btw.

set Refraction Model in Refraction tab to Translucency, it does internally the same thing (Diffuse BRDF on inverted Normal)
Tomas Slancik
FX Supervisor
Method Studios, NY
  • Quick Links