Rim Light Cheat 1.0.0 (maya script)

Automatically add rim lighting to your materials/ textures

Afterrim_01_iw Zoom

License Type:

Freeware

File ID:

51658

File Size:

1.3 KB

Created / Updated:

Jan 04, 2013 / Jan 07, 2013

Owner:

Ian Waters   More free downloads from this user See users marketplace items See this users portfolio Send a Private Message

Platforms:

linux, mac, windows

Downloaded:

581

Maya:

2011, 2012, 2013

Tags:

lighting, Rim light


hippo_title

Some time ago I wrote a little script to automate adding rim-lighting ramps to materials. I recently added some defaults so thought I'd share it.

Download and place it in your scripts folder:

Mac: User/Library/Prefrences/Autodesk/Maya/Maya-20xx/scripts

PC: My Documents/maya/20xx/scripts

 

Select a material (Lambert, VrayMtl, Phong etc.), or a texture node (Ramp, File, Checker etc., etc.).

Screen_Shot_2013-01-03_at_15

Then in the commands bar or script editor type the following:

 

In MEL:

python "import AddRimLight"; python "AddRimLight.addRimRamp()";

Or Python:

import AddRimLight

AddRimLight.addRimRamp()

This will add a ramp and a sampler info node and hook them both up.

Screen_Shot_2013-01-03_at_15

Adjust the colours on the ramp to taste, and render away.

 

Here's a before:

beforeRim_01_iw

And after:

afterRim_01_iw

Not bad for the press of a button.

The clever thing we're doing here is adding a sampler info node and using it to power a ramp based on the angle between the camera and the object. The more acute the angle, the more the bottom colours on the ramp will be used.

If you select a material node, the ramp is added to the colour slot (and decent defaults are automagically set for you), if you select a texture node, the ramp is added to the Colour Offset attribute (in the Colour Balance roll down) - defaults are also created for this mode, but they will almost certainly need tweeking.

Enjoy!



Please use the Bug System to report any bugs.
Please use the Feature Requests to give me ideas.
Please use the Support Forum to ask any questions.
Please rate my product in the Review section.

People who have favorited this file

More from this artist

  • Screen_shot_2012-02-29_at_12

  • Screen_shot_2012-02-20_at_11

  • Screen_shot_2012-01-10_at_11

  • Screen_shot_2012-01-10_at_16

Related Marketplace Items

  • Abxrenderlayers1

  • Ninjadojo_logoblack

  • Ninjalight_1

  • Ninjadojo_logoblack

  • Alph_p6

  • R_light_02

  • Chandelier_1_-_render_1

  • Chandelier_-_render_1