playcanvas / engine

JavaScript game engine built on WebGL, WebGPU, WebXR and glTF
https://playcanvas.com
MIT License
9.56k stars 1.34k forks source link

Light falloff modes reversed? #773

Closed willeastcott closed 7 years ago

willeastcott commented 7 years ago

This is Linear:

image

This is Inverse Squared:

image

Are they reversed?

Maksims commented 7 years ago

This is not bug, please test properly, to prove observation. With Linear Tonemapping it will look over-bright. But falloff is actually squared.

Linear: Linear

Inverse Squared Inverse Squared