Skip to content

Commit

Permalink
Merge pull request KhronosGroup#32 from KhronosGroup/anisotropy-disc-…
Browse files Browse the repository at this point in the history
…test

Added Eric's anisotropy disc test model.
  • Loading branch information
echadwick-artist authored Oct 14, 2023
2 parents 36995f1 + a6efafa commit bd539c1
Show file tree
Hide file tree
Showing 8 changed files with 1,213 additions and 0 deletions.
19 changes: 19 additions & 0 deletions Models/AnisotropyDiscTest/README.body.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
## Screenshot

![screenshot](screenshot/screenshot-large.png)

## Description

This model tests the main texturemap for [`KHR_materials_anisotropy`](https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Khronos/KHR_materials_anisotropy). It has the following features:

- An array of base material roughness values are tested with the same texturemap each time.

- The upper-left quadrant tests a disc-shaped anisotropic pattern at a strength of about 3%.

- The upper-right quadrant tests a disc-shaped anisotropic pattern at a strength of about 10%.

- The lower-right quadrant tests a disc-shaped anisotropic pattern at a full strength.

- The lower-left quadrant tests a disc-shaped anisotropic pattern with a gradient strength, starting at zero around the edges and increasing to full strength in the center.

Per the anisotropy specification, anisotropic strength increases the material's roughness along a particular direction. Therefore, zero base roughness with full-strength anisotropy displays the most pronounced result. Full 1.0 base roughness cannot increase more, and does not show any effects from anisotropy.
Binary file not shown.
Loading

0 comments on commit bd539c1

Please sign in to comment.