Garrett Johnson
Garrett Johnson
See metalness (or maybe just glossiness) issues in the [metal spheres comparison](https://gkjohnson.github.io/three-gpu-pathtracer/example/bundle/viewerTest.html#khronos-MetalRoughSpheres): - loss of energy on metalness axis - loss of specular on smooth axis 
Squaring the roughness improves the falloff and make it look closer to the comparison though the "matte" setting still has low reflection. ~Metal may be the same~. Perhaps the textures...
Glancing fresnel looks incorrect - "khronos-SpecularTest":
Closing in favor of #264
It seems this is caused by the material PDF sample for the ray hitting the light returning a particularly hight value which dwarfs the light PDF which is a constant...
    
@DennisSmolek - I've added a simple demo showing how to generate and render an SDF from a BVH!
What do you mean by "layers"? Do you mean the layer display mode? It shows each layer of the SDF texture (I'd forgotten to push the changes with the grid...
Oh hm - that looks like linear filtering isn't supported for 3d textures on your device or something? With nearest filtering the raymarching looks like this: