Skip to content

Commit 4f847f2

Browse files
committed
Remove provision for specular_weight to exceed 1
1 parent b212785 commit 4f847f2

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

index.html

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -501,12 +501,9 @@
501501
\end{equation}
502502
Applying this modulated IOR ratio $\eta^\prime_s$ in the angle-dependent dielectric Fresnel formula $F(\mu, \eta^\prime_s)$ then produces the desired reflectivity modulation at any incident angle cosine $\mu$. The Fresnel transmission factor and refraction into and out of the base dielectric should also be consistent with the IOR ratio $\eta^\prime_s$.
503503

504-
For convenience, we also allow $\xi_s = \mathtt{specular\_weight}$ to exceed 1 so that the reflectivity is increased above the level set by **`specular_ior`**. Note though there is a constraint $\xi_s \le 1/F_s$ since the scaled reflection coefficient cannot exceed $1$. So there needs to be an internal clamp to ensure $\xi_s \in [0, 1/F_s]$.
505-
506-
507504
Specular params | Label | Type | Range | Norm | Default | Description
508505
------------------------------------|------------|----------|:---------------:|:----------:|:-------------:|----------------------------------------------
509-
**`specular_weight`** | Weight | `float` | $ [0, \infty) $ | $ [0, 1] $ | $ 1 $ | Modulates the dielectric reflectivity at normal incidence
506+
**`specular_weight`** | Weight | `float` | $ [0, 1] $ | | $ 1 $ | Modulates the dielectric reflectivity at normal incidence
510507
**`specular_color`** | Color | `color3` | $ [0, 1]^3 $ | | $ (1, 1, 1) $ | Tints the dielectric Fresnel factor
511508
**`specular_roughness`** | Roughness | `float` | $ [0, 1] $ | | $ 0.3 $ | Roughness of NDF of dielectric BSDF $f_\mathrm{dielectric}$
512509
**`specular_roughness_anisotropy`** | Anisotropy | `float` | $ [0, 1] $ | | $ 0 $ | Anisotropy of NDF of dielectric BSDF $f_\mathrm{dielectric}$

0 commit comments

Comments
 (0)