You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We don't yet use a unit for our lighting, and we should. https://www.realtimerendering.com/blog/physical-units-for-lights/
NOTE:
glTF spec [1] says directional light is in lux, whereas spot and point are
in candelas. I haven't really set a unit, it's implicit in the shader, but it seems we
can roughly get candelas from lux by dividing by 683 [2].
We don't yet use a unit for our lighting, and we should.
https://www.realtimerendering.com/blog/physical-units-for-lights/
NOTE:
glTF spec [1] says directional light is in lux, whereas spot and point are
in candelas. I haven't really set a unit, it's implicit in the shader, but it seems we
can roughly get candelas from lux by dividing by 683 [2].
renderling/crates/renderling/src/stage/gltf_support.rs
Lines 1007 to 1016 in 1ab3eeb
The text was updated successfully, but these errors were encountered: