KhronosGroup / glTF-Sample-Assets

To store all models and other assets related to glTF
256 stars 30 forks source link

AnisotropyDiscTest improvement #44

Closed elalish closed 7 months ago

elalish commented 7 months ago

@echadwick-artist Thanks for the test model! However, it's a bit confusing to use because there are sharp transitions in lighting that feel like bugs, but are actually correct given the model's texture:

image

I would expect that the anisotropy effect is confined to the circles, and hence the square back plates should all look identical, and therefore have no reflection discontinuities between them. However, upon looking at your texture, I see the square backplanes actually have the same anisotropy strength as their circles, but simply a constant direction vector:

image

Would you mind changing them to all have zero blue channel strength outside of the circle? And ideally make the strength gradient one match: zero outside the same circle, then linearly rising to 1 in the center.

echadwick-artist commented 7 months ago

Fixed.