Looking at the UE4 engine document. I notice that the engine use IES Light Profile files to set the behavior of different lights and allow them to get closer to reality.
Thus the rendering of the lighting is more realistic since the deformations of the bulbs are taken into account as well as the different effects of lenses or even the shape of the bulb.
Lamp configurations can be downloaded to specialized sites that provide files with information
What do you think of this system ?
is it adaptable to JME ?
What would be the workload ?
I’m not sure but that’s what I understand by looking at the IES file specific to different fixtures.
I notice the following elements:
In the file, two first data vectors contain the different illumination ranges in degrees. (on a maximum of 180 °)
180 ° max for one axis and 180 ° max for a second axis.
Then values are indicated in other vectors (intensity values?)
Value in a two-dimensional array, here the lamp illuminates on 180 ° in one axis and 90 ° in another axis: