Fixe bug in pbr
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
float ggx_distribution(float n_dot_h, float roughness);
|
||||
float ggx_g1(float n_dot_v, float roughness);
|
||||
float ggx_g_smith(float n_dot_v, float n_dot_l, float roughness);
|
||||
float ggx_visibility(float n_dot_v, float n_dot_l, float roughness);
|
||||
|
||||
// GGX VNDF sampling (Heitz 2018) for isotropic GGX.
|
||||
// Returns a half-vector (H) sampled from the distribution of visible normals.
|
||||
|
||||
Reference in New Issue
Block a user