The ‘Wom’ as it’s called is a fantastic light shader for mental ray in Maya (and also XSI). Created by ‘wombat778’, I essentially use this light shader on all my lights, all the time. There’s a long running thread on CGTalk about this shader here where it can also be downloaded along with a PDF manual. It is also available on Creative Crash here.
So what’s so good about it? Well, here’s a screenshot of the settings…
…divided into 3 columns as there’s a lot of them! If it looks scary and very different to what you use normally, don’t worry it’s actually not that complicated I swear. Not to mention it’s very useful to understand how more complex lighting like this works and what it can achieve for you.
This mental ray shader can be used in Maya as both a light shader and photon shader simultaneously, which means that if you want to create GI or caustic effects this light can automatically generate photons that are the correct colour and intensity for the light. This is unlike most Maya lighting where you have to manually type in an intensity value, which for me is a bit too arbitrary and inaccurate. You connect this light shader up to your point/spot/area light like this:
If you aren’t going to use GI or caustics, obviously you don’t have to plug it in as a Photon Emitter. Now, in that screenshot you can see there’s an empty Light Profile slot where you could potentially attach a shader to utilize an IES or Eulumdat light profile (giving your light a realistic falloff shape based on real, measured lightbulb data). In this case these effects are handled within the Wom shader itself, so you don’t need to plug anything in there separately.
I won’t go into everything the Wom light can do, because the post would be very long and there’s already a good manual for it. The reasons I use it though, are:
- It has physically based falloff, adjustable to fit the scale of your scene units.
- You can use real light units such as Watts, Lumen, Candela etc.
- It works well with the Mia Photographic Lens shader and Sun/Sky system.
- It has a bunch of settings for the visible rendering of an area light, not just on/off.
- Has light presets such as a 40 Watt bulb, and can take it’s colour from the correct light temperature.
- Makes using light profiles easy.