VRayMtlWrapper matte question

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Display Modes
  02 February 2012
VRayMtlWrapper matte question

hi all

is it possible to configure the vray mtlwrapper to be a matte for light rather than for shadow?

by this I mean capturing illumination from an object, rather than capturing that object's shadow

for instance, say you had a neon sign, and you wanted to capture the light hitting the side of a building, in its own separate pass--- does that make any sense? maybe there's a completely different approach to this... maybe I just need to add a certain render element?


  02 February 2012
Ooh! There really are a ton of ways to do this, but it depends slightly on your render setup. I'm assuming you're using Max, but these should all be relevant to any software really.

Remember one thing, though: You need mattes to "capture" shadows because shadows are an absence of light, and it's impossible to capture an absence of something normally. A matte works almost opposite to reality, where the non-black bit is actually the area with the least light. This isn't the case for light! You don't need any fancy material or shader, really, as the light is what's primarily rendered! As such, the most tried and tested way to do this is simply to do a render pass with all other lights turned off. If you specifically want this without the neon itself visible (as a source) then I'm sure you can make it invisible - if it's a VRayLight there's an "invisibility" parameter, and if it's a vraylight material you can make the geometry that it's assigned to not visible to camera in the object properties.

Another way, that might save you time, is to have a VRayLight pass, though this will only work if it's a VRayLight (if it's neon, then probably set to a mesh that you select. This way you get the advanced features of the VRaylights, as well as the cool shapes!). Here, in the render elements list, you can choose specific lights for it to spit out a pass for. If you just select that specific light, then you'll get a pass such as that above, but without having to render twice! Magic!

  02 February 2012

thanks very much; is that the "light select" render element you're referring to at the end? or another element?

one problem I've read about with light select is it cannot capture GI, only direct light... but maybe that's all I really need in the first place...


Last edited by LML : 02 February 2012 at 03:24 PM.
  02 February 2012
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 05:34 AM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.