I would leave the type=256 hard coded in the export so that the user does not have to change that setting for light portals. Currently it is hard coded as type=0 for Light Portals. Simply changing the 0 to 256 is better I think???
Make sure you check the path for the HDRI image in the Ambient light of the file I sent you. If the HDRI is not found there will be no light.
Here is a test render. I moved my window to the opposite side of the room so that the photon light rays are going into the room. The sphere by the window is made of glass.
Light Portal Test
Large Light Portal Test
Edit: Here is a render without the light portal. Not as big a difference as I expected... Edit2: The reason the following image does not show a big difference in lighting is because the power setting in the Ambient/HDRI was set very high. The power setting should be kept very low if you want lighting to be primarily from the light portal.
No Light Portal Large Test
Thanks,
oort
Make sure you check the path for the HDRI image in the Ambient light of the file I sent you. If the HDRI is not found there will be no light.
Here is a test render. I moved my window to the opposite side of the room so that the photon light rays are going into the room. The sphere by the window is made of glass.
Light Portal Test
Large Light Portal Test
Edit: Here is a render without the light portal. Not as big a difference as I expected... Edit2: The reason the following image does not show a big difference in lighting is because the power setting in the Ambient/HDRI was set very high. The power setting should be kept very low if you want lighting to be primarily from the light portal.
No Light Portal Large Test
Thanks,
oort