bevy
bevy copied to clipboard
Point light docs should explain fields
How can Bevy's documentation be improved?
http://dev-docs.bevyengine.org/bevy/pbr/struct.PointLight.html
It's not obvious from reading the point light definition what the range and radius fields do.
- Is range a hard cut-off? If intensity is extremely large and range is e.g.
3.0, will there be no light contribution onto objects >3.0units away, or does it taper? - It's a point light not a sphere, so what does radius really mean, is perhaps that the cut-off?
- If instead radius means we have a "sphere light", does it mean something like the light starts emitting from the surface of the radius and until radius+range from the light position?
Also nit: The LED (Watts is missing a trailing parenthesis