Announcement
Collapse
No announcement yet.
VRay SDK, VRenderLight
Collapse
X
-
I was meaning the intensity.
Do the optimisations you have made cause issues with single frame GI?
Comment
-
-
You can call BRDFSampler::getLightMult() and BRDFSampler::getDiffuseColor() to get the general reflectance of the BRDF. However this will not give you any indication as to its maximum value or direction (in general the BRDF may have more than 1 maximum, or at least several peaks in different places; it is also not clear how you can get this information for layered materials).
However, for many BRDFs you can assume that the maximum is along the direction of the pure reflection from the surface - so you can simply evaluate the BRDF in that direction to get that maximum.
Best regards,
VladoLast edited by vlado; 13-06-2010, 04:39 AM.I only act like I know everything, Rogers.
Comment
-
Comment