Skip to content

Commit adfc457

Browse files
committed
update spec
1 parent 66b1931 commit adfc457

File tree

7 files changed

+24
-1
lines changed

7 files changed

+24
-1
lines changed

extensions/2.0/Khronos/KHR_materials_anisotropy/README.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,22 @@ Written against the glTF 2.0 spec.
1414

1515
## Overview
1616

17+
This extension defines the anisotropic property of a material as observable with brushed metals for instance.
18+
An assymetric specular lobe model is introduced to allow for such phenomenon.
19+
The visually distinct feature of that lobe is the elongated appearance of the specular reflection.
20+
For a single punctual light source, the specular reflection will eventually degenerate into a zero width line in the limit,
21+
that is where the material is fully anisotropic, as opposed to be fully isotropic in which case the specular reflecation is radially symmetric.
22+
23+
## Extending Materials
1724

1825
```json
1926
{
2027
"materials": [
2128
{
2229
"extensions": {
2330
"KHR_materials_anisotropy": {
31+
"anisotropy": 0.6,
32+
"anisotropyDirection": [0.0, 1.0, 0.0]
2433
}
2534
}
2635
}
@@ -30,7 +39,21 @@ Written against the glTF 2.0 spec.
3039

3140
### Definition
3241

42+
## Anisotropy
43+
44+
Two new material properties are introduced: an explicit anisotropy parameter and the direction in which the specular reflection elongates relative to the surface tangents.
45+
The anisotropy parameter is a dimensionaless number in `[-1, 1]` and forms a bijection to the roughness distribution along two orthogonal directions,
46+
one of which is the direction parameter and the other the result of the crossing the direction and the geometric normal.
47+
48+
A anisotropy of `1` means that the specular reflection will elongate along the given direction,
49+
while a value of `-1` will elongate it along the computed orthogonal direction.
50+
51+
| | -0.5 | 0.0 | 0.5 |
52+
| [1.0, 0.0, 0.0] | ![Fig. 1](figures/fig1.jpg) | ![Fig. 2](figures/fig2.jpg) | ![Fig. 3](figures/fig3.jpg)
53+
| [1.0, 1.0, 0.0] | ![Fig. 4](figures/fig4.jpg) | ![Fig. 5](figures/fig5.jpg) | ![Fig. 6](figures/fig6.jpg)
54+
3355
### Reference
3456

35-
[Google Filament - Anisotropic model](https://google.github.io/filament/Filament.md.html#materialsystem/anisotropicmodel)
57+
[Google Filament - Anisotropic model](https://google.github.io/filament/Filament.md.html#materialsystem/anisotropicmodel)
58+
[Google Filament Materials Guide - Anisotropic model](https://google.github.io/filament/Materials.md.html#materialmodels/litmodel/anisotropy)
3659
[Blender Principled BSDF](https://docs.blender.org/manual/en/latest/render/shader_nodes/shader/principled.html)
9.85 KB
Loading
9.7 KB
Loading
9.86 KB
Loading
10 KB
Loading
9.71 KB
Loading
9.98 KB
Loading

0 commit comments

Comments
 (0)