Hi there,
After browsing the shaders provided in the source, I cam across the BRDF functions provided. I have been doing some global illumination work for my honours, and thought I’d take the chance to try them out with my ray tracer.
However in the BRDF shader the functions take a variety of parameters (NoV, NoL, NoH, VoH). Thus far, I have been working under the assumption that NoV is dot(normal, viewDir), NoL is dot(normal, lightDir), NoH is dot(normal, halfAngleDir), VoH is dot(viewDir, halfAngleDir).
Using these as values have provided odd results, and therefore I thought it would be a good idea to check and see exactly what these parameters are supposed to be.
Any help on this matter would be appreciated!
Thanks!