KhronosGroup / glTF-IBL-Sampler

Sampler to create the glTF sample environments
Apache License 2.0
128 stars 18 forks source link

Lambertian distribution outputs black image? #24

Open Leadwerks opened 2 years ago

Leadwerks commented 2 years ago

Using this command line and the Khronos sample HDR:

cli.exe -inputPath footprint_court.hdr -distribution Lambertian -outCubeMap diffuse.ktx2 -outLUT lut_lambertian.png

The outputted lookup table is pure black: lut_lambertian

Is this the correct behavior? Other distribution modes seem to output an image that looks as I would expect.

Leadwerks commented 2 years ago

The sheen cubemap also seems to be pure black.