4 ms·
I thought this is about ADPD light sensors, which usually can be switched from light to RGB mode. The summary mode is called ALS, ambient, and I was wondering h
by rurban 5y ago
I thought this is about ADPD light sensors, which usually can be switched from light to RGB mode. The summary mode is called ALS, ambient, and I was wondering how the internal formula goes. als = cr * r + cg * g + cb * b. In CS you usually just assume that the constant factor for each frequency is 1.0, but I cannot believe shorter waves have the same energy than longer waves. They don't, so all RGB calculations in shaders are not physical. cr must be higher than cb