
2020년 봄 쯤 테스트.구현 코드는 매우 단순하게 처리 된 형식.// Specular term half perceptualRoughness = SmoothnessToPerceptualRoughness(smoothness); half roughness = PerceptualRoughnessToRoughness(perceptualRoughness); half a = roughness; half a2 = a*a; half d = nh * nh * (a2 - 1.h) + 1.00001h; half specularTerm = a2 / (max(0.1h, lh*lh) * (roughness + 0.5h) * (d * d) * 4); float Lobe0Roughness = max(saturate(specular..