Adding a temporarily exclusion for terrain gem materials and shaders when building on mac (#6739)
* Adding a temporarily exclusion for terrain gem materials and shaders when building on mac. This is a short term fix until either: - there's a generic way to exclude assets based on platform - materialtype assets can directly exclude certain platforms (or ignore excluded shaders) - shader compiling for mac supports unbounded texture arrays. Signed-off-by: Ken Pruiksma <pruiksma@amazon.com> * moving setreg to gem and contraining to the exact files that are problematic Signed-off-by: Ken Pruiksma <pruiksma@amazon.com>
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"Amazon": {
|
||||
"AssetProcessor": {
|
||||
"Settings": {
|
||||
// The terrain shader doesn't work on mac due to unbounded arrays, so disable problematic materials and material types
|
||||
// in the terrain gem to prevent dependencies from failing.
|
||||
"Exclude Terrain DefaultPbrTerrain.material": {
|
||||
"pattern": "^Materials/Terrain/DefaultPbrTerrain.material"
|
||||
},
|
||||
"Exclude Terrain PbrTerrain.materialtype": {
|
||||
"pattern": "^Materials/Terrain/PbrTerrain.materialtype"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user