Merge pull request #5393 from aws-lumberyard-dev/Atom/santorac/FixSkinScreenshotTests

Updated 002_wrinkle_regression_test.material to avoid subsurface scattering artifacts

Having subsurface scattering into a completely back area is an unrealistic scenario and caused colored artifacts. I changed the material to mask out the black areas from applying SS. Corresponding changes will be made to the expceted screenshot in AtomSampleViewer as well.
monroegm-disable-blank-issue-2
santorac 4 years ago committed by GitHub
commit 0ae2d75261
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -33,7 +33,7 @@
}, },
"subsurfaceScattering": { "subsurfaceScattering": {
"enableSubsurfaceScattering": true, "enableSubsurfaceScattering": true,
"influenceMap": "Objects/Lucy/Lucy_thickness.tif", "influenceMap": "TestData/Textures/checker8x8_gray_512.png",
"scatterDistance": 15.0, "scatterDistance": 15.0,
"subsurfaceScatterFactor": 0.4300000071525574, "subsurfaceScatterFactor": 0.4300000071525574,
"thicknessMap": "Objects/Lucy/Lucy_thickness.tif", "thicknessMap": "Objects/Lucy/Lucy_thickness.tif",
@ -47,8 +47,7 @@
0.3182879388332367, 0.3182879388332367,
0.16388189792633058, 0.16388189792633058,
1.0 1.0
], ]
"useInfluenceMap": false
}, },
"wrinkleLayers": { "wrinkleLayers": {
"baseColorMap1": "TestData/Textures/cc0/Lava004_1K_Color.jpg", "baseColorMap1": "TestData/Textures/cc0/Lava004_1K_Color.jpg",
@ -61,4 +60,4 @@
"normalMap2": "TestData/Textures/TextureHaven/4k_castle_brick_02_red/4k_castle_brick_02_red_normal.png" "normalMap2": "TestData/Textures/TextureHaven/4k_castle_brick_02_red/4k_castle_brick_02_red_normal.png"
} }
} }
} }
Loading…
Cancel
Save