diff options
author | Cosmic Linden <cosmic@lindenlab.com> | 2024-07-01 16:17:06 -0700 |
---|---|---|
committer | Cosmic Linden <cosmic@lindenlab.com> | 2024-07-01 16:17:06 -0700 |
commit | 9ccab0df1499e8d029a49f8835bf2db70b2f7a8e (patch) | |
tree | 03658edd71b64c872ef3c460fb28b89f06768714 /doc/testplans/pbr_materials.md | |
parent | e32f6426d5b0765272f7c08bbbb6780a2f2e1e0b (diff) |
secondlife/viewer#1847: Add test plan for normal textures on PBR materials
Diffstat (limited to 'doc/testplans/pbr_materials.md')
-rw-r--r-- | doc/testplans/pbr_materials.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/testplans/pbr_materials.md b/doc/testplans/pbr_materials.md new file mode 100644 index 0000000000..f91e5fd454 --- /dev/null +++ b/doc/testplans/pbr_materials.md @@ -0,0 +1,12 @@ +# PBR Materials + +## KHR Texture Transforms + +Texture repeats for PBR materials on prims are based on the [KHR\_texture\_transform](https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Khronos/KHR_texture_transform) spec, and thus should be expected to behave according to the spec. + +PBR materials should have approximately correct lighting based on the normal texture: + +- With default texture transforms, assuming the prim or model has correct normals and tangents +- With a texture transform applied, especially rotation or negative scale +- With a texture animation applied via `llSetTextureAnim`, especially a rotation animation + - Note: Texture animations are not guaranteed to loop when a PBR texture transform is applied |