View Full Version : MR Render Passes
11-19-2006, 01:58 PM
I have looked for tuts in many forums, sites etc, but couldnt find anything about how to render different passes, diffuse, spec, reflect, shadows, and self shadows.
Actually Im having problems with diffuse and self shadows, Diffuse comes with self shadows sticked into it, and I dont know how to make a pass of Self shadows. Im trying them out with the render layers flag option, but I have seen many people using framebuffers, and MR custom shaders. Whats the point to use them? which are the benefits? and any hint to make them, or tuts links or whatever would be really welcome.
11-19-2006, 03:08 PM
You may try p_MegaTK shader (mental ray) for rendering passes
Please view tutorial:
11-19-2006, 03:13 PM
For your diffuse pass, just untoggle the shadow of your lights
For the shadow pass, toggle shadow of lights and assign an useBackground shader to all your objects, once your image rendered, the shadows are in the alpha channel of the picture.
Framebuffers is a Mental Ray system provided by FrancescaLuce to render multiple images in one render assigning different shaders to those framebuffers. Just take a look to the ctrl_buffers thread in this part of the forum :ctrl_buffers thread (http://forums.cgsociety.org/showthread.php?t=209991)
11-19-2006, 05:01 PM
Thanks Puppet| Thats something really helpful, I will give it a try tomorrow. btw there is anyway to get a self-shadowing (shade?) pass in a greyscale map, for post-tunning? I wonder if what I mean is the Shading Pass. Does this shader work with MR custom shaders as for example miss_fast_skin?
Also just curious but, there is not a built-in solution for this?
11-19-2006, 06:24 PM
I wonder if what I mean is the Shading Pass.
Shading pass it's just color*diff_occl*diffuse*shadow.
It is for optimize compositing purpose.
In most case you really don't need this pass.
Does this shader work with MR custom shaders as for example miss_fast_skin?
Yes, like any other shaders. You may find tutorial how use misss with p_MegaTK shader in doc from pack.
11-19-2006, 06:24 PM
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.
vBulletin v3.0.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.