Page 1 of 1

Physical light values for point light and projector lights

Posted: Tue Aug 07, 2018 11:51 pm
by dragonCASTjosh
Over the past week, I have been hard at work adding a few features I felt would benefit a few of the project I was working on. The first one that I managed to get finished was physical light values include Kelvin temperature affecting the color and an option between Lumen and Candela intensity values for the light. In the long term in intend to make a pull request for these changes so that everyone can benefit from them.

I currently have all the work submitted to my own engine fork so feel free to feature test and also code review for me as I'm still a little unsure of the implementation. https://github.com/dragonCASTjosh/CRYEN ... bilisation

Kelvin temperature:
Image

Lumen:
Image

Candela:
Image

Re: Physical light values for point light and projector lights

Posted: Wed Aug 08, 2018 7:19 am
by cinnabear
Wow this is great!
I was always hoping for the implementation of physically based light values by Crytek.
Crytek should hire you. You're really doing a great job here.

BTW. Isn't it problematic to calculate physical light values if the light source doesn't have a surface area?

Re: Physical light values for point light and projector lights

Posted: Wed Aug 08, 2018 10:03 am
by dragonCASTjosh
Im glad you like the results, and you never know Crytek may hire me :)

Also yes normally light values are dictated by the area of the light although there are ways around this for none area light by just providing it a low surface area, currently iv not linked it up to CryEngine's area light system as it is disabled by default