In order to work correctly with the misss_physical shader, it is necessary to set up the scene following these requirements:
The following .mi scene fragments show an example setup:
link "subsurface.so"
$include "subsurface.mi"
trace on
caustic on
globillum on
energy 10000 10000 10000
caustic photons 250000
globillum photons 250000
shader "myshader" "misss_physical" ("mode" 4) # use instance lights
material options
material "materialinstancename"
= "myshader"
photon = "myshader"
end material
caustic 3
globillum 3
The shader provides useful feedback when executed, using info messages. In any case verbosity level 5 is suggested to debug your scene. The shader statistics reports are especially valuable to estimate correct values for the following parameters:
Copyright (©) 1986-2008 by mental images GmbH