VrayHDRI reader material editor
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 != VRayHDRI() then
Hozmulti.value = meditMaterials.horizontalRotation
) else print "not"-- Hozmulti.value = 0
It only has to work from slot 24 and for the current HDRI if it exsits.