Jump to content

phyiscal_light or equivalent in MR for 3ds Max


Matt McDonald
 Share

Recommended Posts

In Maya, there is a cool Mental Ray light shader called physical_light. The reason it's so cool is that it has a function called threshold which limits the tracing of shadow rays (this is similar to the portal light shader).

 

I'm trying to find the same thing or something similar for Max. It is mentioned in the Mental Ray help documentation but it does not appear to a hidden component.

 

My interest is in limiting shadow rays. I have a volumetrically large scene with lots of light sources. Shadow samples are set at the minimum (I'm using unified sampling) and I'm shooting something like 200 shadow rays for every eye ray. I'd like to try and reduce this number but I'm not super interested in turning off shadows of various lights.

 

So...if you have any suggestions, I'd love to hear them.

Link to comment
Share on other sites

Hi

 

 

edit: ah sorry i mean a other photometric_light shader :)

 

PS: if you need this Shader

 

- go to \3ds Max Design 2014\NVIDIA\shaders_standard\mentalray\include

- open physical_max.mi File in Notepad.

- edit this code ...

 

gui "gui_physical_light" {

control "Global" "Global" (

"helpCHM" "MI_Shaders/mr help.chm",

"helpLink" "/shd-2_2Light_Shader_physical_.html#physicallight",

"uiName" "Physical Light",

"category" "Light",

"hidden"

 

to

 

gui "gui_physical_light" {

control "Global" "Global" (

"helpCHM" "MI_Shaders/mr help.chm",

"helpLink" "/shd-2_2Light_Shader_physical_.html#physicallight",

"uiName" "Physical Light",

"category" "Light",

# "hidden"

 

the hidden line need a "#"

 

mfg

hot chip

Edited by thorsten hartmann
Link to comment
Share on other sites

In another forum someone suggested I try the Wom_Archlight. I've got it working, kinda. It looks promising. It seems to have all the controls you get from a photometric light via the max UI + the threshold parameter I'm looking for. Because the shader is intended for XSI or Maya, the UI in Max is crumby but I think I should be able to get around that. Maybe.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...