glTF-IBL-Sampler
glTF-IBL-Sampler copied to clipboard
Sampler to create the glTF sample environments
`4 * PI` is missing in the calculation of lod. It's in the comment but weirdly not in the actual code.
At the moment we use `log2(X)` for the number of mips, so `log2(1024)` = 10 mips. This only goes down to a size of `2x2` for the smallest mip, so...
I had some errors creating the Vulkan instance on MacOS. The error message was: ``` Failed to create Vulkan instance 4294967287 ``` I think that error code should be printed...
v0.1.0 or something
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:  Is this...
For some reason, when setting `mipLevelCount` to `1`, the outputted image is broken. It shows no color and is fully black. Not sure what the reason for it is. I...
I made a minor fix. Please use latest Vulkan SDK and the master branch. see https://github.com/KhronosGroup/glTF-Sample-Viewer/issues/257
inputPath set to .\road.hdr outCubeMap set to .\road.ktx2 outLUT set to outputLUT.png sampleCount set to 1024 mipLevelCount set to 0 targetFormat set to R16G16B16A16_SFLOAT distribution set to GGX lodBias set...