It appears that the shadow name parameter of the shadow() function is uniform. I have a situation where I'm loading multiple shadow maps in a illuminance loop and require "name" to be varying...
if (nondiff == 0)
if (shadowname != "" && shadowname != "raytrace")
InDepth = comp(ctransform("hsv", 1-shadow(shadowname, P, "samples", Samples, "bias", lightbias, "blur", LgBlur)), 2);
This seems to work fine in 3Delight, Air, PrMan and Aqsis.
Attached is 3Delight/Pixie comparison renders showing Pixie only using the first light in a fake SSS shader.
Log in to post a comment.