图形学理论知识 BRDF 双向反射分布函数 Bidirectional Reflectance Distribution Function BRDF理论 BRDF表示的是双向反射分布函数(Bidirectional Reflectance Distribution Function),它描述了光线如何在物体表面进行反射,可以用来描述材质属性. BRDF的输入参数是入射光的的仰角.方位角.出射光的仰角.方位角,还与入射光的波长相关. BRDF的输出结果是一个数值,表示在给定的入射条件下,出射方向上…
[使用RampTexture实现BRDF效果] BRDF stands for bidirectional reflectance distribution function. While that is a mouthful, it simply means the way in which light is reflected off an opaque surface from both the view direction and the light direction. BRDF指光从…
// Default BRDF to use: #if !defined (UNITY_BRDF_PBS) // allow to explicitly override BRDF in custom shader // still add safe net for low shader models, otherwise we might end up with shaders failing to compile #if SHADER_TARGET < 30 #define UNITY_BR…