Replaced StandardPBR_DiffuseOcclusionState and StandardPBR_SpecularOcclusionState functor scripts with just UseTexture functors. The behavior is the basically the same and a lot simpler. All we lose is the occlusion "enable" flag, which is cleaner anyway.

ATOM-14040 Add Support for Cavity Maps
This commit is contained in:
Chris Santora
2021-04-20 16:40:10 -07:00
parent 64e625a79f
commit 94b11e5c8f
18 changed files with 65 additions and 205 deletions
@@ -5,7 +5,6 @@
"propertyLayoutVersion": 3,
"properties": {
"occlusion": {
"enable": true,
"diffuseTextureMap": "Materials/Bricks038_8K/Bricks038_8K_AmbientOcclusion.png"
},
"baseColor": {
@@ -5,7 +5,6 @@
"propertyLayoutVersion": 3,
"properties": {
"occlusion": {
"enable": true,
"diffuseFactor": 0.30000001192092898,
"diffuseTextureMap": "Materials/PaintedPlaster015_8K/PaintedPlaster015_8K_AmbientOcclusion.png"
},