Skip to content

Commit

Permalink
Merge pull request #81 from PatrickRyanMS/main
Browse files Browse the repository at this point in the history
Update sheen cloth asset with mesh AO
  • Loading branch information
DRx3D committed Dec 22, 2023
2 parents dc6b5c5 + 6f35993 commit 43380bb
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 5 deletions.
4 changes: 3 additions & 1 deletion Models/SheenCloth/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ To account for this, the material uses tiled textures to reduce the overall size

The texture for the technical fabric was created in Substance Designer with a base color texture, packed ORM texture, normal texture, and sheen texture with sheen color in the RGB channels and sheen roughness in alpha. The image below shows the channels of the sheen texture with the left half of the image displaying the sheen color in the RGB channels and the right displaying the sheen roughness in the alpha channel.

![screenshot](screenshot/sheenTextureSample.jpg)
Additionally an occlusion texture was baked from the mesh as an atlased texture which should not tile. The size of the occlusion texture is 1024 x 1024 to prevent pixelation artifacts in the texture and saved as a .jpg file to reduce the overall file size in download.

![screenshot](screenshot/sheenTextureSample.jpg)

### License Information

Expand Down
16 changes: 12 additions & 4 deletions Models/SheenCloth/glTF/SheenCloth.gltf
Original file line number Diff line number Diff line change
Expand Up @@ -161,12 +161,12 @@
}
},
"occlusionTexture": {
"index": 1,
"index": 4,
"extensions": {
"KHR_texture_transform": {
"scale": [
30.0,
-30.0
1.0,
1.0
]
}
}
Expand Down Expand Up @@ -227,7 +227,12 @@
"sampler": 0,
"source": 3,
"name": "technicalFabricSmall_sheen_256.png"
}
},
{
"sampler": 0,
"source": 4,
"name": "SheenCloth_AO.jpg"
}
],
"images": [
{
Expand All @@ -241,6 +246,9 @@
},
{
"uri": "technicalFabricSmall_sheen_256.png"
},
{
"uri": "SheenCloth_AO.jpg"
}
],
"samplers": [
Expand Down
Binary file added Models/SheenCloth/glTF/SheenCloth_AO.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Models/SheenCloth/screenshot/screenshot-x150.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Models/SheenCloth/screenshot/screenshot.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Models/SheenCloth/screenshot/sheen_technicalFabric_side.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 43380bb

Please sign in to comment.