Skip to content

Light intensity comparison with other render engines #4625

@rawnsley

Description

@rawnsley

I'm aware this is a can of worms and I'm not expecting pixel-perfect matching, but I'm struggling with the most basic comparison. I expect I'm doing something wrong, but I can't see it.

Sadly there are no definitive examples, but the KHR_lights_punctual extension PR has a simple one that appears good enough to start with: KhronosGroup/glTF#1223 (comment)

The initial renders don't seem to be correct, but eventually a consensus is reached from a mix of tools KhronosGroup/glTF#1223 (comment). Here is the output in glTF Viewer:

Screenshot 2021-09-15 at 14 59 20

If I load the same file into Filament's gltf_viewer the plane is completely black (once sunlight is disabled).

Screenshot 2021-09-15 at 14 59 44

I have to boost the light intensity by a factor of a thousand to get something similar to the other render engines.

Screenshot 2021-09-15 at 15 03 18

If anything Filament is giving the more believable result. The "default" light in the scene has an intensity of 1 candela and I would not expect a single candle held half a metre above a plane to have much visible effect and certainly not reach the ground nearly four meters away.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions