Skip to content

Commit c1c5f18

Browse files
author
Mike Bond
committed
Add vis test for OpenPBR normal mapping
1 parent bff96da commit c1c5f18

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

packages/dev/core/src/Shaders/ShadersInclude/openpbrNormalMapFragment.fx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
#endif
4949

5050
#ifdef GEOMETRY_COAT_NORMAL
51-
coatNormalW = perturbNormal(TBN, texture2D(geometryNormalSampler, vGeometryNormalUV + uvOffset).xyz, vGeometryNormalInfos.y);
51+
coatNormalW = perturbNormal(TBN, texture2D(geometryCoatNormalSampler, vGeometryCoatNormalUV + uvOffset).xyz, vGeometryCoatNormalInfos.y);
5252
#endif
5353

5454
#ifdef GEOMETRY_NORMAL
125 KB
Loading

packages/tools/tests/test/visualization/config.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2816,6 +2816,11 @@
28162816
"title": "OpenPBR Analytic Lights Specular IOR vs Coat IOR",
28172817
"playgroundId": "#GRQHVV#36",
28182818
"excludedEngines": ["webgl1"]
2819+
},
2820+
{
2821+
"title": "OpenPBR IBL Normal and Coat Normal Mapping",
2822+
"playgroundId": "#GRQHVV#44",
2823+
"excludedEngines": ["webgl1"]
28192824
}
28202825
]
28212826
}

0 commit comments

Comments
 (0)