Hi All,
I'm writing a HDRI viewer. Part of what I want to do is be able to read current HDRI's settings in the scene, specifically material editor slot 24. Here is the code I have so far on load:
if meditMaterials[24] != VRayHDRI() then
(
print "HDRI"
Hozmulti.value = meditMaterials[24].horizontalRotation
) else print "not"-- Hozmulti.value = 0
It only has to work from slot 24 and for the current HDRI if it exsits.
Thanks
By johncrawshaw · 2013-06-09