diff --git a/.gitattributes b/.gitattributes
index 87c9db929..d530ed421 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -51,12 +51,11 @@
*.dylib filter=lfs diff=lfs merge=lfs -text
*.bundle filter=lfs diff=lfs merge=lfs -text
*.engine filter=lfs diff=lfs merge=lfs -text
+*.sbsar filter=lfs diff=lfs merge=lfs -text
*.msgpack filter=lfs diff=lfs merge=lfs -text
GameData/*.cc filter=lfs diff=lfs merge=lfs -text
GameData/Mods/**/*.cc filter=lfs diff=lfs merge=lfs -text
GameData/Mods/**/*.glb filter=lfs diff=lfs merge=lfs -text
-tests/fixtures/mods/**/*.cc filter=lfs diff=lfs merge=lfs -text
-tests/fixtures/mods/**/*.glb filter=lfs diff=lfs merge=lfs -text
tools/blender/tests/fixtures/*.glb filter=lfs diff=lfs merge=lfs -text
*.a filter=lfs diff=lfs merge=lfs -text
*AkSoundEngine filter=lfs diff=lfs merge=lfs -text
diff --git a/.lfsconfig b/.lfsconfig
deleted file mode 100644
index d9ce439fc..000000000
--- a/.lfsconfig
+++ /dev/null
@@ -1,2 +0,0 @@
-[lfs]
- url = https://eureka.gamecult.org/forge/GameCult/Aetheria.git/info/lfs
diff --git a/Assets/Content/Prefabs/Turrets/Turret.prefab b/Assets/Content/Prefabs/Turrets/Turret.prefab
index 2df968941..748ca8a29 100644
--- a/Assets/Content/Prefabs/Turrets/Turret.prefab
+++ b/Assets/Content/Prefabs/Turrets/Turret.prefab
@@ -998,8 +998,8 @@ MeshRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- - {fileID: 2100000, guid: 38f8ba6b169127249b6532be2b3926ee, type: 2}
- - {fileID: 2100000, guid: 5e43f48908cce2949a41677ec48affe5, type: 2}
+ - {fileID: 3720744386649352057, guid: 504c7bfe0d50ff64a88b8eac2ceb46f8, type: 3}
+ - {fileID: 3720744386649352057, guid: b2bec4b400153d745b2915f1c43e5c96, type: 3}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
diff --git a/Assets/Fonts/Ubuntu/Montserrat-OFL-1.1.txt b/Assets/Fonts/Ubuntu/Montserrat-OFL-1.1.txt
deleted file mode 100644
index d2fcdf3eb..000000000
--- a/Assets/Fonts/Ubuntu/Montserrat-OFL-1.1.txt
+++ /dev/null
@@ -1,93 +0,0 @@
-Copyright(c) 2014 by Julieta Ulanovsky
-
-This Font Software is licensed under the SIL Open Font License, Version 1.1.
-This license is copied below, and is also available with a FAQ at:
-https://openfontlicense.org
-
-
------------------------------------------------------------
-SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
------------------------------------------------------------
-
-PREAMBLE
-The goals of the Open Font License (OFL) are to stimulate worldwide
-development of collaborative font projects, to support the font creation
-efforts of academic and linguistic communities, and to provide a free and
-open framework in which fonts may be shared and improved in partnership
-with others.
-
-The OFL allows the licensed fonts to be used, studied, modified and
-redistributed freely as long as they are not sold by themselves. The
-fonts, including any derivative works, can be bundled, embedded,
-redistributed and/or sold with any software provided that any reserved
-names are not used by derivative works. The fonts and derivatives,
-however, cannot be released under any other type of license. The
-requirement for fonts to remain under this license does not apply
-to any document created using the fonts or their derivatives.
-
-DEFINITIONS
-"Font Software" refers to the set of files released by the Copyright
-Holder(s) under this license and clearly marked as such. This may
-include source files, build scripts and documentation.
-
-"Reserved Font Name" refers to any names specified as such after the
-copyright statement(s).
-
-"Original Version" refers to the collection of Font Software components as
-distributed by the Copyright Holder(s).
-
-"Modified Version" refers to any derivative made by adding to, deleting,
-or substituting -- in part or in whole -- any of the components of the
-Original Version, by changing formats or by porting the Font Software to a
-new environment.
-
-"Author" refers to any designer, engineer, programmer, technical
-writer or other person who contributed to the Font Software.
-
-PERMISSION & CONDITIONS
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of the Font Software, to use, study, copy, merge, embed, modify,
-redistribute, and sell modified and unmodified copies of the Font
-Software, subject to the following conditions:
-
-1) Neither the Font Software nor any of its individual components,
-in Original or Modified Versions, may be sold by itself.
-
-2) Original or Modified Versions of the Font Software may be bundled,
-redistributed and/or sold with any software, provided that each copy
-contains the above copyright notice and this license. These can be
-included either as stand-alone text files, human-readable headers or
-in the appropriate machine-readable metadata fields within text or
-binary files as long as those fields can be easily viewed by the user.
-
-3) No Modified Version of the Font Software may use the Reserved Font
-Name(s) unless explicit written permission is granted by the corresponding
-Copyright Holder. This restriction only applies to the primary font name as
-presented to the users.
-
-4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
-Software shall not be used to promote, endorse or advertise any
-Modified Version, except to acknowledge the contribution(s) of the
-Copyright Holder(s) and the Author(s) or with their explicit written
-permission.
-
-5) The Font Software, modified or unmodified, in part or in whole,
-must be distributed entirely under this license, and must not be
-distributed under any other license. The requirement for fonts to
-remain under this license does not apply to any document created
-using the Font Software.
-
-TERMINATION
-This license becomes null and void if any of the above conditions are
-not met.
-
-DISCLAIMER
-THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
-OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
-COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
-DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
-OTHER DEALINGS IN THE FONT SOFTWARE.
\ No newline at end of file
diff --git a/Assets/Fonts/Ubuntu/UFL-1.0.txt b/Assets/Fonts/Ubuntu/UFL-1.0.txt
deleted file mode 100644
index ae78a8f94..000000000
--- a/Assets/Fonts/Ubuntu/UFL-1.0.txt
+++ /dev/null
@@ -1,96 +0,0 @@
--------------------------------
-UBUNTU FONT LICENCE Version 1.0
--------------------------------
-
-PREAMBLE
-This licence allows the licensed fonts to be used, studied, modified and
-redistributed freely. The fonts, including any derivative works, can be
-bundled, embedded, and redistributed provided the terms of this licence
-are met. The fonts and derivatives, however, cannot be released under
-any other licence. The requirement for fonts to remain under this
-licence does not require any document created using the fonts or their
-derivatives to be published under this licence, as long as the primary
-purpose of the document is not to be a vehicle for the distribution of
-the fonts.
-
-DEFINITIONS
-"Font Software" refers to the set of files released by the Copyright
-Holder(s) under this licence and clearly marked as such. This may
-include source files, build scripts and documentation.
-
-"Original Version" refers to the collection of Font Software components
-as received under this licence.
-
-"Modified Version" refers to any derivative made by adding to, deleting,
-or substituting -- in part or in whole -- any of the components of the
-Original Version, by changing formats or by porting the Font Software to
-a new environment.
-
-"Copyright Holder(s)" refers to all individuals and companies who have a
-copyright ownership of the Font Software.
-
-"Substantially Changed" refers to Modified Versions which can be easily
-identified as dissimilar to the Font Software by users of the Font
-Software comparing the Original Version with the Modified Version.
-
-To "Propagate" a work means to do anything with it that, without
-permission, would make you directly or secondarily liable for
-infringement under applicable copyright law, except executing it on a
-computer or modifying a private copy. Propagation includes copying,
-distribution (with or without modification and with or without charging
-a redistribution fee), making available to the public, and in some
-countries other activities as well.
-
-PERMISSION & CONDITIONS
-This licence does not grant any rights under trademark law and all such
-rights are reserved.
-
-Permission is hereby granted, free of charge, to any person obtaining a
-copy of the Font Software, to propagate the Font Software, subject to
-the below conditions:
-
-1) Each copy of the Font Software must contain the above copyright
-notice and this licence. These can be included either as stand-alone
-text files, human-readable headers or in the appropriate machine-
-readable metadata fields within text or binary files as long as those
-fields can be easily viewed by the user.
-
-2) The font name complies with the following:
-(a) The Original Version must retain its name, unmodified.
-(b) Modified Versions which are Substantially Changed must be renamed to
-avoid use of the name of the Original Version or similar names entirely.
-(c) Modified Versions which are not Substantially Changed must be
-renamed to both (i) retain the name of the Original Version and (ii) add
-additional naming elements to distinguish the Modified Version from the
-Original Version. The name of such Modified Versions must be the name of
-the Original Version, with "derivative X" where X represents the name of
-the new work, appended to that name.
-
-3) The name(s) of the Copyright Holder(s) and any contributor to the
-Font Software shall not be used to promote, endorse or advertise any
-Modified Version, except (i) as required by this licence, (ii) to
-acknowledge the contribution(s) of the Copyright Holder(s) or (iii) with
-their explicit written permission.
-
-4) The Font Software, modified or unmodified, in part or in whole, must
-be distributed entirely under this licence, and must not be distributed
-under any other licence. The requirement for fonts to remain under this
-licence does not affect any document created using the Font Software,
-except any version of the Font Software extracted from a document
-created using the Font Software may only be distributed under this
-licence.
-
-TERMINATION
-This licence becomes null and void if any of the above conditions are
-not met.
-
-DISCLAIMER
-THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
-COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
-COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
-DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER
-DEALINGS IN THE FONT SOFTWARE.
diff --git a/Assets/Materials/Aluminium brushed.mat b/Assets/Materials/Aluminium brushed.mat
index a624f95e1..b8ade999f 100644
--- a/Assets/Materials/Aluminium brushed.mat
+++ b/Assets/Materials/Aluminium brushed.mat
@@ -20,7 +20,8 @@ Material:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
- m_Texture: {fileID: 2800000, guid: c3ef09438e3e46d18a4c267810aeb285, type: 3}
+ m_Texture: {fileID: 4730978449518085612, guid: 06d6a565d43fba5409712ce9a10bfbef,
+ type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
@@ -44,19 +45,23 @@ Material:
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
- m_Texture: {fileID: 2800000, guid: f70b6df0395b4752b4ec80cb7bfd8f42, type: 3}
+ m_Texture: {fileID: 7556082237344091230, guid: 06d6a565d43fba5409712ce9a10bfbef,
+ type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
- m_Texture: {fileID: 2800000, guid: 40f5e915d2734d43bc01f984772e9d29, type: 3}
+ m_Texture: {fileID: 6373266012617290493, guid: 06d6a565d43fba5409712ce9a10bfbef,
+ type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
- m_Texture: {fileID: 0}
+ m_Texture: {fileID: 342959783478273704, guid: 06d6a565d43fba5409712ce9a10bfbef,
+ type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
- m_Texture: {fileID: 0}
+ m_Texture: {fileID: -9132138291289375396, guid: 06d6a565d43fba5409712ce9a10bfbef,
+ type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
@@ -80,7 +85,7 @@ Material:
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- - _Color: {r: 0.951, g: 0.951, b: 0.951, a: 1}
+ - _Color: {r: 1, g: 1, b: 1, a: 1}
- _EdgeColor: {r: 3.0117648, g: 3.0117648, b: 11.984314, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
m_BuildTextureStacks: []
diff --git a/Assets/Materials/Car Paint Magenta.mat b/Assets/Materials/Car Paint Magenta.mat
index bff25331a..dbe95bd62 100644
--- a/Assets/Materials/Car Paint Magenta.mat
+++ b/Assets/Materials/Car Paint Magenta.mat
@@ -26,7 +26,8 @@ Material:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
- m_Texture: {fileID: 2800000, guid: 4ce3c2cc69304068b4a2ddc833b748b9, type: 3}
+ m_Texture: {fileID: 3068890721646206586, guid: a1d39ea984432bf44b4a0686afe2bf1a,
+ type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _FadeTex:
@@ -34,15 +35,18 @@ Material:
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
- m_Texture: {fileID: 2800000, guid: 73568a0c02bd4184bcb398c9e3dd7ab6, type: 3}
+ m_Texture: {fileID: 5917659159057834157, guid: a1d39ea984432bf44b4a0686afe2bf1a,
+ type: 3}
m_Scale: {x: 2, y: 2}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
- m_Texture: {fileID: 2800000, guid: d9cd336372c244e398532512e3f8f3be, type: 3}
+ m_Texture: {fileID: -3552914696322007609, guid: a1d39ea984432bf44b4a0686afe2bf1a,
+ type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
- m_Texture: {fileID: 2800000, guid: 73e117729c3447e5aa0eb1a30fad7c75, type: 3}
+ m_Texture: {fileID: -1242281561028671816, guid: a1d39ea984432bf44b4a0686afe2bf1a,
+ type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
@@ -55,6 +59,6 @@ Material:
- _Metallic: 1
- _OcclusionStrength: 1
m_Colors:
- - _Color: {r: 0.5, g: 0, b: 0.228113, a: 1}
+ - _Color: {r: 1, g: 1, b: 1, a: 1}
- _EdgeColor: {r: 3.0117648, g: 3.0117648, b: 11.984314, a: 1}
m_BuildTextureStacks: []
diff --git a/Assets/Materials/Car Paint Red.mat b/Assets/Materials/Car Paint Red.mat
index 063e9367c..8a7ffa46f 100644
--- a/Assets/Materials/Car Paint Red.mat
+++ b/Assets/Materials/Car Paint Red.mat
@@ -20,7 +20,8 @@ Material:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
- m_Texture: {fileID: 2800000, guid: 4ce3c2cc69304068b4a2ddc833b748b9, type: 3}
+ m_Texture: {fileID: 3068890721646206586, guid: 504c7bfe0d50ff64a88b8eac2ceb46f8,
+ type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
@@ -44,19 +45,23 @@ Material:
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
- m_Texture: {fileID: 2800000, guid: 73568a0c02bd4184bcb398c9e3dd7ab6, type: 3}
+ m_Texture: {fileID: 5917659159057834157, guid: 504c7bfe0d50ff64a88b8eac2ceb46f8,
+ type: 3}
m_Scale: {x: 2, y: 2}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
- m_Texture: {fileID: 2800000, guid: d9cd336372c244e398532512e3f8f3be, type: 3}
+ m_Texture: {fileID: -3552914696322007609, guid: 504c7bfe0d50ff64a88b8eac2ceb46f8,
+ type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
- m_Texture: {fileID: 2800000, guid: 73e117729c3447e5aa0eb1a30fad7c75, type: 3}
+ m_Texture: {fileID: -1242281561028671816, guid: 504c7bfe0d50ff64a88b8eac2ceb46f8,
+ type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
- m_Texture: {fileID: 0}
+ m_Texture: {fileID: -1652887728991447519, guid: 504c7bfe0d50ff64a88b8eac2ceb46f8,
+ type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
@@ -80,7 +85,7 @@ Material:
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- - _Color: {r: 1, g: 0.15685, b: 0, a: 1}
+ - _Color: {r: 1, g: 1, b: 1, a: 1}
- _EdgeColor: {r: 6.0235295, g: 6.0235295, b: 24.094118, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
m_BuildTextureStacks: []
diff --git a/Assets/Materials/Car Paint White Small.mat b/Assets/Materials/Car Paint White Small.mat
index cca6010f3..aab8a3663 100644
--- a/Assets/Materials/Car Paint White Small.mat
+++ b/Assets/Materials/Car Paint White Small.mat
@@ -29,7 +29,8 @@ Material:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
- m_Texture: {fileID: 2800000, guid: 4ce3c2cc69304068b4a2ddc833b748b9, type: 3}
+ m_Texture: {fileID: 3068890721646206586, guid: 1c858fec5b74c7c46b1712494192b6b5,
+ type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
@@ -53,19 +54,23 @@ Material:
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
- m_Texture: {fileID: 2800000, guid: 73568a0c02bd4184bcb398c9e3dd7ab6, type: 3}
+ m_Texture: {fileID: 5917659159057834157, guid: 1c858fec5b74c7c46b1712494192b6b5,
+ type: 3}
m_Scale: {x: 16, y: 16}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
- m_Texture: {fileID: 2800000, guid: d9cd336372c244e398532512e3f8f3be, type: 3}
+ m_Texture: {fileID: -3552914696322007609, guid: 1c858fec5b74c7c46b1712494192b6b5,
+ type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
- m_Texture: {fileID: 2800000, guid: 73e117729c3447e5aa0eb1a30fad7c75, type: 3}
+ m_Texture: {fileID: -1242281561028671816, guid: 1c858fec5b74c7c46b1712494192b6b5,
+ type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
- m_Texture: {fileID: 0}
+ m_Texture: {fileID: -1652887728991447519, guid: 1c858fec5b74c7c46b1712494192b6b5,
+ type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
@@ -90,7 +95,7 @@ Material:
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- - _Color: {r: 1, g: 0.891509, b: 0.946396, a: 1}
+ - _Color: {r: 1, g: 1, b: 1, a: 1}
- _EdgeColor: {r: 6.0235295, g: 6.0235295, b: 24.094118, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
m_BuildTextureStacks: []
diff --git a/Assets/Materials/Car Paint White.mat b/Assets/Materials/Car Paint White.mat
index ad0af17d2..ba32280af 100644
--- a/Assets/Materials/Car Paint White.mat
+++ b/Assets/Materials/Car Paint White.mat
@@ -26,7 +26,8 @@ Material:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
- m_Texture: {fileID: 2800000, guid: 4ce3c2cc69304068b4a2ddc833b748b9, type: 3}
+ m_Texture: {fileID: 3068890721646206586, guid: b2bec4b400153d745b2915f1c43e5c96,
+ type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _FadeTex:
@@ -34,15 +35,18 @@ Material:
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
- m_Texture: {fileID: 2800000, guid: 73568a0c02bd4184bcb398c9e3dd7ab6, type: 3}
+ m_Texture: {fileID: 5917659159057834157, guid: b2bec4b400153d745b2915f1c43e5c96,
+ type: 3}
m_Scale: {x: 2, y: 2}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
- m_Texture: {fileID: 2800000, guid: d9cd336372c244e398532512e3f8f3be, type: 3}
+ m_Texture: {fileID: -3552914696322007609, guid: b2bec4b400153d745b2915f1c43e5c96,
+ type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
- m_Texture: {fileID: 2800000, guid: 73e117729c3447e5aa0eb1a30fad7c75, type: 3}
+ m_Texture: {fileID: -1242281561028671816, guid: b2bec4b400153d745b2915f1c43e5c96,
+ type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
@@ -55,6 +59,6 @@ Material:
- _Metallic: 1
- _OcclusionStrength: 1
m_Colors:
- - _Color: {r: 1, g: 0.891509, b: 0.946396, a: 1}
+ - _Color: {r: 1, g: 1, b: 1, a: 1}
- _EdgeColor: {r: 3.0117648, g: 3.0117648, b: 11.984314, a: 1}
m_BuildTextureStacks: []
diff --git a/Assets/Materials/Cockpit.mat b/Assets/Materials/Cockpit.mat
index fb19e541a..543d0d608 100644
--- a/Assets/Materials/Cockpit.mat
+++ b/Assets/Materials/Cockpit.mat
@@ -26,7 +26,8 @@ Material:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
- m_Texture: {fileID: 2800000, guid: 3a10044baac4438f9fc0930783eccdf7, type: 3}
+ m_Texture: {fileID: -3419035557588562233, guid: 9fc901afb8a434e46b9405eaec2df5a4,
+ type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
@@ -50,19 +51,23 @@ Material:
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
- m_Texture: {fileID: 2800000, guid: 5a9cee903a2d48718aaf6b224126f279, type: 3}
+ m_Texture: {fileID: -1863473678134789185, guid: 9fc901afb8a434e46b9405eaec2df5a4,
+ type: 3}
m_Scale: {x: 2, y: 2}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
- m_Texture: {fileID: 2800000, guid: 8b24d7ea11c341408a146fa39f59b7b0, type: 3}
+ m_Texture: {fileID: 6214616473909614744, guid: 9fc901afb8a434e46b9405eaec2df5a4,
+ type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
- m_Texture: {fileID: 0}
+ m_Texture: {fileID: -3436886866959827803, guid: 9fc901afb8a434e46b9405eaec2df5a4,
+ type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
- m_Texture: {fileID: 0}
+ m_Texture: {fileID: 7009887839391554354, guid: 9fc901afb8a434e46b9405eaec2df5a4,
+ type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
@@ -87,7 +92,7 @@ Material:
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- - _Color: {r: 0.85, g: 0.65, b: 0.30, a: 1}
+ - _Color: {r: 1, g: 1, b: 1, a: 1}
- _EdgeColor: {r: 3.0117648, g: 3.0117648, b: 11.984314, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
m_BuildTextureStacks: []
diff --git a/Assets/Materials/Metal 003.mat b/Assets/Materials/Metal 003.mat
index 09330e338..4d07d4c1a 100644
--- a/Assets/Materials/Metal 003.mat
+++ b/Assets/Materials/Metal 003.mat
@@ -20,7 +20,8 @@ Material:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
- m_Texture: {fileID: 2800000, guid: 3a10044baac4438f9fc0930783eccdf7, type: 3}
+ m_Texture: {fileID: -2508943184622041221, guid: 885e680924fc12c439a842a2142d4b78,
+ type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
@@ -40,19 +41,23 @@ Material:
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
- m_Texture: {fileID: 2800000, guid: 5a9cee903a2d48718aaf6b224126f279, type: 3}
+ m_Texture: {fileID: -1236254257114565538, guid: 885e680924fc12c439a842a2142d4b78,
+ type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
- m_Texture: {fileID: 2800000, guid: 8b24d7ea11c341408a146fa39f59b7b0, type: 3}
+ m_Texture: {fileID: 4019402794555593307, guid: 885e680924fc12c439a842a2142d4b78,
+ type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
- m_Texture: {fileID: 0}
+ m_Texture: {fileID: -1475328947160444094, guid: 885e680924fc12c439a842a2142d4b78,
+ type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
- m_Texture: {fileID: 0}
+ m_Texture: {fileID: 7523010977671448217, guid: 885e680924fc12c439a842a2142d4b78,
+ type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
diff --git a/Assets/Materials/Mine Glow.mat b/Assets/Materials/Mine Glow.mat
index 7d6d630e7..e1627f2d9 100644
--- a/Assets/Materials/Mine Glow.mat
+++ b/Assets/Materials/Mine Glow.mat
@@ -20,7 +20,8 @@ Material:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
- m_Texture: {fileID: 2800000, guid: 8bc10cfce8a64defaf9f67d156003f09, type: 3}
+ m_Texture: {fileID: -812895718602229137, guid: b7e648471e9dfc44490bd41973711541,
+ type: 3}
m_Scale: {x: 2, y: 2}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
@@ -40,11 +41,13 @@ Material:
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
- m_Texture: {fileID: 2800000, guid: 2195885db9e846999fd10aa7f5c629b1, type: 3}
+ m_Texture: {fileID: -6057190860509678031, guid: 2b42584452fe0cc4fa4e8a115230b156,
+ type: 3}
m_Scale: {x: 2, y: 2}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
- m_Texture: {fileID: 2800000, guid: d91bff887b764847a484d0a9bedce9e9, type: 3}
+ m_Texture: {fileID: -894214952450941493, guid: 2b42584452fe0cc4fa4e8a115230b156,
+ type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
diff --git a/Assets/Materials/Radiators 1.mat b/Assets/Materials/Radiators 1.mat
new file mode 100644
index 000000000..a6219fe9d
--- /dev/null
+++ b/Assets/Materials/Radiators 1.mat
@@ -0,0 +1,87 @@
+%YAML 1.1
+%TAG !u! tag:unity3d.com,2011:
+--- !u!21 &2100000
+Material:
+ serializedVersion: 6
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_Name: Radiators 1
+ m_Shader: {fileID: 4800000, guid: d69ef48273708ef4680762f5cdcfc860, type: 3}
+ m_ShaderKeywords:
+ m_LightmapFlags: 4
+ m_EnableInstancingVariants: 0
+ m_DoubleSidedGI: 0
+ m_CustomRenderQueue: -1
+ stringTagMap: {}
+ disabledShaderPasses: []
+ m_SavedProperties:
+ serializedVersion: 3
+ m_TexEnvs:
+ - _BumpMap:
+ m_Texture: {fileID: -812895718602229137, guid: b7e648471e9dfc44490bd41973711541,
+ type: 3}
+ m_Scale: {x: 8, y: 8}
+ m_Offset: {x: 0, y: 0}
+ - _DetailAlbedoMap:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _DetailMask:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _DetailNormalMap:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _EmissionMap:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _MainTex:
+ m_Texture: {fileID: -6057190860509678031, guid: 2b42584452fe0cc4fa4e8a115230b156,
+ type: 3}
+ m_Scale: {x: 8, y: 8}
+ m_Offset: {x: 0, y: 0}
+ - _MetallicGlossMap:
+ m_Texture: {fileID: -894214952450941493, guid: 2b42584452fe0cc4fa4e8a115230b156,
+ type: 3}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _OcclusionMap:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _ParallaxMap:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ m_Floats:
+ - _BumpPower: 2
+ - _BumpScale: 1
+ - _Cutoff: 0.5
+ - _DetailNormalMapScale: 1
+ - _DstBlend: 0
+ - _Emission: 15
+ - _EmissionFresnel: 4
+ - _EmissionRoughnessFresnelPower: 0.5
+ - _GlossMapScale: 1
+ - _Glossiness: 1
+ - _GlossyReflections: 1
+ - _Metallic: 0
+ - _Mode: 0
+ - _OcclusionStrength: 1
+ - _Parallax: 0.02
+ - _ReverseRim: 0
+ - _Rotation: 0
+ - _SmoothnessTextureChannel: 0
+ - _SpecularHighlights: 1
+ - _SrcBlend: 1
+ - _UVSec: 0
+ - _ZWrite: 1
+ m_Colors:
+ - _Color: {r: 1, g: 1, b: 1, a: 1}
+ - _EmissionColor: {r: 1, g: 0.40135294, b: 0, a: 1}
+ m_BuildTextureStacks: []
diff --git a/Assets/Materials/Radiators 1.mat.meta b/Assets/Materials/Radiators 1.mat.meta
new file mode 100644
index 000000000..c562a84de
--- /dev/null
+++ b/Assets/Materials/Radiators 1.mat.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: f396635dc77c59c44ac85ae278a2e909
+NativeFormatImporter:
+ externalObjects: {}
+ mainObjectFileID: 0
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Materials/Radiators.mat b/Assets/Materials/Radiators.mat
index 1e5c52a54..aa7eaf0fb 100644
--- a/Assets/Materials/Radiators.mat
+++ b/Assets/Materials/Radiators.mat
@@ -21,7 +21,8 @@ Material:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
- m_Texture: {fileID: 2800000, guid: 8bc10cfce8a64defaf9f67d156003f09, type: 3}
+ m_Texture: {fileID: -812895718602229137, guid: b7e648471e9dfc44490bd41973711541,
+ type: 3}
m_Scale: {x: 2, y: 2}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
@@ -45,11 +46,13 @@ Material:
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
- m_Texture: {fileID: 2800000, guid: 2195885db9e846999fd10aa7f5c629b1, type: 3}
+ m_Texture: {fileID: -6057190860509678031, guid: 2b42584452fe0cc4fa4e8a115230b156,
+ type: 3}
m_Scale: {x: 2, y: 2}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
- m_Texture: {fileID: 2800000, guid: d91bff887b764847a484d0a9bedce9e9, type: 3}
+ m_Texture: {fileID: -894214952450941493, guid: 2b42584452fe0cc4fa4e8a115230b156,
+ type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
diff --git a/Assets/Materials/Silver.mat b/Assets/Materials/Silver.mat
index 0bb79d6a1..e02d24f97 100644
--- a/Assets/Materials/Silver.mat
+++ b/Assets/Materials/Silver.mat
@@ -26,7 +26,8 @@ Material:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
- m_Texture: {fileID: 2800000, guid: c3ef09438e3e46d18a4c267810aeb285, type: 3}
+ m_Texture: {fileID: 8947980237086559854, guid: 0be5fb1df83ac8e499a3f6a060041e49,
+ type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
@@ -50,19 +51,23 @@ Material:
m_Scale: {x: 2, y: 2}
m_Offset: {x: 0, y: 0}
- _MainTex:
- m_Texture: {fileID: 2800000, guid: f70b6df0395b4752b4ec80cb7bfd8f42, type: 3}
+ m_Texture: {fileID: -1383037052668628532, guid: 0be5fb1df83ac8e499a3f6a060041e49,
+ type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
- m_Texture: {fileID: 2800000, guid: 40f5e915d2734d43bc01f984772e9d29, type: 3}
+ m_Texture: {fileID: 6429125567479694453, guid: 0be5fb1df83ac8e499a3f6a060041e49,
+ type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
- m_Texture: {fileID: 0}
+ m_Texture: {fileID: -9097439929179392311, guid: 0be5fb1df83ac8e499a3f6a060041e49,
+ type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
- m_Texture: {fileID: 0}
+ m_Texture: {fileID: 425190381137097012, guid: 0be5fb1df83ac8e499a3f6a060041e49,
+ type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
diff --git a/Assets/Materials/Station Lights.mat b/Assets/Materials/Station Lights.mat
index 2aac54ac7..f863306a1 100644
--- a/Assets/Materials/Station Lights.mat
+++ b/Assets/Materials/Station Lights.mat
@@ -24,7 +24,8 @@ Material:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
- m_Texture: {fileID: 2800000, guid: 8bc10cfce8a64defaf9f67d156003f09, type: 3}
+ m_Texture: {fileID: -812895718602229137, guid: b7e648471e9dfc44490bd41973711541,
+ type: 3}
m_Scale: {x: 8, y: 8}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
@@ -48,11 +49,13 @@ Material:
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
- m_Texture: {fileID: 2800000, guid: 2195885db9e846999fd10aa7f5c629b1, type: 3}
+ m_Texture: {fileID: -6057190860509678031, guid: 2b42584452fe0cc4fa4e8a115230b156,
+ type: 3}
m_Scale: {x: 16, y: 16}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
- m_Texture: {fileID: 2800000, guid: d91bff887b764847a484d0a9bedce9e9, type: 3}
+ m_Texture: {fileID: -894214952450941493, guid: 2b42584452fe0cc4fa4e8a115230b156,
+ type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
diff --git a/Assets/Materials/Steel brushed.mat b/Assets/Materials/Steel brushed.mat
new file mode 100644
index 000000000..dba1bd074
--- /dev/null
+++ b/Assets/Materials/Steel brushed.mat
@@ -0,0 +1,83 @@
+%YAML 1.1
+%TAG !u! tag:unity3d.com,2011:
+--- !u!21 &2100000
+Material:
+ serializedVersion: 6
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_Name: Steel brushed
+ m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
+ m_ShaderKeywords: _MAINTEX _METALLICGLOSSMAP _NORMALMAP _OCCLUSIONMAP _PARALLAXMAP
+ m_LightmapFlags: 4
+ m_EnableInstancingVariants: 0
+ m_DoubleSidedGI: 0
+ m_CustomRenderQueue: -1
+ stringTagMap: {}
+ disabledShaderPasses: []
+ m_SavedProperties:
+ serializedVersion: 3
+ m_TexEnvs:
+ - _BumpMap:
+ m_Texture: {fileID: -4471413742775304797, guid: ea7457b9a4f0bcb43becaa33de541cbd,
+ type: 3}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _DetailAlbedoMap:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _DetailMask:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _DetailNormalMap:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _EmissionMap:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 8, y: 8}
+ m_Offset: {x: 0, y: 0}
+ - _MainTex:
+ m_Texture: {fileID: -4638397344074346932, guid: ea7457b9a4f0bcb43becaa33de541cbd,
+ type: 3}
+ m_Scale: {x: 8, y: 8}
+ m_Offset: {x: 0, y: 0}
+ - _MetallicGlossMap:
+ m_Texture: {fileID: 5049811794194361025, guid: ea7457b9a4f0bcb43becaa33de541cbd,
+ type: 3}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _OcclusionMap:
+ m_Texture: {fileID: 1753668427856518731, guid: ea7457b9a4f0bcb43becaa33de541cbd,
+ type: 3}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _ParallaxMap:
+ m_Texture: {fileID: -3498708498072814504, guid: ea7457b9a4f0bcb43becaa33de541cbd,
+ type: 3}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ m_Floats:
+ - _BumpScale: 1
+ - _Cutoff: 0.5
+ - _DetailNormalMapScale: 1
+ - _DstBlend: 0
+ - _GlossMapScale: 1
+ - _Glossiness: 0.5
+ - _GlossyReflections: 1
+ - _Metallic: 0
+ - _Mode: 0
+ - _OcclusionStrength: 1
+ - _Parallax: 0.02
+ - _SmoothnessTextureChannel: 0
+ - _SpecularHighlights: 1
+ - _SrcBlend: 1
+ - _UVSec: 0
+ - _ZWrite: 1
+ m_Colors:
+ - _Color: {r: 1, g: 1, b: 1, a: 1}
+ - _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
+ m_BuildTextureStacks: []
diff --git a/Assets/Materials/Steel brushed.mat.meta b/Assets/Materials/Steel brushed.mat.meta
new file mode 100644
index 000000000..73afa8139
--- /dev/null
+++ b/Assets/Materials/Steel brushed.mat.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: df3e704fc59794a45b8e14a78d96cca3
+NativeFormatImporter:
+ externalObjects: {}
+ mainObjectFileID: 0
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Materials/Steel parkerized.mat b/Assets/Materials/Steel parkerized.mat
index ba47afb87..b4194ab66 100644
--- a/Assets/Materials/Steel parkerized.mat
+++ b/Assets/Materials/Steel parkerized.mat
@@ -29,7 +29,8 @@ Material:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
- m_Texture: {fileID: 2800000, guid: dc71e34b4a1f4de7aa826d18b67b5852, type: 3}
+ m_Texture: {fileID: 885599758852769373, guid: e7758cad28ae98f478940e55222419a6,
+ type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
@@ -53,19 +54,23 @@ Material:
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
- m_Texture: {fileID: 2800000, guid: 1ed06708491744fe944217d19e450157, type: 3}
+ m_Texture: {fileID: -4474525002722929857, guid: e7758cad28ae98f478940e55222419a6,
+ type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
- m_Texture: {fileID: 2800000, guid: 31e7d642ff8a49a28390c82626c4b6b9, type: 3}
+ m_Texture: {fileID: -2334804936223627746, guid: e7758cad28ae98f478940e55222419a6,
+ type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
- m_Texture: {fileID: 0}
+ m_Texture: {fileID: -8380876848358870972, guid: e7758cad28ae98f478940e55222419a6,
+ type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
- m_Texture: {fileID: 0}
+ m_Texture: {fileID: 172713863077875830, guid: e7758cad28ae98f478940e55222419a6,
+ type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
diff --git a/Assets/Materials/Steel.mat b/Assets/Materials/Steel.mat
index 6eeb29385..37420bfd4 100644
--- a/Assets/Materials/Steel.mat
+++ b/Assets/Materials/Steel.mat
@@ -26,7 +26,8 @@ Material:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
- m_Texture: {fileID: 2800000, guid: c3ef09438e3e46d18a4c267810aeb285, type: 3}
+ m_Texture: {fileID: -3888315358723833787, guid: cbc61995a46604441ab9de4f1c68e290,
+ type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
@@ -50,19 +51,23 @@ Material:
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
- m_Texture: {fileID: 2800000, guid: f70b6df0395b4752b4ec80cb7bfd8f42, type: 3}
+ m_Texture: {fileID: 108215966750249586, guid: cbc61995a46604441ab9de4f1c68e290,
+ type: 3}
m_Scale: {x: 4, y: 4}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
- m_Texture: {fileID: 2800000, guid: 40f5e915d2734d43bc01f984772e9d29, type: 3}
+ m_Texture: {fileID: 4793252353645218242, guid: cbc61995a46604441ab9de4f1c68e290,
+ type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
- m_Texture: {fileID: 0}
+ m_Texture: {fileID: -4384182597330533215, guid: cbc61995a46604441ab9de4f1c68e290,
+ type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
- m_Texture: {fileID: 0}
+ m_Texture: {fileID: 4600200897981803784, guid: cbc61995a46604441ab9de4f1c68e290,
+ type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
diff --git a/Assets/Fonts/Ubuntu/UFL-1.0.txt.meta b/Assets/Materials/Substance.meta
similarity index 57%
rename from Assets/Fonts/Ubuntu/UFL-1.0.txt.meta
rename to Assets/Materials/Substance.meta
index 33790c1ab..c6926c786 100644
--- a/Assets/Fonts/Ubuntu/UFL-1.0.txt.meta
+++ b/Assets/Materials/Substance.meta
@@ -1,6 +1,7 @@
fileFormatVersion: 2
-guid: 331370618a0a473fb6a6837985b38a35
-TextScriptImporter:
+guid: 7de1c11cf7591ec48bdb53e9818172f5
+folderAsset: yes
+DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
diff --git a/Assets/Fonts/Ubuntu/Montserrat-OFL-1.1.txt.meta b/Assets/Materials/Substance/Metal.meta
similarity index 57%
rename from Assets/Fonts/Ubuntu/Montserrat-OFL-1.1.txt.meta
rename to Assets/Materials/Substance/Metal.meta
index c2ea6a451..e8c0226e7 100644
--- a/Assets/Fonts/Ubuntu/Montserrat-OFL-1.1.txt.meta
+++ b/Assets/Materials/Substance/Metal.meta
@@ -1,6 +1,7 @@
fileFormatVersion: 2
-guid: dc84a6b2454445f9be69af26e86eb90c
-TextScriptImporter:
+guid: 09aee558716a08d4c9806b9b4273a209
+folderAsset: yes
+DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
diff --git a/Assets/Materials/Substance/Metal/Pickup Base.sbsar b/Assets/Materials/Substance/Metal/Pickup Base.sbsar
new file mode 100644
index 000000000..963310406
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/Pickup Base.sbsar
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:dbee14b278a03ed59e1df8ecd6ba2b07ab7c2b2089e5e2bc3fad5673694a9f03
+size 14971
diff --git a/Assets/Materials/Substance/Metal/Pickup Base.sbsar.meta b/Assets/Materials/Substance/Metal/Pickup Base.sbsar.meta
new file mode 100644
index 000000000..2966159bc
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/Pickup Base.sbsar.meta
@@ -0,0 +1,382 @@
+fileFormatVersion: 2
+guid: 26a894e543f3ed44893b1620707ca62c
+ScriptedImporter:
+ internalIDToNameTable:
+ - first:
+ 1: 100000
+ second: metal_car_paint/metal_car_paint
+ - first:
+ 4: 400000
+ second: metal_car_paint/metal_car_paint/Transform
+ - first:
+ 21: 2100000
+ second: mat.Car paint
+ - first:
+ 23: 2300000
+ second: metal_car_paint/metal_car_paint/MeshRenderer
+ - first:
+ 28: 2800000
+ second: Car paint_baseColor
+ - first:
+ 28: 2800002
+ second: Car paint_normal
+ - first:
+ 28: 2800004
+ second: Car paint_metallic
+ - first:
+ 28: 2800006
+ second: Car paint_ambientOcclusion
+ - first:
+ 28: 2800008
+ second: Car paint_height
+ - first:
+ 33: 3300000
+ second: metal_car_paint/metal_car_paint/MeshFilter
+ - first:
+ 114: 11400000
+ second: sbsar
+ - first:
+ 114: 11400002
+ second: graph0
+ - first:
+ 135: 13500000
+ second: metal_car_paint/metal_car_paint/SphereCollider
+ - first:
+ 1001: 100100000
+ second: metal_car_paint
+ externalObjects: {}
+ serializedVersion: 2
+ userData:
+ assetBundleName:
+ assetBundleVariant:
+ script: {fileID: 232528478, guid: 43a8bbf65be290d44ba52b94476242b9, type: 3}
+ version: 29
+ projectContext: 0
+ mGraphInstanceData:
+ - graphLabel: Car paint
+ prototypeName: Car paint
+ graphDescIndex: 0
+ generateAllOutputs: 0
+ generateMipMaps: 1
+ preset: " \n \n
+ \n \n \n \n \n \n \n \n \n
+ \n \n"
+ shaderName: Standard
+ materialProperties:
+ shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
+ shaderKeywords:
+ lightmapFlags: 4
+ enableInstancingVariants: 0
+ doubleSidedGI: 0
+ customRenderQueue: -1
+ texEnvs:
+ - name: _BumpMap
+ texture: {fileID: 3068890721646206586, guid: 26a894e543f3ed44893b1620707ca62c,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailAlbedoMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailMask
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailNormalMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _EmissionMap
+ texture: {instanceID: 0}
+ scale: {x: 0.5, y: 0.5}
+ offset: {x: 0, y: 0}
+ - name: _MainTex
+ texture: {fileID: 5917659159057834157, guid: 26a894e543f3ed44893b1620707ca62c,
+ type: 3}
+ scale: {x: 0.5, y: 0.5}
+ offset: {x: 0, y: 0}
+ - name: _MetallicGlossMap
+ texture: {fileID: -3552914696322007609, guid: 26a894e543f3ed44893b1620707ca62c,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _OcclusionMap
+ texture: {fileID: -1242281561028671816, guid: 26a894e543f3ed44893b1620707ca62c,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _ParallaxMap
+ texture: {fileID: -1652887728991447519, guid: 26a894e543f3ed44893b1620707ca62c,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ floats:
+ - name: _BumpScale
+ float: 1
+ - name: _Cutoff
+ float: 0.5
+ - name: _DetailNormalMapScale
+ float: 1
+ - name: _DstBlend
+ float: 0
+ - name: _GlossMapScale
+ float: 1
+ - name: _Glossiness
+ float: 1
+ - name: _GlossyReflections
+ float: 1
+ - name: _Metallic
+ float: 1
+ - name: _Mode
+ float: 0
+ - name: _OcclusionStrength
+ float: 1
+ - name: _Parallax
+ float: 0.02
+ - name: _SmoothnessTextureChannel
+ float: 0
+ - name: _SpecularHighlights
+ float: 1
+ - name: _SrcBlend
+ float: 1
+ - name: _UVSec
+ float: 0
+ - name: _ZWrite
+ float: 1
+ colors:
+ - name: _Color
+ color: {r: 1, g: 1, b: 1, a: 1}
+ - name: _EmissionColor
+ color: {r: 0, g: 0, b: 0, a: 1}
+ outputDescList:
+ - outputName: diffuse
+ identifier: diffuse
+ usageName: diffuse
+ channelStr: diffuse
+ label: Diffuse
+ usage: 0
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: baseColor
+ identifier: basecolor
+ usageName: baseColor
+ channelStr: baseColor
+ label: Base Color
+ usage: 1
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: normal
+ identifier: normal
+ usageName: normal
+ channelStr: normal
+ label: Normal
+ usage: 7
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: specular
+ identifier: specular
+ usageName: specular
+ channelStr: specular
+ label: Specular
+ usage: 11
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: glossiness
+ identifier: glossiness
+ usageName: glossiness
+ channelStr: glossiness
+ label: Glossiness
+ usage: 14
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: roughness
+ identifier: roughness
+ usageName: roughness
+ channelStr: roughness
+ label: Roughness
+ usage: 15
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: metallic
+ identifier: metallic
+ usageName: metallic
+ channelStr: metallic
+ label: Metallic
+ usage: 34
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: ambientOcclusion
+ identifier: ambient_occlusion
+ usageName: ambientOcclusion
+ channelStr: ambientOcclusion
+ label: Ambient Occlusion
+ usage: 5
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: height
+ identifier: height
+ usageName: height
+ channelStr: height
+ label: Height
+ usage: 9
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ texturePackingList:
+ - targetName: diffuse
+ components:
+ - sourceName: diffuse
+ from: 0
+ to: 3
+ - targetName: baseColor
+ components:
+ - sourceName: baseColor
+ from: 0
+ to: 3
+ - targetName: normal
+ components:
+ - sourceName: normal
+ from: 0
+ to: 3
+ - targetName: specular
+ components:
+ - sourceName: specular
+ from: 0
+ to: 3
+ - targetName: glossiness
+ components:
+ - sourceName: glossiness
+ from: 0
+ to: 3
+ - targetName: roughness
+ components:
+ - sourceName: roughness
+ from: 0
+ to: 3
+ - targetName: metallic
+ components:
+ - sourceName: smoothness
+ from: 0
+ to: 3
+ - targetName: ambientOcclusion
+ components:
+ - sourceName: ambientOcclusion
+ from: 0
+ to: 3
+ - targetName: height
+ components:
+ - sourceName: height
+ from: 0
+ to: 3
+ textureParameters:
+ - textureName: Car paint_glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint_diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint_baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint_normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint_specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint_roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint_metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint_ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint_height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint - diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint - baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint - normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint - specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint - glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint - roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint - metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint - ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint - height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ colorSpaceList: []
+ inputTextureMap: []
+ targetSettingList:
+ - label: Default
+ bOverride: 0
+ bLockRatio: 1
+ textureWidth: 2048
+ textureHeight: 2048
+ textureFormatMode: 0
+ normalCompressed: 0
+ bGenerateOnLoad: 1
+ material: {fileID: 3720744386649352057, guid: 26a894e543f3ed44893b1620707ca62c,
+ type: 3}
+ generatedTextures:
+ - {fileID: 5917659159057834157, guid: 26a894e543f3ed44893b1620707ca62c, type: 3}
+ - {fileID: 3068890721646206586, guid: 26a894e543f3ed44893b1620707ca62c, type: 3}
+ - {fileID: -3552914696322007609, guid: 26a894e543f3ed44893b1620707ca62c, type: 3}
+ - {fileID: -1242281561028671816, guid: 26a894e543f3ed44893b1620707ca62c, type: 3}
+ - {fileID: -1652887728991447519, guid: 26a894e543f3ed44893b1620707ca62c, type: 3}
diff --git a/Assets/Materials/Substance/Metal/Pickup Trim.sbsar b/Assets/Materials/Substance/Metal/Pickup Trim.sbsar
new file mode 100644
index 000000000..963310406
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/Pickup Trim.sbsar
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:dbee14b278a03ed59e1df8ecd6ba2b07ab7c2b2089e5e2bc3fad5673694a9f03
+size 14971
diff --git a/Assets/Materials/Substance/Metal/Pickup Trim.sbsar.meta b/Assets/Materials/Substance/Metal/Pickup Trim.sbsar.meta
new file mode 100644
index 000000000..302e453b5
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/Pickup Trim.sbsar.meta
@@ -0,0 +1,381 @@
+fileFormatVersion: 2
+guid: c00b5a4f1e4743a4ca59b8030251f900
+ScriptedImporter:
+ internalIDToNameTable:
+ - first:
+ 1: 100000
+ second: metal_car_paint/metal_car_paint
+ - first:
+ 4: 400000
+ second: metal_car_paint/metal_car_paint/Transform
+ - first:
+ 21: 2100000
+ second: mat.Car paint
+ - first:
+ 23: 2300000
+ second: metal_car_paint/metal_car_paint/MeshRenderer
+ - first:
+ 28: 2800000
+ second: Car paint_baseColor
+ - first:
+ 28: 2800002
+ second: Car paint_normal
+ - first:
+ 28: 2800004
+ second: Car paint_metallic
+ - first:
+ 28: 2800006
+ second: Car paint_ambientOcclusion
+ - first:
+ 28: 2800008
+ second: Car paint_height
+ - first:
+ 33: 3300000
+ second: metal_car_paint/metal_car_paint/MeshFilter
+ - first:
+ 114: 11400000
+ second: sbsar
+ - first:
+ 114: 11400002
+ second: graph0
+ - first:
+ 135: 13500000
+ second: metal_car_paint/metal_car_paint/SphereCollider
+ - first:
+ 1001: 100100000
+ second: metal_car_paint
+ externalObjects: {}
+ serializedVersion: 2
+ userData:
+ assetBundleName:
+ assetBundleVariant:
+ script: {fileID: 232528478, guid: 43a8bbf65be290d44ba52b94476242b9, type: 3}
+ version: 29
+ projectContext: 0
+ mGraphInstanceData:
+ - graphLabel: Car paint
+ prototypeName: Car paint
+ graphDescIndex: 0
+ generateAllOutputs: 0
+ generateMipMaps: 1
+ preset: " \n \n
+ \n \n \n \n \n \n \n \n \n \n \n"
+ shaderName: Standard
+ materialProperties:
+ shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
+ shaderKeywords:
+ lightmapFlags: 4
+ enableInstancingVariants: 0
+ doubleSidedGI: 0
+ customRenderQueue: -1
+ texEnvs:
+ - name: _BumpMap
+ texture: {fileID: 3068890721646206586, guid: c00b5a4f1e4743a4ca59b8030251f900,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailAlbedoMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailMask
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailNormalMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _EmissionMap
+ texture: {instanceID: 0}
+ scale: {x: 0.5, y: 0.5}
+ offset: {x: 0, y: 0}
+ - name: _MainTex
+ texture: {fileID: 5917659159057834157, guid: c00b5a4f1e4743a4ca59b8030251f900,
+ type: 3}
+ scale: {x: 0.5, y: 0.5}
+ offset: {x: 0, y: 0}
+ - name: _MetallicGlossMap
+ texture: {fileID: -3552914696322007609, guid: c00b5a4f1e4743a4ca59b8030251f900,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _OcclusionMap
+ texture: {fileID: -1242281561028671816, guid: c00b5a4f1e4743a4ca59b8030251f900,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _ParallaxMap
+ texture: {fileID: -1652887728991447519, guid: c00b5a4f1e4743a4ca59b8030251f900,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ floats:
+ - name: _BumpScale
+ float: 1
+ - name: _Cutoff
+ float: 0.5
+ - name: _DetailNormalMapScale
+ float: 1
+ - name: _DstBlend
+ float: 0
+ - name: _GlossMapScale
+ float: 1
+ - name: _Glossiness
+ float: 0.5
+ - name: _GlossyReflections
+ float: 1
+ - name: _Metallic
+ float: 0
+ - name: _Mode
+ float: 0
+ - name: _OcclusionStrength
+ float: 1
+ - name: _Parallax
+ float: 0.005
+ - name: _SmoothnessTextureChannel
+ float: 0
+ - name: _SpecularHighlights
+ float: 1
+ - name: _SrcBlend
+ float: 1
+ - name: _UVSec
+ float: 0
+ - name: _ZWrite
+ float: 1
+ colors:
+ - name: _Color
+ color: {r: 1, g: 1, b: 1, a: 1}
+ - name: _EmissionColor
+ color: {r: 0, g: 0, b: 0, a: 1}
+ outputDescList:
+ - outputName: diffuse
+ identifier: diffuse
+ usageName: diffuse
+ channelStr: diffuse
+ label: Diffuse
+ usage: 0
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: baseColor
+ identifier: basecolor
+ usageName: baseColor
+ channelStr: baseColor
+ label: Base Color
+ usage: 1
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: normal
+ identifier: normal
+ usageName: normal
+ channelStr: normal
+ label: Normal
+ usage: 7
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: specular
+ identifier: specular
+ usageName: specular
+ channelStr: specular
+ label: Specular
+ usage: 11
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: glossiness
+ identifier: glossiness
+ usageName: glossiness
+ channelStr: glossiness
+ label: Glossiness
+ usage: 14
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: roughness
+ identifier: roughness
+ usageName: roughness
+ channelStr: roughness
+ label: Roughness
+ usage: 15
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: metallic
+ identifier: metallic
+ usageName: metallic
+ channelStr: metallic
+ label: Metallic
+ usage: 34
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: ambientOcclusion
+ identifier: ambient_occlusion
+ usageName: ambientOcclusion
+ channelStr: ambientOcclusion
+ label: Ambient Occlusion
+ usage: 5
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: height
+ identifier: height
+ usageName: height
+ channelStr: height
+ label: Height
+ usage: 9
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ texturePackingList:
+ - targetName: diffuse
+ components:
+ - sourceName: diffuse
+ from: 0
+ to: 3
+ - targetName: baseColor
+ components:
+ - sourceName: baseColor
+ from: 0
+ to: 3
+ - targetName: normal
+ components:
+ - sourceName: normal
+ from: 0
+ to: 3
+ - targetName: specular
+ components:
+ - sourceName: specular
+ from: 0
+ to: 3
+ - targetName: glossiness
+ components:
+ - sourceName: glossiness
+ from: 0
+ to: 3
+ - targetName: roughness
+ components:
+ - sourceName: roughness
+ from: 0
+ to: 3
+ - targetName: metallic
+ components:
+ - sourceName: smoothness
+ from: 0
+ to: 3
+ - targetName: ambientOcclusion
+ components:
+ - sourceName: ambientOcclusion
+ from: 0
+ to: 3
+ - targetName: height
+ components:
+ - sourceName: height
+ from: 0
+ to: 3
+ textureParameters:
+ - textureName: Car paint_glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint_diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint_baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint_normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint_specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint_roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint_metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint_ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint_height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint - diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint - baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint - normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint - specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint - glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint - roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint - metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint - ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint - height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ colorSpaceList: []
+ inputTextureMap: []
+ targetSettingList:
+ - label: Default
+ bOverride: 0
+ bLockRatio: 1
+ textureWidth: 2048
+ textureHeight: 2048
+ textureFormatMode: 0
+ normalCompressed: 0
+ bGenerateOnLoad: 1
+ material: {fileID: 3720744386649352057, guid: c00b5a4f1e4743a4ca59b8030251f900,
+ type: 3}
+ generatedTextures:
+ - {fileID: 5917659159057834157, guid: c00b5a4f1e4743a4ca59b8030251f900, type: 3}
+ - {fileID: 3068890721646206586, guid: c00b5a4f1e4743a4ca59b8030251f900, type: 3}
+ - {fileID: -3552914696322007609, guid: c00b5a4f1e4743a4ca59b8030251f900, type: 3}
+ - {fileID: -1242281561028671816, guid: c00b5a4f1e4743a4ca59b8030251f900, type: 3}
+ - {fileID: -1652887728991447519, guid: c00b5a4f1e4743a4ca59b8030251f900, type: 3}
diff --git a/Assets/Materials/Substance/Metal/galvanized_001.sbsar b/Assets/Materials/Substance/Metal/galvanized_001.sbsar
new file mode 100644
index 000000000..5d6237210
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/galvanized_001.sbsar
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:274db26d631b6cd53024c1366c01322d99b6194b5e211d04c5430bb8174ae8f6
+size 8207
diff --git a/Assets/Materials/Substance/Metal/galvanized_001.sbsar.meta b/Assets/Materials/Substance/Metal/galvanized_001.sbsar.meta
new file mode 100644
index 000000000..9815351c0
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/galvanized_001.sbsar.meta
@@ -0,0 +1,369 @@
+fileFormatVersion: 2
+guid: 2be0f689f5b01be4aa1032bc86f15eab
+ScriptedImporter:
+ internalIDToNameTable:
+ - first:
+ 1: 100000
+ second: galvanized_001/galvanized_001
+ - first:
+ 4: 400000
+ second: galvanized_001/galvanized_001/Transform
+ - first:
+ 21: 2100000
+ second: mat.Galvanized_001
+ - first:
+ 23: 2300000
+ second: galvanized_001/galvanized_001/MeshRenderer
+ - first:
+ 28: 2800000
+ second: Galvanized_001_baseColor
+ - first:
+ 28: 2800002
+ second: Galvanized_001_normal
+ - first:
+ 28: 2800004
+ second: Galvanized_001_metallic
+ - first:
+ 28: 2800006
+ second: Galvanized_001_ambientOcclusion
+ - first:
+ 28: 2800008
+ second: Galvanized_001_height
+ - first:
+ 33: 3300000
+ second: galvanized_001/galvanized_001/MeshFilter
+ - first:
+ 114: 11400000
+ second: sbsar
+ - first:
+ 114: 11400002
+ second: graph0
+ - first:
+ 135: 13500000
+ second: galvanized_001/galvanized_001/SphereCollider
+ - first:
+ 1001: 100100000
+ second: galvanized_001
+ externalObjects: {}
+ serializedVersion: 2
+ userData:
+ assetBundleName:
+ assetBundleVariant:
+ script: {fileID: 232528478, guid: 43a8bbf65be290d44ba52b94476242b9, type: 3}
+ version: 29
+ projectContext: 0
+ mGraphInstanceData:
+ - graphLabel: Galvanized_001
+ prototypeName: Galvanized_001
+ graphDescIndex: 0
+ generateAllOutputs: 0
+ generateMipMaps: 1
+ preset: " \n \n"
+ shaderName: Standard
+ materialProperties:
+ shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
+ shaderKeywords:
+ lightmapFlags: 4
+ enableInstancingVariants: 0
+ doubleSidedGI: 0
+ customRenderQueue: -1
+ texEnvs:
+ - name: _BumpMap
+ texture: {fileID: -2787997366030867252, guid: 2be0f689f5b01be4aa1032bc86f15eab,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailAlbedoMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailMask
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailNormalMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _EmissionMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MainTex
+ texture: {fileID: 7907137595978400316, guid: 2be0f689f5b01be4aa1032bc86f15eab,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MetallicGlossMap
+ texture: {fileID: 1034366337303036879, guid: 2be0f689f5b01be4aa1032bc86f15eab,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _OcclusionMap
+ texture: {fileID: 4470803051826786927, guid: 2be0f689f5b01be4aa1032bc86f15eab,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _ParallaxMap
+ texture: {fileID: -3422293810953865746, guid: 2be0f689f5b01be4aa1032bc86f15eab,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ floats:
+ - name: _BumpScale
+ float: 1
+ - name: _Cutoff
+ float: 0.5
+ - name: _DetailNormalMapScale
+ float: 1
+ - name: _DstBlend
+ float: 0
+ - name: _GlossMapScale
+ float: 1
+ - name: _Glossiness
+ float: 0.5
+ - name: _GlossyReflections
+ float: 1
+ - name: _Metallic
+ float: 0
+ - name: _Mode
+ float: 0
+ - name: _OcclusionStrength
+ float: 1
+ - name: _Parallax
+ float: 0.02
+ - name: _SmoothnessTextureChannel
+ float: 0
+ - name: _SpecularHighlights
+ float: 1
+ - name: _SrcBlend
+ float: 1
+ - name: _UVSec
+ float: 0
+ - name: _ZWrite
+ float: 1
+ colors:
+ - name: _Color
+ color: {r: 1, g: 1, b: 1, a: 1}
+ - name: _EmissionColor
+ color: {r: 0, g: 0, b: 0, a: 1}
+ outputDescList:
+ - outputName: diffuse
+ identifier: diffuse
+ usageName: diffuse
+ channelStr: diffuse
+ label: Diffuse
+ usage: 0
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: baseColor
+ identifier: basecolor
+ usageName: baseColor
+ channelStr: baseColor
+ label: Base Color
+ usage: 1
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: normal
+ identifier: normal
+ usageName: normal
+ channelStr: normal
+ label: Normal
+ usage: 7
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: specular
+ identifier: specular
+ usageName: specular
+ channelStr: specular
+ label: Specular
+ usage: 11
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: glossiness
+ identifier: glossiness
+ usageName: glossiness
+ channelStr: glossiness
+ label: Glossiness
+ usage: 14
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: roughness
+ identifier: roughness
+ usageName: roughness
+ channelStr: roughness
+ label: Roughness
+ usage: 15
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: metallic
+ identifier: metallic
+ usageName: metallic
+ channelStr: metallic
+ label: Metallic
+ usage: 34
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: ambientOcclusion
+ identifier: ambient_occlusion
+ usageName: ambientOcclusion
+ channelStr: ambientOcclusion
+ label: Ambient Occlusion
+ usage: 5
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: height
+ identifier: height
+ usageName: height
+ channelStr: height
+ label: Height
+ usage: 9
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ texturePackingList:
+ - targetName: diffuse
+ components:
+ - sourceName: diffuse
+ from: 0
+ to: 3
+ - targetName: baseColor
+ components:
+ - sourceName: baseColor
+ from: 0
+ to: 3
+ - targetName: normal
+ components:
+ - sourceName: normal
+ from: 0
+ to: 3
+ - targetName: specular
+ components:
+ - sourceName: specular
+ from: 0
+ to: 3
+ - targetName: glossiness
+ components:
+ - sourceName: glossiness
+ from: 0
+ to: 3
+ - targetName: roughness
+ components:
+ - sourceName: roughness
+ from: 0
+ to: 3
+ - targetName: metallic
+ components:
+ - sourceName: smoothness
+ from: 0
+ to: 3
+ - targetName: ambientOcclusion
+ components:
+ - sourceName: ambientOcclusion
+ from: 0
+ to: 3
+ - targetName: height
+ components:
+ - sourceName: height
+ from: 0
+ to: 3
+ textureParameters:
+ - textureName: Galvanized_001_glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Galvanized_001_diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Galvanized_001_baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Galvanized_001_normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Galvanized_001_specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Galvanized_001_roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Galvanized_001_metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Galvanized_001_ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Galvanized_001_height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Galvanized_001 - diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Galvanized_001 - baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Galvanized_001 - normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Galvanized_001 - specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Galvanized_001 - glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Galvanized_001 - roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Galvanized_001 - metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Galvanized_001 - ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Galvanized_001 - height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ colorSpaceList: []
+ inputTextureMap: []
+ targetSettingList:
+ - label: Default
+ bOverride: 0
+ bLockRatio: 1
+ textureWidth: 256
+ textureHeight: 256
+ textureFormatMode: 0
+ normalCompressed: 0
+ bGenerateOnLoad: 1
+ material: {fileID: -231086597109407277, guid: 2be0f689f5b01be4aa1032bc86f15eab,
+ type: 3}
+ generatedTextures:
+ - {fileID: 7907137595978400316, guid: 2be0f689f5b01be4aa1032bc86f15eab, type: 3}
+ - {fileID: -2787997366030867252, guid: 2be0f689f5b01be4aa1032bc86f15eab, type: 3}
+ - {fileID: 1034366337303036879, guid: 2be0f689f5b01be4aa1032bc86f15eab, type: 3}
+ - {fileID: 4470803051826786927, guid: 2be0f689f5b01be4aa1032bc86f15eab, type: 3}
+ - {fileID: -3422293810953865746, guid: 2be0f689f5b01be4aa1032bc86f15eab, type: 3}
diff --git a/Assets/Materials/Substance/Metal/iron_damaged.sbsar b/Assets/Materials/Substance/Metal/iron_damaged.sbsar
new file mode 100644
index 000000000..cb09572e5
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/iron_damaged.sbsar
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:4a12de208077d6dfd8e70dfa8a8976bb9e5b2ca2d258bb34aa50c81a58a6451c
+size 30808
diff --git a/Assets/Materials/Substance/Metal/iron_damaged.sbsar.meta b/Assets/Materials/Substance/Metal/iron_damaged.sbsar.meta
new file mode 100644
index 000000000..d7a4d07d7
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/iron_damaged.sbsar.meta
@@ -0,0 +1,293 @@
+fileFormatVersion: 2
+guid: d15fc45ed0000934d946b5f271f637ef
+ScriptedImporter:
+ internalIDToNameTable: []
+ externalObjects: {}
+ serializedVersion: 2
+ userData:
+ assetBundleName:
+ assetBundleVariant:
+ script: {fileID: 232528478, guid: 43a8bbf65be290d44ba52b94476242b9, type: 3}
+ version: 29
+ projectContext: 0
+ mGraphInstanceData:
+ - graphLabel: Iron Damaged
+ prototypeName: Iron Damaged
+ graphDescIndex: 0
+ generateAllOutputs: 0
+ generateMipMaps: 1
+ preset: " \n \n
+ \n"
+ shaderName: Standard
+ materialProperties:
+ shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
+ shaderKeywords:
+ lightmapFlags: 4
+ enableInstancingVariants: 0
+ doubleSidedGI: 0
+ customRenderQueue: -1
+ texEnvs:
+ - name: _BumpMap
+ texture: {fileID: -1855041196637152199, guid: d15fc45ed0000934d946b5f271f637ef,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailAlbedoMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailMask
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailNormalMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _EmissionMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MainTex
+ texture: {fileID: -2789335455068261637, guid: d15fc45ed0000934d946b5f271f637ef,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MetallicGlossMap
+ texture: {fileID: 7922211451800446260, guid: d15fc45ed0000934d946b5f271f637ef,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _OcclusionMap
+ texture: {fileID: -4424499752615739725, guid: d15fc45ed0000934d946b5f271f637ef,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _ParallaxMap
+ texture: {fileID: 7474978398744299577, guid: d15fc45ed0000934d946b5f271f637ef,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ floats:
+ - name: _BumpScale
+ float: 1
+ - name: _Cutoff
+ float: 0.5
+ - name: _DetailNormalMapScale
+ float: 1
+ - name: _DstBlend
+ float: 0
+ - name: _GlossMapScale
+ float: 1
+ - name: _Glossiness
+ float: 0.5
+ - name: _GlossyReflections
+ float: 1
+ - name: _Metallic
+ float: 0
+ - name: _Mode
+ float: 0
+ - name: _OcclusionStrength
+ float: 1
+ - name: _Parallax
+ float: 0.02
+ - name: _SmoothnessTextureChannel
+ float: 0
+ - name: _SpecularHighlights
+ float: 1
+ - name: _SrcBlend
+ float: 1
+ - name: _UVSec
+ float: 0
+ - name: _ZWrite
+ float: 1
+ colors:
+ - name: _Color
+ color: {r: 1, g: 1, b: 1, a: 1}
+ - name: _EmissionColor
+ color: {r: 0, g: 0, b: 0, a: 1}
+ outputDescList:
+ - outputName: diffuse
+ identifier: diffuse
+ usageName: diffuse
+ channelStr: diffuse
+ label: Diffuse
+ usage: 0
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: baseColor
+ identifier: basecolor
+ usageName: baseColor
+ channelStr: baseColor
+ label: Base Color
+ usage: 1
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: normal
+ identifier: normal
+ usageName: normal
+ channelStr: normal
+ label: Normal
+ usage: 7
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: specular
+ identifier: specular
+ usageName: specular
+ channelStr: specular
+ label: Specular
+ usage: 11
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: glossiness
+ identifier: glossiness
+ usageName: glossiness
+ channelStr: glossiness
+ label: Glossiness
+ usage: 14
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: roughness
+ identifier: roughness
+ usageName: roughness
+ channelStr: roughness
+ label: Roughness
+ usage: 15
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: metallic
+ identifier: metallic
+ usageName: metallic
+ channelStr: metallic
+ label: Metallic
+ usage: 34
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: height
+ identifier: height
+ usageName: height
+ channelStr: height
+ label: Height
+ usage: 9
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: ambientOcclusion
+ identifier: ambientocclusion
+ usageName: ambientOcclusion
+ channelStr: ambientOcclusion
+ label: Ambient Occlusion
+ usage: 5
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ texturePackingList:
+ - targetName: diffuse
+ components:
+ - sourceName: diffuse
+ from: 0
+ to: 3
+ - targetName: baseColor
+ components:
+ - sourceName: baseColor
+ from: 0
+ to: 3
+ - targetName: normal
+ components:
+ - sourceName: normal
+ from: 0
+ to: 3
+ - targetName: specular
+ components:
+ - sourceName: specular
+ from: 0
+ to: 3
+ - targetName: glossiness
+ components:
+ - sourceName: glossiness
+ from: 0
+ to: 3
+ - targetName: roughness
+ components:
+ - sourceName: roughness
+ from: 0
+ to: 3
+ - targetName: metallic
+ components:
+ - sourceName: smoothness
+ from: 0
+ to: 3
+ - targetName: height
+ components:
+ - sourceName: height
+ from: 0
+ to: 3
+ - targetName: ambientOcclusion
+ components:
+ - sourceName: ambientOcclusion
+ from: 0
+ to: 3
+ textureParameters:
+ - textureName: Iron Damaged - diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Iron Damaged - baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Iron Damaged - normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Iron Damaged - specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Iron Damaged - glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Iron Damaged - roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Iron Damaged - metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Iron Damaged - height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Iron Damaged - ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ colorSpaceList: []
+ inputTextureMap: []
+ targetSettingList:
+ - label: Default
+ bOverride: 0
+ bLockRatio: 1
+ textureWidth: 512
+ textureHeight: 512
+ textureFormatMode: 0
+ normalCompressed: 0
+ bGenerateOnLoad: 1
+ material: {fileID: 1736733470071950104, guid: d15fc45ed0000934d946b5f271f637ef,
+ type: 3}
+ generatedTextures:
+ - {fileID: -2789335455068261637, guid: d15fc45ed0000934d946b5f271f637ef, type: 3}
+ - {fileID: -1855041196637152199, guid: d15fc45ed0000934d946b5f271f637ef, type: 3}
+ - {fileID: 7922211451800446260, guid: d15fc45ed0000934d946b5f271f637ef, type: 3}
+ - {fileID: 7474978398744299577, guid: d15fc45ed0000934d946b5f271f637ef, type: 3}
+ - {fileID: -4424499752615739725, guid: d15fc45ed0000934d946b5f271f637ef, type: 3}
diff --git a/Assets/Materials/Substance/Metal/iron_rugged.sbsar b/Assets/Materials/Substance/Metal/iron_rugged.sbsar
new file mode 100644
index 000000000..d211f88ad
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/iron_rugged.sbsar
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:5f2bc787cbb3f6511050a4faddaa07077bf54814131752687ed3717914d77de5
+size 28930
diff --git a/Assets/Materials/Substance/Metal/iron_rugged.sbsar.meta b/Assets/Materials/Substance/Metal/iron_rugged.sbsar.meta
new file mode 100644
index 000000000..4d3540662
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/iron_rugged.sbsar.meta
@@ -0,0 +1,293 @@
+fileFormatVersion: 2
+guid: afbd691d0ea2a5a47b5a43b244593a56
+ScriptedImporter:
+ internalIDToNameTable: []
+ externalObjects: {}
+ serializedVersion: 2
+ userData:
+ assetBundleName:
+ assetBundleVariant:
+ script: {fileID: 232528478, guid: 43a8bbf65be290d44ba52b94476242b9, type: 3}
+ version: 29
+ projectContext: 0
+ mGraphInstanceData:
+ - graphLabel: Iron Rugged
+ prototypeName: Iron Rugged
+ graphDescIndex: 0
+ generateAllOutputs: 0
+ generateMipMaps: 1
+ preset: " \n \n
+ \n"
+ shaderName: Standard
+ materialProperties:
+ shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
+ shaderKeywords:
+ lightmapFlags: 4
+ enableInstancingVariants: 0
+ doubleSidedGI: 0
+ customRenderQueue: -1
+ texEnvs:
+ - name: _BumpMap
+ texture: {fileID: -2323688274092838296, guid: afbd691d0ea2a5a47b5a43b244593a56,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailAlbedoMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailMask
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailNormalMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _EmissionMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MainTex
+ texture: {fileID: -3909611376798458227, guid: afbd691d0ea2a5a47b5a43b244593a56,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MetallicGlossMap
+ texture: {fileID: -1417795912608492100, guid: afbd691d0ea2a5a47b5a43b244593a56,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _OcclusionMap
+ texture: {fileID: -7795300588429949130, guid: afbd691d0ea2a5a47b5a43b244593a56,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _ParallaxMap
+ texture: {fileID: 3868076301887189615, guid: afbd691d0ea2a5a47b5a43b244593a56,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ floats:
+ - name: _BumpScale
+ float: 1
+ - name: _Cutoff
+ float: 0.5
+ - name: _DetailNormalMapScale
+ float: 1
+ - name: _DstBlend
+ float: 0
+ - name: _GlossMapScale
+ float: 1
+ - name: _Glossiness
+ float: 0.5
+ - name: _GlossyReflections
+ float: 1
+ - name: _Metallic
+ float: 0
+ - name: _Mode
+ float: 0
+ - name: _OcclusionStrength
+ float: 1
+ - name: _Parallax
+ float: 0.02
+ - name: _SmoothnessTextureChannel
+ float: 0
+ - name: _SpecularHighlights
+ float: 1
+ - name: _SrcBlend
+ float: 1
+ - name: _UVSec
+ float: 0
+ - name: _ZWrite
+ float: 1
+ colors:
+ - name: _Color
+ color: {r: 1, g: 1, b: 1, a: 1}
+ - name: _EmissionColor
+ color: {r: 0, g: 0, b: 0, a: 1}
+ outputDescList:
+ - outputName: diffuse
+ identifier: diffuse
+ usageName: diffuse
+ channelStr: diffuse
+ label: Diffuse
+ usage: 0
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: baseColor
+ identifier: basecolor
+ usageName: baseColor
+ channelStr: baseColor
+ label: Base Color
+ usage: 1
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: normal
+ identifier: normal
+ usageName: normal
+ channelStr: normal
+ label: Normal
+ usage: 7
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: specular
+ identifier: specular
+ usageName: specular
+ channelStr: specular
+ label: Specular
+ usage: 11
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: glossiness
+ identifier: glossiness
+ usageName: glossiness
+ channelStr: glossiness
+ label: Glossiness
+ usage: 14
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: roughness
+ identifier: roughness
+ usageName: roughness
+ channelStr: roughness
+ label: Roughness
+ usage: 15
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: metallic
+ identifier: metallic
+ usageName: metallic
+ channelStr: metallic
+ label: Metallic
+ usage: 34
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: height
+ identifier: height
+ usageName: height
+ channelStr: height
+ label: Height
+ usage: 9
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: ambientOcclusion
+ identifier: ambientocclusion
+ usageName: ambientOcclusion
+ channelStr: ambientOcclusion
+ label: Ambient Occlusion
+ usage: 5
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ texturePackingList:
+ - targetName: diffuse
+ components:
+ - sourceName: diffuse
+ from: 0
+ to: 3
+ - targetName: baseColor
+ components:
+ - sourceName: baseColor
+ from: 0
+ to: 3
+ - targetName: normal
+ components:
+ - sourceName: normal
+ from: 0
+ to: 3
+ - targetName: specular
+ components:
+ - sourceName: specular
+ from: 0
+ to: 3
+ - targetName: glossiness
+ components:
+ - sourceName: glossiness
+ from: 0
+ to: 3
+ - targetName: roughness
+ components:
+ - sourceName: roughness
+ from: 0
+ to: 3
+ - targetName: metallic
+ components:
+ - sourceName: smoothness
+ from: 0
+ to: 3
+ - targetName: height
+ components:
+ - sourceName: height
+ from: 0
+ to: 3
+ - targetName: ambientOcclusion
+ components:
+ - sourceName: ambientOcclusion
+ from: 0
+ to: 3
+ textureParameters:
+ - textureName: Iron Rugged - diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Iron Rugged - baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Iron Rugged - normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Iron Rugged - specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Iron Rugged - glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Iron Rugged - roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Iron Rugged - metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Iron Rugged - height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Iron Rugged - ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ colorSpaceList: []
+ inputTextureMap: []
+ targetSettingList:
+ - label: Default
+ bOverride: 0
+ bLockRatio: 1
+ textureWidth: 512
+ textureHeight: 512
+ textureFormatMode: 0
+ normalCompressed: 0
+ bGenerateOnLoad: 1
+ material: {fileID: -7894845242109240131, guid: afbd691d0ea2a5a47b5a43b244593a56,
+ type: 3}
+ generatedTextures:
+ - {fileID: -3909611376798458227, guid: afbd691d0ea2a5a47b5a43b244593a56, type: 3}
+ - {fileID: -2323688274092838296, guid: afbd691d0ea2a5a47b5a43b244593a56, type: 3}
+ - {fileID: -1417795912608492100, guid: afbd691d0ea2a5a47b5a43b244593a56, type: 3}
+ - {fileID: 3868076301887189615, guid: afbd691d0ea2a5a47b5a43b244593a56, type: 3}
+ - {fileID: -7795300588429949130, guid: afbd691d0ea2a5a47b5a43b244593a56, type: 3}
diff --git a/Assets/Materials/Substance/Metal/metal_002.sbsar b/Assets/Materials/Substance/Metal/metal_002.sbsar
new file mode 100644
index 000000000..97dcc5ffe
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_002.sbsar
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9282e9326add2015fd2748e98c38062e438b085036eae00825551986e30d002f
+size 11670
diff --git a/Assets/Materials/Substance/Metal/metal_002.sbsar.meta b/Assets/Materials/Substance/Metal/metal_002.sbsar.meta
new file mode 100644
index 000000000..725363c0a
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_002.sbsar.meta
@@ -0,0 +1,372 @@
+fileFormatVersion: 2
+guid: 2b42584452fe0cc4fa4e8a115230b156
+ScriptedImporter:
+ internalIDToNameTable:
+ - first:
+ 1: 100000
+ second: metal_002/metal_002
+ - first:
+ 4: 400000
+ second: metal_002/metal_002/Transform
+ - first:
+ 21: 2100000
+ second: mat.Metal 002
+ - first:
+ 23: 2300000
+ second: metal_002/metal_002/MeshRenderer
+ - first:
+ 28: 2800000
+ second: Metal 002_baseColor
+ - first:
+ 28: 2800002
+ second: Metal 002_normal
+ - first:
+ 28: 2800004
+ second: Metal 002_metallic
+ - first:
+ 28: 2800006
+ second: Metal 002_ambientOcclusion
+ - first:
+ 28: 2800008
+ second: Metal 002_height
+ - first:
+ 33: 3300000
+ second: metal_002/metal_002/MeshFilter
+ - first:
+ 114: 11400000
+ second: sbsar
+ - first:
+ 114: 11400002
+ second: graph0
+ - first:
+ 135: 13500000
+ second: metal_002/metal_002/SphereCollider
+ - first:
+ 1001: 100100000
+ second: metal_002
+ externalObjects: {}
+ serializedVersion: 2
+ userData:
+ assetBundleName:
+ assetBundleVariant:
+ script: {fileID: 232528478, guid: 43a8bbf65be290d44ba52b94476242b9, type: 3}
+ version: 29
+ projectContext: 0
+ mGraphInstanceData:
+ - graphLabel: Metal 002
+ prototypeName: Metal 002
+ graphDescIndex: 0
+ generateAllOutputs: 0
+ generateMipMaps: 1
+ preset: " \n \n
+ \n \n"
+ shaderName: Standard
+ materialProperties:
+ shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
+ shaderKeywords:
+ lightmapFlags: 4
+ enableInstancingVariants: 0
+ doubleSidedGI: 0
+ customRenderQueue: -1
+ texEnvs:
+ - name: _BumpMap
+ texture: {fileID: 1550000119726971649, guid: 2b42584452fe0cc4fa4e8a115230b156,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailAlbedoMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailMask
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailNormalMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _EmissionMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MainTex
+ texture: {fileID: -6057190860509678031, guid: 2b42584452fe0cc4fa4e8a115230b156,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MetallicGlossMap
+ texture: {fileID: -894214952450941493, guid: 2b42584452fe0cc4fa4e8a115230b156,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _OcclusionMap
+ texture: {fileID: -6882973941229436791, guid: 2b42584452fe0cc4fa4e8a115230b156,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _ParallaxMap
+ texture: {fileID: 6347190432477724635, guid: 2b42584452fe0cc4fa4e8a115230b156,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ floats:
+ - name: _BumpScale
+ float: 1
+ - name: _Cutoff
+ float: 0.5
+ - name: _DetailNormalMapScale
+ float: 1
+ - name: _DstBlend
+ float: 0
+ - name: _GlossMapScale
+ float: 1
+ - name: _Glossiness
+ float: 0.5
+ - name: _GlossyReflections
+ float: 1
+ - name: _Metallic
+ float: 0
+ - name: _Mode
+ float: 0
+ - name: _OcclusionStrength
+ float: 1
+ - name: _Parallax
+ float: 0.02
+ - name: _SmoothnessTextureChannel
+ float: 0
+ - name: _SpecularHighlights
+ float: 1
+ - name: _SrcBlend
+ float: 1
+ - name: _UVSec
+ float: 0
+ - name: _ZWrite
+ float: 1
+ colors:
+ - name: _Color
+ color: {r: 1, g: 1, b: 1, a: 1}
+ - name: _EmissionColor
+ color: {r: 0, g: 0, b: 0, a: 1}
+ outputDescList:
+ - outputName: diffuse
+ identifier: diffuse
+ usageName: diffuse
+ channelStr: diffuse
+ label: Diffuse
+ usage: 0
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: baseColor
+ identifier: basecolor
+ usageName: baseColor
+ channelStr: baseColor
+ label: Base Color
+ usage: 1
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: normal
+ identifier: normal
+ usageName: normal
+ channelStr: normal
+ label: Normal
+ usage: 7
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: specular
+ identifier: specular
+ usageName: specular
+ channelStr: specular
+ label: Specular
+ usage: 11
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: glossiness
+ identifier: glossiness
+ usageName: glossiness
+ channelStr: glossiness
+ label: Glossiness
+ usage: 14
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: roughness
+ identifier: roughness
+ usageName: roughness
+ channelStr: roughness
+ label: Roughness
+ usage: 15
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: metallic
+ identifier: metallic
+ usageName: metallic
+ channelStr: metallic
+ label: Metallic
+ usage: 34
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: ambientOcclusion
+ identifier: ambient_occlusion
+ usageName: ambientOcclusion
+ channelStr: ambientOcclusion
+ label: Ambient Occlusion
+ usage: 5
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: height
+ identifier: height
+ usageName: height
+ channelStr: height
+ label: Height
+ usage: 9
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ texturePackingList:
+ - targetName: diffuse
+ components:
+ - sourceName: diffuse
+ from: 0
+ to: 3
+ - targetName: baseColor
+ components:
+ - sourceName: baseColor
+ from: 0
+ to: 3
+ - targetName: normal
+ components:
+ - sourceName: normal
+ from: 0
+ to: 3
+ - targetName: specular
+ components:
+ - sourceName: specular
+ from: 0
+ to: 3
+ - targetName: glossiness
+ components:
+ - sourceName: glossiness
+ from: 0
+ to: 3
+ - targetName: roughness
+ components:
+ - sourceName: roughness
+ from: 0
+ to: 3
+ - targetName: metallic
+ components:
+ - sourceName: smoothness
+ from: 0
+ to: 3
+ - targetName: ambientOcclusion
+ components:
+ - sourceName: ambientOcclusion
+ from: 0
+ to: 3
+ - targetName: height
+ components:
+ - sourceName: height
+ from: 0
+ to: 3
+ textureParameters:
+ - textureName: Metal 002_glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal 002_diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal 002_baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal 002_normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal 002_specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal 002_roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal 002_metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal 002_ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal 002_height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal 002 - diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal 002 - baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal 002 - normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal 002 - specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal 002 - glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal 002 - roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal 002 - metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal 002 - ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal 002 - height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ colorSpaceList: []
+ inputTextureMap: []
+ targetSettingList:
+ - label: Default
+ bOverride: 0
+ bLockRatio: 1
+ textureWidth: 256
+ textureHeight: 256
+ textureFormatMode: 0
+ normalCompressed: 0
+ bGenerateOnLoad: 1
+ material: {fileID: 3766318789785789000, guid: 2b42584452fe0cc4fa4e8a115230b156,
+ type: 3}
+ generatedTextures:
+ - {fileID: -6057190860509678031, guid: 2b42584452fe0cc4fa4e8a115230b156, type: 3}
+ - {fileID: 1550000119726971649, guid: 2b42584452fe0cc4fa4e8a115230b156, type: 3}
+ - {fileID: -894214952450941493, guid: 2b42584452fe0cc4fa4e8a115230b156, type: 3}
+ - {fileID: -6882973941229436791, guid: 2b42584452fe0cc4fa4e8a115230b156, type: 3}
+ - {fileID: 6347190432477724635, guid: 2b42584452fe0cc4fa4e8a115230b156, type: 3}
diff --git a/Assets/Materials/Substance/Metal/metal_003.sbsar b/Assets/Materials/Substance/Metal/metal_003.sbsar
new file mode 100644
index 000000000..bbc118a2d
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_003.sbsar
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:4ef8ee0ce61d17b7c84433ea0f780f32609c81f580f2c7d3a9c78303b9051a47
+size 7739
diff --git a/Assets/Materials/Substance/Metal/metal_003.sbsar.meta b/Assets/Materials/Substance/Metal/metal_003.sbsar.meta
new file mode 100644
index 000000000..f3ab67932
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_003.sbsar.meta
@@ -0,0 +1,372 @@
+fileFormatVersion: 2
+guid: 885e680924fc12c439a842a2142d4b78
+ScriptedImporter:
+ internalIDToNameTable:
+ - first:
+ 1: 100000
+ second: metal_003/metal_003
+ - first:
+ 4: 400000
+ second: metal_003/metal_003/Transform
+ - first:
+ 21: 2100000
+ second: mat.Metal 003
+ - first:
+ 23: 2300000
+ second: metal_003/metal_003/MeshRenderer
+ - first:
+ 28: 2800000
+ second: Metal 003_baseColor
+ - first:
+ 28: 2800002
+ second: Metal 003_normal
+ - first:
+ 28: 2800004
+ second: Metal 003_metallic
+ - first:
+ 28: 2800006
+ second: Metal 003_height
+ - first:
+ 28: 2800008
+ second: Metal 003_ambientOcclusion
+ - first:
+ 33: 3300000
+ second: metal_003/metal_003/MeshFilter
+ - first:
+ 114: 11400000
+ second: sbsar
+ - first:
+ 114: 11400002
+ second: graph0
+ - first:
+ 135: 13500000
+ second: metal_003/metal_003/SphereCollider
+ - first:
+ 1001: 100100000
+ second: metal_003
+ externalObjects: {}
+ serializedVersion: 2
+ userData:
+ assetBundleName:
+ assetBundleVariant:
+ script: {fileID: 232528478, guid: 43a8bbf65be290d44ba52b94476242b9, type: 3}
+ version: 29
+ projectContext: 0
+ mGraphInstanceData:
+ - graphLabel: Metal 003
+ prototypeName: Metal 003
+ graphDescIndex: 0
+ generateAllOutputs: 0
+ generateMipMaps: 1
+ preset: " \n \n
+ \n \n"
+ shaderName: Standard
+ materialProperties:
+ shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
+ shaderKeywords:
+ lightmapFlags: 4
+ enableInstancingVariants: 0
+ doubleSidedGI: 0
+ customRenderQueue: -1
+ texEnvs:
+ - name: _BumpMap
+ texture: {fileID: -2508943184622041221, guid: 885e680924fc12c439a842a2142d4b78,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailAlbedoMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailMask
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailNormalMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _EmissionMap
+ texture: {instanceID: 0}
+ scale: {x: 8, y: 8}
+ offset: {x: 0, y: 0}
+ - name: _MainTex
+ texture: {fileID: -1236254257114565538, guid: 885e680924fc12c439a842a2142d4b78,
+ type: 3}
+ scale: {x: 8, y: 8}
+ offset: {x: 0, y: 0}
+ - name: _MetallicGlossMap
+ texture: {fileID: 4019402794555593307, guid: 885e680924fc12c439a842a2142d4b78,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _OcclusionMap
+ texture: {fileID: -1475328947160444094, guid: 885e680924fc12c439a842a2142d4b78,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _ParallaxMap
+ texture: {fileID: 7523010977671448217, guid: 885e680924fc12c439a842a2142d4b78,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ floats:
+ - name: _BumpScale
+ float: 1
+ - name: _Cutoff
+ float: 0.5
+ - name: _DetailNormalMapScale
+ float: 1
+ - name: _DstBlend
+ float: 0
+ - name: _GlossMapScale
+ float: 1
+ - name: _Glossiness
+ float: 0.5
+ - name: _GlossyReflections
+ float: 1
+ - name: _Metallic
+ float: 0
+ - name: _Mode
+ float: 0
+ - name: _OcclusionStrength
+ float: 1
+ - name: _Parallax
+ float: 0.02
+ - name: _SmoothnessTextureChannel
+ float: 0
+ - name: _SpecularHighlights
+ float: 1
+ - name: _SrcBlend
+ float: 1
+ - name: _UVSec
+ float: 0
+ - name: _ZWrite
+ float: 1
+ colors:
+ - name: _Color
+ color: {r: 1, g: 1, b: 1, a: 1}
+ - name: _EmissionColor
+ color: {r: 0, g: 0, b: 0, a: 1}
+ outputDescList:
+ - outputName: diffuse
+ identifier: diffuse
+ usageName: diffuse
+ channelStr: diffuse
+ label: Diffuse
+ usage: 0
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: baseColor
+ identifier: basecolor
+ usageName: baseColor
+ channelStr: baseColor
+ label: Base Color
+ usage: 1
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: normal
+ identifier: normal
+ usageName: normal
+ channelStr: normal
+ label: Normal
+ usage: 7
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: specular
+ identifier: specular
+ usageName: specular
+ channelStr: specular
+ label: Specular
+ usage: 11
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: glossiness
+ identifier: glossiness
+ usageName: glossiness
+ channelStr: glossiness
+ label: Glossiness
+ usage: 14
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: roughness
+ identifier: roughness
+ usageName: roughness
+ channelStr: roughness
+ label: Roughness
+ usage: 15
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: metallic
+ identifier: metallic
+ usageName: metallic
+ channelStr: metallic
+ label: Metallic
+ usage: 34
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: height
+ identifier: height
+ usageName: height
+ channelStr: height
+ label: Height
+ usage: 9
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: ambientOcclusion
+ identifier: ambient_occlusion
+ usageName: ambientOcclusion
+ channelStr: ambientOcclusion
+ label: Ambient Occlusion
+ usage: 5
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ texturePackingList:
+ - targetName: diffuse
+ components:
+ - sourceName: diffuse
+ from: 0
+ to: 3
+ - targetName: baseColor
+ components:
+ - sourceName: baseColor
+ from: 0
+ to: 3
+ - targetName: normal
+ components:
+ - sourceName: normal
+ from: 0
+ to: 3
+ - targetName: specular
+ components:
+ - sourceName: specular
+ from: 0
+ to: 3
+ - targetName: glossiness
+ components:
+ - sourceName: glossiness
+ from: 0
+ to: 3
+ - targetName: roughness
+ components:
+ - sourceName: roughness
+ from: 0
+ to: 3
+ - targetName: metallic
+ components:
+ - sourceName: smoothness
+ from: 0
+ to: 3
+ - targetName: height
+ components:
+ - sourceName: height
+ from: 0
+ to: 3
+ - targetName: ambientOcclusion
+ components:
+ - sourceName: ambientOcclusion
+ from: 0
+ to: 3
+ textureParameters:
+ - textureName: Metal 003_glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal 003_diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal 003_baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal 003_normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal 003_specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal 003_roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal 003_metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal 003_height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal 003_ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal 003 - diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal 003 - baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal 003 - normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal 003 - specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal 003 - glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal 003 - roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal 003 - metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal 003 - height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal 003 - ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ colorSpaceList: []
+ inputTextureMap: []
+ targetSettingList:
+ - label: Default
+ bOverride: 0
+ bLockRatio: 1
+ textureWidth: 1024
+ textureHeight: 1024
+ textureFormatMode: 0
+ normalCompressed: 0
+ bGenerateOnLoad: 1
+ material: {fileID: -741235592913766832, guid: 885e680924fc12c439a842a2142d4b78,
+ type: 3}
+ generatedTextures:
+ - {fileID: -1236254257114565538, guid: 885e680924fc12c439a842a2142d4b78, type: 3}
+ - {fileID: -2508943184622041221, guid: 885e680924fc12c439a842a2142d4b78, type: 3}
+ - {fileID: 4019402794555593307, guid: 885e680924fc12c439a842a2142d4b78, type: 3}
+ - {fileID: 7523010977671448217, guid: 885e680924fc12c439a842a2142d4b78, type: 3}
+ - {fileID: -1475328947160444094, guid: 885e680924fc12c439a842a2142d4b78, type: 3}
diff --git a/Assets/Materials/Substance/Metal/metal_006.sbsar b/Assets/Materials/Substance/Metal/metal_006.sbsar
new file mode 100644
index 000000000..ac614998f
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_006.sbsar
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c7cdd662d4c7ee3124366ac316fe6aa5dd247c279bba053a9084916e0510d8df
+size 12109
diff --git a/Assets/Materials/Substance/Metal/metal_006.sbsar.meta b/Assets/Materials/Substance/Metal/metal_006.sbsar.meta
new file mode 100644
index 000000000..f304dd2c0
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_006.sbsar.meta
@@ -0,0 +1,369 @@
+fileFormatVersion: 2
+guid: 53adf8e53222e6f4791d7bf2110fb70c
+ScriptedImporter:
+ internalIDToNameTable:
+ - first:
+ 1: 100000
+ second: metal_006/metal_006
+ - first:
+ 4: 400000
+ second: metal_006/metal_006/Transform
+ - first:
+ 21: 2100000
+ second: mat.Metal 006
+ - first:
+ 23: 2300000
+ second: metal_006/metal_006/MeshRenderer
+ - first:
+ 28: 2800000
+ second: Metal 006_baseColor
+ - first:
+ 28: 2800002
+ second: Metal 006_normal
+ - first:
+ 28: 2800004
+ second: Metal 006_metallic
+ - first:
+ 28: 2800006
+ second: Metal 006_height
+ - first:
+ 28: 2800008
+ second: Metal 006_ambientOcclusion
+ - first:
+ 33: 3300000
+ second: metal_006/metal_006/MeshFilter
+ - first:
+ 114: 11400000
+ second: sbsar
+ - first:
+ 114: 11400002
+ second: graph0
+ - first:
+ 135: 13500000
+ second: metal_006/metal_006/SphereCollider
+ - first:
+ 1001: 100100000
+ second: metal_006
+ externalObjects: {}
+ serializedVersion: 2
+ userData:
+ assetBundleName:
+ assetBundleVariant:
+ script: {fileID: 232528478, guid: 43a8bbf65be290d44ba52b94476242b9, type: 3}
+ version: 29
+ projectContext: 0
+ mGraphInstanceData:
+ - graphLabel: Metal 006
+ prototypeName: Metal 006
+ graphDescIndex: 0
+ generateAllOutputs: 0
+ generateMipMaps: 1
+ preset: " \n \n"
+ shaderName: Standard
+ materialProperties:
+ shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
+ shaderKeywords:
+ lightmapFlags: 4
+ enableInstancingVariants: 0
+ doubleSidedGI: 0
+ customRenderQueue: -1
+ texEnvs:
+ - name: _BumpMap
+ texture: {fileID: -9145106948908842110, guid: 53adf8e53222e6f4791d7bf2110fb70c,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailAlbedoMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailMask
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailNormalMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _EmissionMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MainTex
+ texture: {fileID: 8714526317094329886, guid: 53adf8e53222e6f4791d7bf2110fb70c,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MetallicGlossMap
+ texture: {fileID: 8283496261199770474, guid: 53adf8e53222e6f4791d7bf2110fb70c,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _OcclusionMap
+ texture: {fileID: -247870979206812949, guid: 53adf8e53222e6f4791d7bf2110fb70c,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _ParallaxMap
+ texture: {fileID: 4895182546727821380, guid: 53adf8e53222e6f4791d7bf2110fb70c,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ floats:
+ - name: _BumpScale
+ float: 1
+ - name: _Cutoff
+ float: 0.5
+ - name: _DetailNormalMapScale
+ float: 1
+ - name: _DstBlend
+ float: 0
+ - name: _GlossMapScale
+ float: 1
+ - name: _Glossiness
+ float: 0.5
+ - name: _GlossyReflections
+ float: 1
+ - name: _Metallic
+ float: 0
+ - name: _Mode
+ float: 0
+ - name: _OcclusionStrength
+ float: 1
+ - name: _Parallax
+ float: 0.02
+ - name: _SmoothnessTextureChannel
+ float: 0
+ - name: _SpecularHighlights
+ float: 1
+ - name: _SrcBlend
+ float: 1
+ - name: _UVSec
+ float: 0
+ - name: _ZWrite
+ float: 1
+ colors:
+ - name: _Color
+ color: {r: 1, g: 1, b: 1, a: 1}
+ - name: _EmissionColor
+ color: {r: 0, g: 0, b: 0, a: 1}
+ outputDescList:
+ - outputName: diffuse
+ identifier: diffuse
+ usageName: diffuse
+ channelStr: diffuse
+ label: Diffuse
+ usage: 0
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: baseColor
+ identifier: basecolor
+ usageName: baseColor
+ channelStr: baseColor
+ label: Base Color
+ usage: 1
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: normal
+ identifier: normal
+ usageName: normal
+ channelStr: normal
+ label: Normal
+ usage: 7
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: specular
+ identifier: specular
+ usageName: specular
+ channelStr: specular
+ label: Specular
+ usage: 11
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: glossiness
+ identifier: glossiness
+ usageName: glossiness
+ channelStr: glossiness
+ label: Glossiness
+ usage: 14
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: roughness
+ identifier: roughness
+ usageName: roughness
+ channelStr: roughness
+ label: Roughness
+ usage: 15
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: metallic
+ identifier: metallic
+ usageName: metallic
+ channelStr: metallic
+ label: Metallic
+ usage: 34
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: height
+ identifier: height
+ usageName: height
+ channelStr: height
+ label: Height
+ usage: 9
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: ambientOcclusion
+ identifier: ambient_occlusion
+ usageName: ambientOcclusion
+ channelStr: ambientOcclusion
+ label: Ambient Occlusion
+ usage: 5
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ texturePackingList:
+ - targetName: diffuse
+ components:
+ - sourceName: diffuse
+ from: 0
+ to: 3
+ - targetName: baseColor
+ components:
+ - sourceName: baseColor
+ from: 0
+ to: 3
+ - targetName: normal
+ components:
+ - sourceName: normal
+ from: 0
+ to: 3
+ - targetName: specular
+ components:
+ - sourceName: specular
+ from: 0
+ to: 3
+ - targetName: glossiness
+ components:
+ - sourceName: glossiness
+ from: 0
+ to: 3
+ - targetName: roughness
+ components:
+ - sourceName: roughness
+ from: 0
+ to: 3
+ - targetName: metallic
+ components:
+ - sourceName: smoothness
+ from: 0
+ to: 3
+ - targetName: height
+ components:
+ - sourceName: height
+ from: 0
+ to: 3
+ - targetName: ambientOcclusion
+ components:
+ - sourceName: ambientOcclusion
+ from: 0
+ to: 3
+ textureParameters:
+ - textureName: Metal 006_glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal 006_diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal 006_baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal 006_normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal 006_specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal 006_roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal 006_metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal 006_height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal 006_ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal 006 - diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal 006 - baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal 006 - normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal 006 - specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal 006 - glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal 006 - roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal 006 - metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal 006 - height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal 006 - ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ colorSpaceList: []
+ inputTextureMap: []
+ targetSettingList:
+ - label: Default
+ bOverride: 0
+ bLockRatio: 1
+ textureWidth: 256
+ textureHeight: 256
+ textureFormatMode: 0
+ normalCompressed: 0
+ bGenerateOnLoad: 1
+ material: {fileID: 3954565982357225544, guid: 53adf8e53222e6f4791d7bf2110fb70c,
+ type: 3}
+ generatedTextures:
+ - {fileID: 8714526317094329886, guid: 53adf8e53222e6f4791d7bf2110fb70c, type: 3}
+ - {fileID: -9145106948908842110, guid: 53adf8e53222e6f4791d7bf2110fb70c, type: 3}
+ - {fileID: 8283496261199770474, guid: 53adf8e53222e6f4791d7bf2110fb70c, type: 3}
+ - {fileID: 4895182546727821380, guid: 53adf8e53222e6f4791d7bf2110fb70c, type: 3}
+ - {fileID: -247870979206812949, guid: 53adf8e53222e6f4791d7bf2110fb70c, type: 3}
diff --git a/Assets/Materials/Substance/Metal/metal_aluminium.sbsar b/Assets/Materials/Substance/Metal/metal_aluminium.sbsar
new file mode 100644
index 000000000..088b73bee
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_aluminium.sbsar
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b19246651deb85c3c0a8d424507e0711ccce8c9eae241da396a36cd210f38f20
+size 10491
diff --git a/Assets/Materials/Substance/Metal/metal_aluminium.sbsar.meta b/Assets/Materials/Substance/Metal/metal_aluminium.sbsar.meta
new file mode 100644
index 000000000..95addd8d7
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_aluminium.sbsar.meta
@@ -0,0 +1,373 @@
+fileFormatVersion: 2
+guid: 6b2eb94965ca27542b8627d3521f5b5b
+ScriptedImporter:
+ internalIDToNameTable:
+ - first:
+ 1: 100000
+ second: metal_aluminium/metal_aluminium
+ - first:
+ 4: 400000
+ second: metal_aluminium/metal_aluminium/Transform
+ - first:
+ 21: 2100000
+ second: mat.Aluminium
+ - first:
+ 23: 2300000
+ second: metal_aluminium/metal_aluminium/MeshRenderer
+ - first:
+ 28: 2800000
+ second: Aluminium_baseColor
+ - first:
+ 28: 2800002
+ second: Aluminium_normal
+ - first:
+ 28: 2800004
+ second: Aluminium_metallic
+ - first:
+ 28: 2800006
+ second: Aluminium_ambientOcclusion
+ - first:
+ 28: 2800008
+ second: Aluminium_height
+ - first:
+ 33: 3300000
+ second: metal_aluminium/metal_aluminium/MeshFilter
+ - first:
+ 114: 11400000
+ second: sbsar
+ - first:
+ 114: 11400002
+ second: graph0
+ - first:
+ 135: 13500000
+ second: metal_aluminium/metal_aluminium/SphereCollider
+ - first:
+ 1001: 100100000
+ second: metal_aluminium
+ externalObjects: {}
+ serializedVersion: 2
+ userData:
+ assetBundleName:
+ assetBundleVariant:
+ script: {fileID: 232528478, guid: 43a8bbf65be290d44ba52b94476242b9, type: 3}
+ version: 29
+ projectContext: 0
+ mGraphInstanceData:
+ - graphLabel: Aluminium
+ prototypeName: Aluminium
+ graphDescIndex: 0
+ generateAllOutputs: 0
+ generateMipMaps: 1
+ preset: " \n \n
+ \n \n \n"
+ shaderName: Standard
+ materialProperties:
+ shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
+ shaderKeywords:
+ lightmapFlags: 4
+ enableInstancingVariants: 0
+ doubleSidedGI: 0
+ customRenderQueue: -1
+ texEnvs:
+ - name: _BumpMap
+ texture: {fileID: -7227111979962756822, guid: 6b2eb94965ca27542b8627d3521f5b5b,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailAlbedoMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailMask
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailNormalMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _EmissionMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MainTex
+ texture: {fileID: 5122202571912407749, guid: 6b2eb94965ca27542b8627d3521f5b5b,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MetallicGlossMap
+ texture: {fileID: -5067940305606501900, guid: 6b2eb94965ca27542b8627d3521f5b5b,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _OcclusionMap
+ texture: {fileID: 9049458111962441826, guid: 6b2eb94965ca27542b8627d3521f5b5b,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _ParallaxMap
+ texture: {fileID: -7751791800289965735, guid: 6b2eb94965ca27542b8627d3521f5b5b,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ floats:
+ - name: _BumpScale
+ float: 1
+ - name: _Cutoff
+ float: 0.5
+ - name: _DetailNormalMapScale
+ float: 1
+ - name: _DstBlend
+ float: 0
+ - name: _GlossMapScale
+ float: 1
+ - name: _Glossiness
+ float: 0.5
+ - name: _GlossyReflections
+ float: 1
+ - name: _Metallic
+ float: 0
+ - name: _Mode
+ float: 0
+ - name: _OcclusionStrength
+ float: 1
+ - name: _Parallax
+ float: 0.02
+ - name: _SmoothnessTextureChannel
+ float: 0
+ - name: _SpecularHighlights
+ float: 1
+ - name: _SrcBlend
+ float: 1
+ - name: _UVSec
+ float: 0
+ - name: _ZWrite
+ float: 1
+ colors:
+ - name: _Color
+ color: {r: 1, g: 1, b: 1, a: 1}
+ - name: _EmissionColor
+ color: {r: 0, g: 0, b: 0, a: 1}
+ outputDescList:
+ - outputName: diffuse
+ identifier: diffuse
+ usageName: diffuse
+ channelStr: diffuse
+ label: Diffuse
+ usage: 0
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: baseColor
+ identifier: basecolor
+ usageName: baseColor
+ channelStr: baseColor
+ label: Base Color
+ usage: 1
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: normal
+ identifier: normal
+ usageName: normal
+ channelStr: normal
+ label: Normal
+ usage: 7
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: specular
+ identifier: specular
+ usageName: specular
+ channelStr: specular
+ label: Specular
+ usage: 11
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: glossiness
+ identifier: glossiness
+ usageName: glossiness
+ channelStr: glossiness
+ label: Glossiness
+ usage: 14
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: roughness
+ identifier: roughness
+ usageName: roughness
+ channelStr: roughness
+ label: Roughness
+ usage: 15
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: metallic
+ identifier: metallic
+ usageName: metallic
+ channelStr: metallic
+ label: Metallic
+ usage: 34
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: ambientOcclusion
+ identifier: ambient_occlusion
+ usageName: ambientOcclusion
+ channelStr: ambientOcclusion
+ label: Ambient Occlusion
+ usage: 5
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: height
+ identifier: height
+ usageName: height
+ channelStr: height
+ label: Height
+ usage: 9
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ texturePackingList:
+ - targetName: diffuse
+ components:
+ - sourceName: diffuse
+ from: 0
+ to: 3
+ - targetName: baseColor
+ components:
+ - sourceName: baseColor
+ from: 0
+ to: 3
+ - targetName: normal
+ components:
+ - sourceName: normal
+ from: 0
+ to: 3
+ - targetName: specular
+ components:
+ - sourceName: specular
+ from: 0
+ to: 3
+ - targetName: glossiness
+ components:
+ - sourceName: glossiness
+ from: 0
+ to: 3
+ - targetName: roughness
+ components:
+ - sourceName: roughness
+ from: 0
+ to: 3
+ - targetName: metallic
+ components:
+ - sourceName: smoothness
+ from: 0
+ to: 3
+ - targetName: ambientOcclusion
+ components:
+ - sourceName: ambientOcclusion
+ from: 0
+ to: 3
+ - targetName: height
+ components:
+ - sourceName: height
+ from: 0
+ to: 3
+ textureParameters:
+ - textureName: Aluminium_glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Aluminium_diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Aluminium_baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Aluminium_normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Aluminium_specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Aluminium_roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Aluminium_metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Aluminium_ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Aluminium_height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Aluminium - diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Aluminium - baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Aluminium - normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Aluminium - specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Aluminium - glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Aluminium - roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Aluminium - metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Aluminium - ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Aluminium - height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ colorSpaceList: []
+ inputTextureMap: []
+ targetSettingList:
+ - label: Default
+ bOverride: 0
+ bLockRatio: 1
+ textureWidth: 512
+ textureHeight: 512
+ textureFormatMode: 0
+ normalCompressed: 0
+ bGenerateOnLoad: 1
+ material: {fileID: 2717629391965333470, guid: 6b2eb94965ca27542b8627d3521f5b5b,
+ type: 3}
+ generatedTextures:
+ - {fileID: 5122202571912407749, guid: 6b2eb94965ca27542b8627d3521f5b5b, type: 3}
+ - {fileID: -7227111979962756822, guid: 6b2eb94965ca27542b8627d3521f5b5b, type: 3}
+ - {fileID: -5067940305606501900, guid: 6b2eb94965ca27542b8627d3521f5b5b, type: 3}
+ - {fileID: 9049458111962441826, guid: 6b2eb94965ca27542b8627d3521f5b5b, type: 3}
+ - {fileID: -7751791800289965735, guid: 6b2eb94965ca27542b8627d3521f5b5b, type: 3}
diff --git a/Assets/Materials/Substance/Metal/metal_aluminium_brushed.sbsar b/Assets/Materials/Substance/Metal/metal_aluminium_brushed.sbsar
new file mode 100644
index 000000000..7f2ec6e98
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_aluminium_brushed.sbsar
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:41bfd12f87e8255f00383022aa8a1d0c83273a8a23e21233db9f8f08eb89738f
+size 12223
diff --git a/Assets/Materials/Substance/Metal/metal_aluminium_brushed.sbsar.meta b/Assets/Materials/Substance/Metal/metal_aluminium_brushed.sbsar.meta
new file mode 100644
index 000000000..cafdf3d25
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_aluminium_brushed.sbsar.meta
@@ -0,0 +1,373 @@
+fileFormatVersion: 2
+guid: 06d6a565d43fba5409712ce9a10bfbef
+ScriptedImporter:
+ internalIDToNameTable:
+ - first:
+ 1: 100000
+ second: metal_aluminium_brushed/metal_aluminium_brushed
+ - first:
+ 4: 400000
+ second: metal_aluminium_brushed/metal_aluminium_brushed/Transform
+ - first:
+ 21: 2100000
+ second: mat.Aluminium brushed
+ - first:
+ 23: 2300000
+ second: metal_aluminium_brushed/metal_aluminium_brushed/MeshRenderer
+ - first:
+ 28: 2800000
+ second: Aluminium brushed_baseColor
+ - first:
+ 28: 2800002
+ second: Aluminium brushed_normal
+ - first:
+ 28: 2800004
+ second: Aluminium brushed_metallic
+ - first:
+ 28: 2800006
+ second: Aluminium brushed_ambientOcclusion
+ - first:
+ 28: 2800008
+ second: Aluminium brushed_height
+ - first:
+ 33: 3300000
+ second: metal_aluminium_brushed/metal_aluminium_brushed/MeshFilter
+ - first:
+ 114: 11400000
+ second: sbsar
+ - first:
+ 114: 11400002
+ second: graph0
+ - first:
+ 135: 13500000
+ second: metal_aluminium_brushed/metal_aluminium_brushed/SphereCollider
+ - first:
+ 1001: 100100000
+ second: metal_aluminium_brushed
+ externalObjects: {}
+ serializedVersion: 2
+ userData:
+ assetBundleName:
+ assetBundleVariant:
+ script: {fileID: 232528478, guid: 43a8bbf65be290d44ba52b94476242b9, type: 3}
+ version: 29
+ projectContext: 0
+ mGraphInstanceData:
+ - graphLabel: Aluminium brushed
+ prototypeName: Aluminium brushed
+ graphDescIndex: 0
+ generateAllOutputs: 0
+ generateMipMaps: 1
+ preset: " \n
+ \n \n \n \n"
+ shaderName: Standard
+ materialProperties:
+ shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
+ shaderKeywords:
+ lightmapFlags: 4
+ enableInstancingVariants: 0
+ doubleSidedGI: 0
+ customRenderQueue: -1
+ texEnvs:
+ - name: _BumpMap
+ texture: {fileID: 4730978449518085612, guid: 06d6a565d43fba5409712ce9a10bfbef,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailAlbedoMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailMask
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailNormalMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _EmissionMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MainTex
+ texture: {fileID: 7556082237344091230, guid: 06d6a565d43fba5409712ce9a10bfbef,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MetallicGlossMap
+ texture: {fileID: 6373266012617290493, guid: 06d6a565d43fba5409712ce9a10bfbef,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _OcclusionMap
+ texture: {fileID: 342959783478273704, guid: 06d6a565d43fba5409712ce9a10bfbef,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _ParallaxMap
+ texture: {fileID: -9132138291289375396, guid: 06d6a565d43fba5409712ce9a10bfbef,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ floats:
+ - name: _BumpScale
+ float: 1
+ - name: _Cutoff
+ float: 0.5
+ - name: _DetailNormalMapScale
+ float: 1
+ - name: _DstBlend
+ float: 0
+ - name: _GlossMapScale
+ float: 1
+ - name: _Glossiness
+ float: 0.5
+ - name: _GlossyReflections
+ float: 1
+ - name: _Metallic
+ float: 0
+ - name: _Mode
+ float: 0
+ - name: _OcclusionStrength
+ float: 1
+ - name: _Parallax
+ float: 0.02
+ - name: _SmoothnessTextureChannel
+ float: 0
+ - name: _SpecularHighlights
+ float: 1
+ - name: _SrcBlend
+ float: 1
+ - name: _UVSec
+ float: 0
+ - name: _ZWrite
+ float: 1
+ colors:
+ - name: _Color
+ color: {r: 1, g: 1, b: 1, a: 1}
+ - name: _EmissionColor
+ color: {r: 0, g: 0, b: 0, a: 1}
+ outputDescList:
+ - outputName: diffuse
+ identifier: diffuse
+ usageName: diffuse
+ channelStr: diffuse
+ label: Diffuse
+ usage: 0
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: baseColor
+ identifier: basecolor
+ usageName: baseColor
+ channelStr: baseColor
+ label: Base Color
+ usage: 1
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: normal
+ identifier: normal
+ usageName: normal
+ channelStr: normal
+ label: Normal
+ usage: 7
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: specular
+ identifier: specular
+ usageName: specular
+ channelStr: specular
+ label: Specular
+ usage: 11
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: glossiness
+ identifier: glossiness
+ usageName: glossiness
+ channelStr: glossiness
+ label: Glossiness
+ usage: 14
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: roughness
+ identifier: roughness
+ usageName: roughness
+ channelStr: roughness
+ label: Roughness
+ usage: 15
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: metallic
+ identifier: metallic
+ usageName: metallic
+ channelStr: metallic
+ label: Metallic
+ usage: 34
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: ambientOcclusion
+ identifier: ambient_occlusion
+ usageName: ambientOcclusion
+ channelStr: ambientOcclusion
+ label: Ambient Occlusion
+ usage: 5
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: height
+ identifier: height
+ usageName: height
+ channelStr: height
+ label: Height
+ usage: 9
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ texturePackingList:
+ - targetName: diffuse
+ components:
+ - sourceName: diffuse
+ from: 0
+ to: 3
+ - targetName: baseColor
+ components:
+ - sourceName: baseColor
+ from: 0
+ to: 3
+ - targetName: normal
+ components:
+ - sourceName: normal
+ from: 0
+ to: 3
+ - targetName: specular
+ components:
+ - sourceName: specular
+ from: 0
+ to: 3
+ - targetName: glossiness
+ components:
+ - sourceName: glossiness
+ from: 0
+ to: 3
+ - targetName: roughness
+ components:
+ - sourceName: roughness
+ from: 0
+ to: 3
+ - targetName: metallic
+ components:
+ - sourceName: smoothness
+ from: 0
+ to: 3
+ - targetName: ambientOcclusion
+ components:
+ - sourceName: ambientOcclusion
+ from: 0
+ to: 3
+ - targetName: height
+ components:
+ - sourceName: height
+ from: 0
+ to: 3
+ textureParameters:
+ - textureName: Aluminium brushed_glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Aluminium brushed_diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Aluminium brushed_baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Aluminium brushed_normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Aluminium brushed_specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Aluminium brushed_roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Aluminium brushed_metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Aluminium brushed_ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Aluminium brushed_height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Aluminium brushed - diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Aluminium brushed - baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Aluminium brushed - normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Aluminium brushed - specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Aluminium brushed - glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Aluminium brushed - roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Aluminium brushed - metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Aluminium brushed - ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Aluminium brushed - height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ colorSpaceList: []
+ inputTextureMap: []
+ targetSettingList:
+ - label: Default
+ bOverride: 0
+ bLockRatio: 1
+ textureWidth: 512
+ textureHeight: 512
+ textureFormatMode: 0
+ normalCompressed: 0
+ bGenerateOnLoad: 1
+ material: {fileID: -5899741495057040748, guid: 06d6a565d43fba5409712ce9a10bfbef,
+ type: 3}
+ generatedTextures:
+ - {fileID: 7556082237344091230, guid: 06d6a565d43fba5409712ce9a10bfbef, type: 3}
+ - {fileID: 4730978449518085612, guid: 06d6a565d43fba5409712ce9a10bfbef, type: 3}
+ - {fileID: 6373266012617290493, guid: 06d6a565d43fba5409712ce9a10bfbef, type: 3}
+ - {fileID: 342959783478273704, guid: 06d6a565d43fba5409712ce9a10bfbef, type: 3}
+ - {fileID: -9132138291289375396, guid: 06d6a565d43fba5409712ce9a10bfbef, type: 3}
diff --git a/Assets/Materials/Substance/Metal/metal_brass.sbsar b/Assets/Materials/Substance/Metal/metal_brass.sbsar
new file mode 100644
index 000000000..8db7e53b4
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_brass.sbsar
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:26e440c8cc91202789c408e82dfa3caca98938014aaf63baade897fade94f212
+size 12658
diff --git a/Assets/Materials/Substance/Metal/metal_brass.sbsar.meta b/Assets/Materials/Substance/Metal/metal_brass.sbsar.meta
new file mode 100644
index 000000000..dad220291
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_brass.sbsar.meta
@@ -0,0 +1,375 @@
+fileFormatVersion: 2
+guid: 9fc901afb8a434e46b9405eaec2df5a4
+ScriptedImporter:
+ internalIDToNameTable:
+ - first:
+ 1: 100000
+ second: metal_brass/metal_brass
+ - first:
+ 4: 400000
+ second: metal_brass/metal_brass/Transform
+ - first:
+ 21: 2100000
+ second: mat.Brass
+ - first:
+ 23: 2300000
+ second: metal_brass/metal_brass/MeshRenderer
+ - first:
+ 28: 2800000
+ second: Brass_baseColor
+ - first:
+ 28: 2800002
+ second: Brass_normal
+ - first:
+ 28: 2800004
+ second: Brass_metallic
+ - first:
+ 28: 2800006
+ second: Brass_ambientOcclusion
+ - first:
+ 28: 2800008
+ second: Brass_height
+ - first:
+ 33: 3300000
+ second: metal_brass/metal_brass/MeshFilter
+ - first:
+ 114: 11400000
+ second: sbsar
+ - first:
+ 114: 11400002
+ second: graph0
+ - first:
+ 135: 13500000
+ second: metal_brass/metal_brass/SphereCollider
+ - first:
+ 1001: 100100000
+ second: metal_brass
+ externalObjects: {}
+ serializedVersion: 2
+ userData:
+ assetBundleName:
+ assetBundleVariant:
+ script: {fileID: 232528478, guid: 43a8bbf65be290d44ba52b94476242b9, type: 3}
+ version: 29
+ projectContext: 0
+ mGraphInstanceData:
+ - graphLabel: Brass
+ prototypeName: Brass
+ graphDescIndex: 0
+ generateAllOutputs: 0
+ generateMipMaps: 1
+ preset: " \n \n
+ \n \n \n \n \n"
+ shaderName: Standard
+ materialProperties:
+ shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
+ shaderKeywords:
+ lightmapFlags: 4
+ enableInstancingVariants: 0
+ doubleSidedGI: 0
+ customRenderQueue: -1
+ texEnvs:
+ - name: _BumpMap
+ texture: {fileID: -3419035557588562233, guid: 9fc901afb8a434e46b9405eaec2df5a4,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailAlbedoMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailMask
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailNormalMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _EmissionMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MainTex
+ texture: {fileID: -1863473678134789185, guid: 9fc901afb8a434e46b9405eaec2df5a4,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MetallicGlossMap
+ texture: {fileID: 6214616473909614744, guid: 9fc901afb8a434e46b9405eaec2df5a4,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _OcclusionMap
+ texture: {fileID: -3436886866959827803, guid: 9fc901afb8a434e46b9405eaec2df5a4,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _ParallaxMap
+ texture: {fileID: 7009887839391554354, guid: 9fc901afb8a434e46b9405eaec2df5a4,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ floats:
+ - name: _BumpScale
+ float: 1
+ - name: _Cutoff
+ float: 0.5
+ - name: _DetailNormalMapScale
+ float: 1
+ - name: _DstBlend
+ float: 0
+ - name: _GlossMapScale
+ float: 1
+ - name: _Glossiness
+ float: 0.5
+ - name: _GlossyReflections
+ float: 1
+ - name: _Metallic
+ float: 0
+ - name: _Mode
+ float: 0
+ - name: _OcclusionStrength
+ float: 1
+ - name: _Parallax
+ float: 0.02
+ - name: _SmoothnessTextureChannel
+ float: 0
+ - name: _SpecularHighlights
+ float: 1
+ - name: _SrcBlend
+ float: 1
+ - name: _UVSec
+ float: 0
+ - name: _ZWrite
+ float: 1
+ colors:
+ - name: _Color
+ color: {r: 1, g: 1, b: 1, a: 1}
+ - name: _EmissionColor
+ color: {r: 0, g: 0, b: 0, a: 1}
+ outputDescList:
+ - outputName: diffuse
+ identifier: diffuse
+ usageName: diffuse
+ channelStr: diffuse
+ label: Diffuse
+ usage: 0
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: baseColor
+ identifier: basecolor
+ usageName: baseColor
+ channelStr: baseColor
+ label: Base Color
+ usage: 1
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: normal
+ identifier: normal
+ usageName: normal
+ channelStr: normal
+ label: Normal
+ usage: 7
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: specular
+ identifier: specular
+ usageName: specular
+ channelStr: specular
+ label: Specular
+ usage: 11
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: glossiness
+ identifier: glossiness
+ usageName: glossiness
+ channelStr: glossiness
+ label: Glossiness
+ usage: 14
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: roughness
+ identifier: roughness
+ usageName: roughness
+ channelStr: roughness
+ label: Roughness
+ usage: 15
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: metallic
+ identifier: metallic
+ usageName: metallic
+ channelStr: metallic
+ label: Metallic
+ usage: 34
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: ambientOcclusion
+ identifier: ambient_occlusion
+ usageName: ambientOcclusion
+ channelStr: ambientOcclusion
+ label: Ambient Occlusion
+ usage: 5
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: height
+ identifier: height
+ usageName: height
+ channelStr: height
+ label: Height
+ usage: 9
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ texturePackingList:
+ - targetName: diffuse
+ components:
+ - sourceName: diffuse
+ from: 0
+ to: 3
+ - targetName: baseColor
+ components:
+ - sourceName: baseColor
+ from: 0
+ to: 3
+ - targetName: normal
+ components:
+ - sourceName: normal
+ from: 0
+ to: 3
+ - targetName: specular
+ components:
+ - sourceName: specular
+ from: 0
+ to: 3
+ - targetName: glossiness
+ components:
+ - sourceName: glossiness
+ from: 0
+ to: 3
+ - targetName: roughness
+ components:
+ - sourceName: roughness
+ from: 0
+ to: 3
+ - targetName: metallic
+ components:
+ - sourceName: smoothness
+ from: 0
+ to: 3
+ - targetName: ambientOcclusion
+ components:
+ - sourceName: ambientOcclusion
+ from: 0
+ to: 3
+ - targetName: height
+ components:
+ - sourceName: height
+ from: 0
+ to: 3
+ textureParameters:
+ - textureName: Brass_glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Brass_diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Brass_baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Brass_normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Brass_specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Brass_roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Brass_metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Brass_ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Brass_height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Brass - diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Brass - baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Brass - normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Brass - specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Brass - glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Brass - roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Brass - metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Brass - ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Brass - height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ colorSpaceList: []
+ inputTextureMap: []
+ targetSettingList:
+ - label: Default
+ bOverride: 0
+ bLockRatio: 1
+ textureWidth: 1024
+ textureHeight: 1024
+ textureFormatMode: 0
+ normalCompressed: 0
+ bGenerateOnLoad: 1
+ material: {fileID: -4907982557009795279, guid: 9fc901afb8a434e46b9405eaec2df5a4,
+ type: 3}
+ generatedTextures:
+ - {fileID: -1863473678134789185, guid: 9fc901afb8a434e46b9405eaec2df5a4, type: 3}
+ - {fileID: -3419035557588562233, guid: 9fc901afb8a434e46b9405eaec2df5a4, type: 3}
+ - {fileID: 6214616473909614744, guid: 9fc901afb8a434e46b9405eaec2df5a4, type: 3}
+ - {fileID: -3436886866959827803, guid: 9fc901afb8a434e46b9405eaec2df5a4, type: 3}
+ - {fileID: 7009887839391554354, guid: 9fc901afb8a434e46b9405eaec2df5a4, type: 3}
diff --git a/Assets/Materials/Substance/Metal/metal_car_paint 1.sbsar b/Assets/Materials/Substance/Metal/metal_car_paint 1.sbsar
new file mode 100644
index 000000000..963310406
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_car_paint 1.sbsar
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:dbee14b278a03ed59e1df8ecd6ba2b07ab7c2b2089e5e2bc3fad5673694a9f03
+size 14971
diff --git a/Assets/Materials/Substance/Metal/metal_car_paint 1.sbsar.meta b/Assets/Materials/Substance/Metal/metal_car_paint 1.sbsar.meta
new file mode 100644
index 000000000..d6786ba5e
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_car_paint 1.sbsar.meta
@@ -0,0 +1,379 @@
+fileFormatVersion: 2
+guid: 1c858fec5b74c7c46b1712494192b6b5
+ScriptedImporter:
+ internalIDToNameTable:
+ - first:
+ 1: 100000
+ second: metal_car_paint/metal_car_paint
+ - first:
+ 4: 400000
+ second: metal_car_paint/metal_car_paint/Transform
+ - first:
+ 21: 2100000
+ second: mat.Car paint
+ - first:
+ 23: 2300000
+ second: metal_car_paint/metal_car_paint/MeshRenderer
+ - first:
+ 28: 2800000
+ second: Car paint_baseColor
+ - first:
+ 28: 2800002
+ second: Car paint_normal
+ - first:
+ 28: 2800004
+ second: Car paint_metallic
+ - first:
+ 28: 2800006
+ second: Car paint_ambientOcclusion
+ - first:
+ 28: 2800008
+ second: Car paint_height
+ - first:
+ 33: 3300000
+ second: metal_car_paint/metal_car_paint/MeshFilter
+ - first:
+ 114: 11400000
+ second: sbsar
+ - first:
+ 114: 11400002
+ second: graph0
+ - first:
+ 135: 13500000
+ second: metal_car_paint/metal_car_paint/SphereCollider
+ - first:
+ 1001: 100100000
+ second: metal_car_paint
+ externalObjects: {}
+ serializedVersion: 2
+ userData:
+ assetBundleName:
+ assetBundleVariant:
+ script: {fileID: 232528478, guid: 43a8bbf65be290d44ba52b94476242b9, type: 3}
+ version: 29
+ projectContext: 0
+ mGraphInstanceData:
+ - graphLabel: Car paint
+ prototypeName: Car paint
+ graphDescIndex: 0
+ generateAllOutputs: 0
+ generateMipMaps: 1
+ preset: " \n \n
+ \n \n \n \n \n \n \n \n \n"
+ shaderName: Standard
+ materialProperties:
+ shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
+ shaderKeywords:
+ lightmapFlags: 4
+ enableInstancingVariants: 0
+ doubleSidedGI: 0
+ customRenderQueue: -1
+ texEnvs:
+ - name: _BumpMap
+ texture: {fileID: 3068890721646206586, guid: 1c858fec5b74c7c46b1712494192b6b5,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailAlbedoMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailMask
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailNormalMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _EmissionMap
+ texture: {instanceID: 0}
+ scale: {x: 16, y: 16}
+ offset: {x: 0, y: 0}
+ - name: _MainTex
+ texture: {fileID: 5917659159057834157, guid: 1c858fec5b74c7c46b1712494192b6b5,
+ type: 3}
+ scale: {x: 16, y: 16}
+ offset: {x: 0, y: 0}
+ - name: _MetallicGlossMap
+ texture: {fileID: -3552914696322007609, guid: 1c858fec5b74c7c46b1712494192b6b5,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _OcclusionMap
+ texture: {fileID: -1242281561028671816, guid: 1c858fec5b74c7c46b1712494192b6b5,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _ParallaxMap
+ texture: {fileID: -1652887728991447519, guid: 1c858fec5b74c7c46b1712494192b6b5,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ floats:
+ - name: _BumpScale
+ float: 1
+ - name: _Cutoff
+ float: 0.5
+ - name: _DetailNormalMapScale
+ float: 1
+ - name: _DstBlend
+ float: 0
+ - name: _GlossMapScale
+ float: 1
+ - name: _Glossiness
+ float: 0.5
+ - name: _GlossyReflections
+ float: 1
+ - name: _Metallic
+ float: 0
+ - name: _Mode
+ float: 0
+ - name: _OcclusionStrength
+ float: 1
+ - name: _Parallax
+ float: 0.005
+ - name: _SmoothnessTextureChannel
+ float: 0
+ - name: _SpecularHighlights
+ float: 1
+ - name: _SrcBlend
+ float: 1
+ - name: _UVSec
+ float: 0
+ - name: _ZWrite
+ float: 1
+ colors:
+ - name: _Color
+ color: {r: 1, g: 1, b: 1, a: 1}
+ - name: _EmissionColor
+ color: {r: 0, g: 0, b: 0, a: 1}
+ outputDescList:
+ - outputName: diffuse
+ identifier: diffuse
+ usageName: diffuse
+ channelStr: diffuse
+ label: Diffuse
+ usage: 0
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: baseColor
+ identifier: basecolor
+ usageName: baseColor
+ channelStr: baseColor
+ label: Base Color
+ usage: 1
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: normal
+ identifier: normal
+ usageName: normal
+ channelStr: normal
+ label: Normal
+ usage: 7
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: specular
+ identifier: specular
+ usageName: specular
+ channelStr: specular
+ label: Specular
+ usage: 11
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: glossiness
+ identifier: glossiness
+ usageName: glossiness
+ channelStr: glossiness
+ label: Glossiness
+ usage: 14
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: roughness
+ identifier: roughness
+ usageName: roughness
+ channelStr: roughness
+ label: Roughness
+ usage: 15
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: metallic
+ identifier: metallic
+ usageName: metallic
+ channelStr: metallic
+ label: Metallic
+ usage: 34
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: ambientOcclusion
+ identifier: ambient_occlusion
+ usageName: ambientOcclusion
+ channelStr: ambientOcclusion
+ label: Ambient Occlusion
+ usage: 5
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: height
+ identifier: height
+ usageName: height
+ channelStr: height
+ label: Height
+ usage: 9
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ texturePackingList:
+ - targetName: diffuse
+ components:
+ - sourceName: diffuse
+ from: 0
+ to: 3
+ - targetName: baseColor
+ components:
+ - sourceName: baseColor
+ from: 0
+ to: 3
+ - targetName: normal
+ components:
+ - sourceName: normal
+ from: 0
+ to: 3
+ - targetName: specular
+ components:
+ - sourceName: specular
+ from: 0
+ to: 3
+ - targetName: glossiness
+ components:
+ - sourceName: glossiness
+ from: 0
+ to: 3
+ - targetName: roughness
+ components:
+ - sourceName: roughness
+ from: 0
+ to: 3
+ - targetName: metallic
+ components:
+ - sourceName: smoothness
+ from: 0
+ to: 3
+ - targetName: ambientOcclusion
+ components:
+ - sourceName: ambientOcclusion
+ from: 0
+ to: 3
+ - targetName: height
+ components:
+ - sourceName: height
+ from: 0
+ to: 3
+ textureParameters:
+ - textureName: Car paint_glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint_diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint_baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint_normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint_specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint_roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint_metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint_ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint_height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint - diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint - baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint - normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint - specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint - glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint - roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint - metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint - ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint - height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ colorSpaceList: []
+ inputTextureMap: []
+ targetSettingList:
+ - label: Default
+ bOverride: 0
+ bLockRatio: 1
+ textureWidth: 1024
+ textureHeight: 1024
+ textureFormatMode: 0
+ normalCompressed: 0
+ bGenerateOnLoad: 1
+ material: {fileID: 3720744386649352057, guid: 1c858fec5b74c7c46b1712494192b6b5,
+ type: 3}
+ generatedTextures:
+ - {fileID: 5917659159057834157, guid: 1c858fec5b74c7c46b1712494192b6b5, type: 3}
+ - {fileID: 3068890721646206586, guid: 1c858fec5b74c7c46b1712494192b6b5, type: 3}
+ - {fileID: -3552914696322007609, guid: 1c858fec5b74c7c46b1712494192b6b5, type: 3}
+ - {fileID: -1242281561028671816, guid: 1c858fec5b74c7c46b1712494192b6b5, type: 3}
+ - {fileID: -1652887728991447519, guid: 1c858fec5b74c7c46b1712494192b6b5, type: 3}
diff --git a/Assets/Materials/Substance/Metal/metal_car_paint Magenta.sbsar b/Assets/Materials/Substance/Metal/metal_car_paint Magenta.sbsar
new file mode 100644
index 000000000..963310406
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_car_paint Magenta.sbsar
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:dbee14b278a03ed59e1df8ecd6ba2b07ab7c2b2089e5e2bc3fad5673694a9f03
+size 14971
diff --git a/Assets/Materials/Substance/Metal/metal_car_paint Magenta.sbsar.meta b/Assets/Materials/Substance/Metal/metal_car_paint Magenta.sbsar.meta
new file mode 100644
index 000000000..c839a27b8
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_car_paint Magenta.sbsar.meta
@@ -0,0 +1,381 @@
+fileFormatVersion: 2
+guid: a1d39ea984432bf44b4a0686afe2bf1a
+ScriptedImporter:
+ internalIDToNameTable:
+ - first:
+ 1: 100000
+ second: metal_car_paint/metal_car_paint
+ - first:
+ 4: 400000
+ second: metal_car_paint/metal_car_paint/Transform
+ - first:
+ 21: 2100000
+ second: mat.Car paint
+ - first:
+ 23: 2300000
+ second: metal_car_paint/metal_car_paint/MeshRenderer
+ - first:
+ 28: 2800000
+ second: Car paint_baseColor
+ - first:
+ 28: 2800002
+ second: Car paint_normal
+ - first:
+ 28: 2800004
+ second: Car paint_metallic
+ - first:
+ 28: 2800006
+ second: Car paint_ambientOcclusion
+ - first:
+ 28: 2800008
+ second: Car paint_height
+ - first:
+ 33: 3300000
+ second: metal_car_paint/metal_car_paint/MeshFilter
+ - first:
+ 114: 11400000
+ second: sbsar
+ - first:
+ 114: 11400002
+ second: graph0
+ - first:
+ 135: 13500000
+ second: metal_car_paint/metal_car_paint/SphereCollider
+ - first:
+ 1001: 100100000
+ second: metal_car_paint
+ externalObjects: {}
+ serializedVersion: 2
+ userData:
+ assetBundleName:
+ assetBundleVariant:
+ script: {fileID: 232528478, guid: 43a8bbf65be290d44ba52b94476242b9, type: 3}
+ version: 29
+ projectContext: 0
+ mGraphInstanceData:
+ - graphLabel: Car paint
+ prototypeName: Car paint
+ graphDescIndex: 0
+ generateAllOutputs: 0
+ generateMipMaps: 1
+ preset: " \n \n
+ \n \n \n \n \n \n \n \n \n \n \n"
+ shaderName: Standard
+ materialProperties:
+ shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
+ shaderKeywords:
+ lightmapFlags: 4
+ enableInstancingVariants: 0
+ doubleSidedGI: 0
+ customRenderQueue: -1
+ texEnvs:
+ - name: _BumpMap
+ texture: {fileID: 3068890721646206586, guid: a1d39ea984432bf44b4a0686afe2bf1a,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailAlbedoMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailMask
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailNormalMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _EmissionMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MainTex
+ texture: {fileID: 5917659159057834157, guid: a1d39ea984432bf44b4a0686afe2bf1a,
+ type: 3}
+ scale: {x: 2, y: 2}
+ offset: {x: 0, y: 0}
+ - name: _MetallicGlossMap
+ texture: {fileID: -3552914696322007609, guid: a1d39ea984432bf44b4a0686afe2bf1a,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _OcclusionMap
+ texture: {fileID: -1242281561028671816, guid: a1d39ea984432bf44b4a0686afe2bf1a,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _ParallaxMap
+ texture: {fileID: -1652887728991447519, guid: a1d39ea984432bf44b4a0686afe2bf1a,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ floats:
+ - name: _BumpScale
+ float: 1
+ - name: _Cutoff
+ float: 0.5
+ - name: _DetailNormalMapScale
+ float: 1
+ - name: _DstBlend
+ float: 0
+ - name: _GlossMapScale
+ float: 1
+ - name: _Glossiness
+ float: 1
+ - name: _GlossyReflections
+ float: 1
+ - name: _Metallic
+ float: 1
+ - name: _Mode
+ float: 0
+ - name: _OcclusionStrength
+ float: 1
+ - name: _Parallax
+ float: 0.02
+ - name: _SmoothnessTextureChannel
+ float: 0
+ - name: _SpecularHighlights
+ float: 1
+ - name: _SrcBlend
+ float: 1
+ - name: _UVSec
+ float: 0
+ - name: _ZWrite
+ float: 1
+ colors:
+ - name: _Color
+ color: {r: 1, g: 1, b: 1, a: 1}
+ - name: _EmissionColor
+ color: {r: 0, g: 0, b: 0, a: 1}
+ outputDescList:
+ - outputName: diffuse
+ identifier: diffuse
+ usageName: diffuse
+ channelStr: diffuse
+ label: Diffuse
+ usage: 0
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: baseColor
+ identifier: basecolor
+ usageName: baseColor
+ channelStr: baseColor
+ label: Base Color
+ usage: 1
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: normal
+ identifier: normal
+ usageName: normal
+ channelStr: normal
+ label: Normal
+ usage: 7
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: specular
+ identifier: specular
+ usageName: specular
+ channelStr: specular
+ label: Specular
+ usage: 11
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: glossiness
+ identifier: glossiness
+ usageName: glossiness
+ channelStr: glossiness
+ label: Glossiness
+ usage: 14
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: roughness
+ identifier: roughness
+ usageName: roughness
+ channelStr: roughness
+ label: Roughness
+ usage: 15
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: metallic
+ identifier: metallic
+ usageName: metallic
+ channelStr: metallic
+ label: Metallic
+ usage: 34
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: ambientOcclusion
+ identifier: ambient_occlusion
+ usageName: ambientOcclusion
+ channelStr: ambientOcclusion
+ label: Ambient Occlusion
+ usage: 5
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: height
+ identifier: height
+ usageName: height
+ channelStr: height
+ label: Height
+ usage: 9
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ texturePackingList:
+ - targetName: diffuse
+ components:
+ - sourceName: diffuse
+ from: 0
+ to: 3
+ - targetName: baseColor
+ components:
+ - sourceName: baseColor
+ from: 0
+ to: 3
+ - targetName: normal
+ components:
+ - sourceName: normal
+ from: 0
+ to: 3
+ - targetName: specular
+ components:
+ - sourceName: specular
+ from: 0
+ to: 3
+ - targetName: glossiness
+ components:
+ - sourceName: glossiness
+ from: 0
+ to: 3
+ - targetName: roughness
+ components:
+ - sourceName: roughness
+ from: 0
+ to: 3
+ - targetName: metallic
+ components:
+ - sourceName: smoothness
+ from: 0
+ to: 3
+ - targetName: ambientOcclusion
+ components:
+ - sourceName: ambientOcclusion
+ from: 0
+ to: 3
+ - targetName: height
+ components:
+ - sourceName: height
+ from: 0
+ to: 3
+ textureParameters:
+ - textureName: Car paint_glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint_diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint_baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint_normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint_specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint_roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint_metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint_ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint_height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint - diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint - baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint - normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint - specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint - glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint - roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint - metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint - ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint - height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ colorSpaceList: []
+ inputTextureMap: []
+ targetSettingList:
+ - label: Default
+ bOverride: 0
+ bLockRatio: 1
+ textureWidth: 2048
+ textureHeight: 2048
+ textureFormatMode: 0
+ normalCompressed: 0
+ bGenerateOnLoad: 1
+ material: {fileID: 3720744386649352057, guid: a1d39ea984432bf44b4a0686afe2bf1a,
+ type: 3}
+ generatedTextures:
+ - {fileID: 5917659159057834157, guid: a1d39ea984432bf44b4a0686afe2bf1a, type: 3}
+ - {fileID: 3068890721646206586, guid: a1d39ea984432bf44b4a0686afe2bf1a, type: 3}
+ - {fileID: -3552914696322007609, guid: a1d39ea984432bf44b4a0686afe2bf1a, type: 3}
+ - {fileID: -1242281561028671816, guid: a1d39ea984432bf44b4a0686afe2bf1a, type: 3}
+ - {fileID: -1652887728991447519, guid: a1d39ea984432bf44b4a0686afe2bf1a, type: 3}
diff --git a/Assets/Materials/Substance/Metal/metal_car_paint red.sbsar b/Assets/Materials/Substance/Metal/metal_car_paint red.sbsar
new file mode 100644
index 000000000..963310406
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_car_paint red.sbsar
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:dbee14b278a03ed59e1df8ecd6ba2b07ab7c2b2089e5e2bc3fad5673694a9f03
+size 14971
diff --git a/Assets/Materials/Substance/Metal/metal_car_paint red.sbsar.meta b/Assets/Materials/Substance/Metal/metal_car_paint red.sbsar.meta
new file mode 100644
index 000000000..ded098ca6
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_car_paint red.sbsar.meta
@@ -0,0 +1,381 @@
+fileFormatVersion: 2
+guid: 504c7bfe0d50ff64a88b8eac2ceb46f8
+ScriptedImporter:
+ internalIDToNameTable:
+ - first:
+ 1: 100000
+ second: metal_car_paint/metal_car_paint
+ - first:
+ 4: 400000
+ second: metal_car_paint/metal_car_paint/Transform
+ - first:
+ 21: 2100000
+ second: mat.Car paint
+ - first:
+ 23: 2300000
+ second: metal_car_paint/metal_car_paint/MeshRenderer
+ - first:
+ 28: 2800000
+ second: Car paint_baseColor
+ - first:
+ 28: 2800002
+ second: Car paint_normal
+ - first:
+ 28: 2800004
+ second: Car paint_metallic
+ - first:
+ 28: 2800006
+ second: Car paint_ambientOcclusion
+ - first:
+ 28: 2800008
+ second: Car paint_height
+ - first:
+ 33: 3300000
+ second: metal_car_paint/metal_car_paint/MeshFilter
+ - first:
+ 114: 11400000
+ second: sbsar
+ - first:
+ 114: 11400002
+ second: graph0
+ - first:
+ 135: 13500000
+ second: metal_car_paint/metal_car_paint/SphereCollider
+ - first:
+ 1001: 100100000
+ second: metal_car_paint
+ externalObjects: {}
+ serializedVersion: 2
+ userData:
+ assetBundleName:
+ assetBundleVariant:
+ script: {fileID: 232528478, guid: 43a8bbf65be290d44ba52b94476242b9, type: 3}
+ version: 29
+ projectContext: 0
+ mGraphInstanceData:
+ - graphLabel: Car paint
+ prototypeName: Car paint
+ graphDescIndex: 0
+ generateAllOutputs: 0
+ generateMipMaps: 1
+ preset: " \n \n
+ \n \n \n \n \n \n \n \n \n \n \n"
+ shaderName: Standard
+ materialProperties:
+ shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
+ shaderKeywords:
+ lightmapFlags: 4
+ enableInstancingVariants: 0
+ doubleSidedGI: 0
+ customRenderQueue: -1
+ texEnvs:
+ - name: _BumpMap
+ texture: {fileID: 3068890721646206586, guid: 504c7bfe0d50ff64a88b8eac2ceb46f8,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailAlbedoMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailMask
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailNormalMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _EmissionMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MainTex
+ texture: {fileID: 5917659159057834157, guid: 504c7bfe0d50ff64a88b8eac2ceb46f8,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MetallicGlossMap
+ texture: {fileID: -3552914696322007609, guid: 504c7bfe0d50ff64a88b8eac2ceb46f8,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _OcclusionMap
+ texture: {fileID: -1242281561028671816, guid: 504c7bfe0d50ff64a88b8eac2ceb46f8,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _ParallaxMap
+ texture: {fileID: -1652887728991447519, guid: 504c7bfe0d50ff64a88b8eac2ceb46f8,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ floats:
+ - name: _BumpScale
+ float: 1
+ - name: _Cutoff
+ float: 0.5
+ - name: _DetailNormalMapScale
+ float: 1
+ - name: _DstBlend
+ float: 0
+ - name: _GlossMapScale
+ float: 1
+ - name: _Glossiness
+ float: 0.5
+ - name: _GlossyReflections
+ float: 1
+ - name: _Metallic
+ float: 0
+ - name: _Mode
+ float: 0
+ - name: _OcclusionStrength
+ float: 1
+ - name: _Parallax
+ float: 0.005
+ - name: _SmoothnessTextureChannel
+ float: 0
+ - name: _SpecularHighlights
+ float: 1
+ - name: _SrcBlend
+ float: 1
+ - name: _UVSec
+ float: 0
+ - name: _ZWrite
+ float: 1
+ colors:
+ - name: _Color
+ color: {r: 1, g: 1, b: 1, a: 1}
+ - name: _EmissionColor
+ color: {r: 0, g: 0, b: 0, a: 1}
+ outputDescList:
+ - outputName: diffuse
+ identifier: diffuse
+ usageName: diffuse
+ channelStr: diffuse
+ label: Diffuse
+ usage: 0
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: baseColor
+ identifier: basecolor
+ usageName: baseColor
+ channelStr: baseColor
+ label: Base Color
+ usage: 1
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: normal
+ identifier: normal
+ usageName: normal
+ channelStr: normal
+ label: Normal
+ usage: 7
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: specular
+ identifier: specular
+ usageName: specular
+ channelStr: specular
+ label: Specular
+ usage: 11
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: glossiness
+ identifier: glossiness
+ usageName: glossiness
+ channelStr: glossiness
+ label: Glossiness
+ usage: 14
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: roughness
+ identifier: roughness
+ usageName: roughness
+ channelStr: roughness
+ label: Roughness
+ usage: 15
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: metallic
+ identifier: metallic
+ usageName: metallic
+ channelStr: metallic
+ label: Metallic
+ usage: 34
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: ambientOcclusion
+ identifier: ambient_occlusion
+ usageName: ambientOcclusion
+ channelStr: ambientOcclusion
+ label: Ambient Occlusion
+ usage: 5
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: height
+ identifier: height
+ usageName: height
+ channelStr: height
+ label: Height
+ usage: 9
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ texturePackingList:
+ - targetName: diffuse
+ components:
+ - sourceName: diffuse
+ from: 0
+ to: 3
+ - targetName: baseColor
+ components:
+ - sourceName: baseColor
+ from: 0
+ to: 3
+ - targetName: normal
+ components:
+ - sourceName: normal
+ from: 0
+ to: 3
+ - targetName: specular
+ components:
+ - sourceName: specular
+ from: 0
+ to: 3
+ - targetName: glossiness
+ components:
+ - sourceName: glossiness
+ from: 0
+ to: 3
+ - targetName: roughness
+ components:
+ - sourceName: roughness
+ from: 0
+ to: 3
+ - targetName: metallic
+ components:
+ - sourceName: smoothness
+ from: 0
+ to: 3
+ - targetName: ambientOcclusion
+ components:
+ - sourceName: ambientOcclusion
+ from: 0
+ to: 3
+ - targetName: height
+ components:
+ - sourceName: height
+ from: 0
+ to: 3
+ textureParameters:
+ - textureName: Car paint_glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint_diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint_baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint_normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint_specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint_roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint_metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint_ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint_height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint - diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint - baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint - normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint - specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint - glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint - roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint - metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint - ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint - height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ colorSpaceList: []
+ inputTextureMap: []
+ targetSettingList:
+ - label: Default
+ bOverride: 0
+ bLockRatio: 1
+ textureWidth: 2048
+ textureHeight: 2048
+ textureFormatMode: 0
+ normalCompressed: 0
+ bGenerateOnLoad: 1
+ material: {fileID: 3720744386649352057, guid: 504c7bfe0d50ff64a88b8eac2ceb46f8,
+ type: 3}
+ generatedTextures:
+ - {fileID: 5917659159057834157, guid: 504c7bfe0d50ff64a88b8eac2ceb46f8, type: 3}
+ - {fileID: 3068890721646206586, guid: 504c7bfe0d50ff64a88b8eac2ceb46f8, type: 3}
+ - {fileID: -3552914696322007609, guid: 504c7bfe0d50ff64a88b8eac2ceb46f8, type: 3}
+ - {fileID: -1242281561028671816, guid: 504c7bfe0d50ff64a88b8eac2ceb46f8, type: 3}
+ - {fileID: -1652887728991447519, guid: 504c7bfe0d50ff64a88b8eac2ceb46f8, type: 3}
diff --git a/Assets/Materials/Substance/Metal/metal_car_paint white.sbsar b/Assets/Materials/Substance/Metal/metal_car_paint white.sbsar
new file mode 100644
index 000000000..963310406
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_car_paint white.sbsar
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:dbee14b278a03ed59e1df8ecd6ba2b07ab7c2b2089e5e2bc3fad5673694a9f03
+size 14971
diff --git a/Assets/Materials/Substance/Metal/metal_car_paint white.sbsar.meta b/Assets/Materials/Substance/Metal/metal_car_paint white.sbsar.meta
new file mode 100644
index 000000000..98f20f5ea
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_car_paint white.sbsar.meta
@@ -0,0 +1,382 @@
+fileFormatVersion: 2
+guid: b2bec4b400153d745b2915f1c43e5c96
+ScriptedImporter:
+ internalIDToNameTable:
+ - first:
+ 1: 100000
+ second: metal_car_paint/metal_car_paint
+ - first:
+ 4: 400000
+ second: metal_car_paint/metal_car_paint/Transform
+ - first:
+ 21: 2100000
+ second: mat.Car paint
+ - first:
+ 23: 2300000
+ second: metal_car_paint/metal_car_paint/MeshRenderer
+ - first:
+ 28: 2800000
+ second: Car paint_baseColor
+ - first:
+ 28: 2800002
+ second: Car paint_normal
+ - first:
+ 28: 2800004
+ second: Car paint_metallic
+ - first:
+ 28: 2800006
+ second: Car paint_ambientOcclusion
+ - first:
+ 28: 2800008
+ second: Car paint_height
+ - first:
+ 33: 3300000
+ second: metal_car_paint/metal_car_paint/MeshFilter
+ - first:
+ 114: 11400000
+ second: sbsar
+ - first:
+ 114: 11400002
+ second: graph0
+ - first:
+ 135: 13500000
+ second: metal_car_paint/metal_car_paint/SphereCollider
+ - first:
+ 1001: 100100000
+ second: metal_car_paint
+ externalObjects: {}
+ serializedVersion: 2
+ userData:
+ assetBundleName:
+ assetBundleVariant:
+ script: {fileID: 232528478, guid: 43a8bbf65be290d44ba52b94476242b9, type: 3}
+ version: 29
+ projectContext: 0
+ mGraphInstanceData:
+ - graphLabel: Car paint
+ prototypeName: Car paint
+ graphDescIndex: 0
+ generateAllOutputs: 0
+ generateMipMaps: 1
+ preset: " \n \n
+ \n \n \n \n \n \n \n \n \n
+ \n \n"
+ shaderName: Standard
+ materialProperties:
+ shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
+ shaderKeywords:
+ lightmapFlags: 4
+ enableInstancingVariants: 0
+ doubleSidedGI: 0
+ customRenderQueue: -1
+ texEnvs:
+ - name: _BumpMap
+ texture: {fileID: 3068890721646206586, guid: b2bec4b400153d745b2915f1c43e5c96,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailAlbedoMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailMask
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailNormalMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _EmissionMap
+ texture: {instanceID: 0}
+ scale: {x: 0.5, y: 0.5}
+ offset: {x: 0, y: 0}
+ - name: _MainTex
+ texture: {fileID: 5917659159057834157, guid: b2bec4b400153d745b2915f1c43e5c96,
+ type: 3}
+ scale: {x: 0.5, y: 0.5}
+ offset: {x: 0, y: 0}
+ - name: _MetallicGlossMap
+ texture: {fileID: -3552914696322007609, guid: b2bec4b400153d745b2915f1c43e5c96,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _OcclusionMap
+ texture: {fileID: -1242281561028671816, guid: b2bec4b400153d745b2915f1c43e5c96,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _ParallaxMap
+ texture: {fileID: -1652887728991447519, guid: b2bec4b400153d745b2915f1c43e5c96,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ floats:
+ - name: _BumpScale
+ float: 1
+ - name: _Cutoff
+ float: 0.5
+ - name: _DetailNormalMapScale
+ float: 1
+ - name: _DstBlend
+ float: 0
+ - name: _GlossMapScale
+ float: 1
+ - name: _Glossiness
+ float: 1
+ - name: _GlossyReflections
+ float: 1
+ - name: _Metallic
+ float: 1
+ - name: _Mode
+ float: 0
+ - name: _OcclusionStrength
+ float: 1
+ - name: _Parallax
+ float: 0.02
+ - name: _SmoothnessTextureChannel
+ float: 0
+ - name: _SpecularHighlights
+ float: 1
+ - name: _SrcBlend
+ float: 1
+ - name: _UVSec
+ float: 0
+ - name: _ZWrite
+ float: 1
+ colors:
+ - name: _Color
+ color: {r: 1, g: 1, b: 1, a: 1}
+ - name: _EmissionColor
+ color: {r: 0, g: 0, b: 0, a: 1}
+ outputDescList:
+ - outputName: diffuse
+ identifier: diffuse
+ usageName: diffuse
+ channelStr: diffuse
+ label: Diffuse
+ usage: 0
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: baseColor
+ identifier: basecolor
+ usageName: baseColor
+ channelStr: baseColor
+ label: Base Color
+ usage: 1
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: normal
+ identifier: normal
+ usageName: normal
+ channelStr: normal
+ label: Normal
+ usage: 7
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: specular
+ identifier: specular
+ usageName: specular
+ channelStr: specular
+ label: Specular
+ usage: 11
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: glossiness
+ identifier: glossiness
+ usageName: glossiness
+ channelStr: glossiness
+ label: Glossiness
+ usage: 14
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: roughness
+ identifier: roughness
+ usageName: roughness
+ channelStr: roughness
+ label: Roughness
+ usage: 15
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: metallic
+ identifier: metallic
+ usageName: metallic
+ channelStr: metallic
+ label: Metallic
+ usage: 34
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: ambientOcclusion
+ identifier: ambient_occlusion
+ usageName: ambientOcclusion
+ channelStr: ambientOcclusion
+ label: Ambient Occlusion
+ usage: 5
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: height
+ identifier: height
+ usageName: height
+ channelStr: height
+ label: Height
+ usage: 9
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ texturePackingList:
+ - targetName: diffuse
+ components:
+ - sourceName: diffuse
+ from: 0
+ to: 3
+ - targetName: baseColor
+ components:
+ - sourceName: baseColor
+ from: 0
+ to: 3
+ - targetName: normal
+ components:
+ - sourceName: normal
+ from: 0
+ to: 3
+ - targetName: specular
+ components:
+ - sourceName: specular
+ from: 0
+ to: 3
+ - targetName: glossiness
+ components:
+ - sourceName: glossiness
+ from: 0
+ to: 3
+ - targetName: roughness
+ components:
+ - sourceName: roughness
+ from: 0
+ to: 3
+ - targetName: metallic
+ components:
+ - sourceName: smoothness
+ from: 0
+ to: 3
+ - targetName: ambientOcclusion
+ components:
+ - sourceName: ambientOcclusion
+ from: 0
+ to: 3
+ - targetName: height
+ components:
+ - sourceName: height
+ from: 0
+ to: 3
+ textureParameters:
+ - textureName: Car paint_glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint_diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint_baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint_normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint_specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint_roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint_metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint_ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint_height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint - diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint - baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint - normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint - specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint - glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint - roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint - metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint - ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Car paint - height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ colorSpaceList: []
+ inputTextureMap: []
+ targetSettingList:
+ - label: Default
+ bOverride: 0
+ bLockRatio: 1
+ textureWidth: 2048
+ textureHeight: 2048
+ textureFormatMode: 0
+ normalCompressed: 0
+ bGenerateOnLoad: 1
+ material: {fileID: 3720744386649352057, guid: b2bec4b400153d745b2915f1c43e5c96,
+ type: 3}
+ generatedTextures:
+ - {fileID: 5917659159057834157, guid: b2bec4b400153d745b2915f1c43e5c96, type: 3}
+ - {fileID: 3068890721646206586, guid: b2bec4b400153d745b2915f1c43e5c96, type: 3}
+ - {fileID: -3552914696322007609, guid: b2bec4b400153d745b2915f1c43e5c96, type: 3}
+ - {fileID: -1242281561028671816, guid: b2bec4b400153d745b2915f1c43e5c96, type: 3}
+ - {fileID: -1652887728991447519, guid: b2bec4b400153d745b2915f1c43e5c96, type: 3}
diff --git a/Assets/Materials/Substance/Metal/metal_copper.sbsar b/Assets/Materials/Substance/Metal/metal_copper.sbsar
new file mode 100644
index 000000000..b9eaa9f10
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_copper.sbsar
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7e0b38479a336f09f0f273488c666a1eb025ddd9a65366da00c80179ca0a64ee
+size 7413
diff --git a/Assets/Materials/Substance/Metal/metal_copper.sbsar.meta b/Assets/Materials/Substance/Metal/metal_copper.sbsar.meta
new file mode 100644
index 000000000..d1afb9abd
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_copper.sbsar.meta
@@ -0,0 +1,369 @@
+fileFormatVersion: 2
+guid: 8249e9ffcbd97c84d8ce73343e156c82
+ScriptedImporter:
+ internalIDToNameTable:
+ - first:
+ 1: 100000
+ second: metal_copper/metal_copper
+ - first:
+ 4: 400000
+ second: metal_copper/metal_copper/Transform
+ - first:
+ 21: 2100000
+ second: mat.Copper
+ - first:
+ 23: 2300000
+ second: metal_copper/metal_copper/MeshRenderer
+ - first:
+ 28: 2800000
+ second: Copper_baseColor
+ - first:
+ 28: 2800002
+ second: Copper_normal
+ - first:
+ 28: 2800004
+ second: Copper_metallic
+ - first:
+ 28: 2800006
+ second: Copper_ambientOcclusion
+ - first:
+ 28: 2800008
+ second: Copper_height
+ - first:
+ 33: 3300000
+ second: metal_copper/metal_copper/MeshFilter
+ - first:
+ 114: 11400000
+ second: sbsar
+ - first:
+ 114: 11400002
+ second: graph0
+ - first:
+ 135: 13500000
+ second: metal_copper/metal_copper/SphereCollider
+ - first:
+ 1001: 100100000
+ second: metal_copper
+ externalObjects: {}
+ serializedVersion: 2
+ userData:
+ assetBundleName:
+ assetBundleVariant:
+ script: {fileID: 232528478, guid: 43a8bbf65be290d44ba52b94476242b9, type: 3}
+ version: 29
+ projectContext: 0
+ mGraphInstanceData:
+ - graphLabel: Copper
+ prototypeName: Copper
+ graphDescIndex: 0
+ generateAllOutputs: 0
+ generateMipMaps: 1
+ preset: " \n \n"
+ shaderName: Standard
+ materialProperties:
+ shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
+ shaderKeywords:
+ lightmapFlags: 4
+ enableInstancingVariants: 0
+ doubleSidedGI: 0
+ customRenderQueue: -1
+ texEnvs:
+ - name: _BumpMap
+ texture: {fileID: -3792452219542522299, guid: 8249e9ffcbd97c84d8ce73343e156c82,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailAlbedoMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailMask
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailNormalMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _EmissionMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MainTex
+ texture: {fileID: -595311359069952391, guid: 8249e9ffcbd97c84d8ce73343e156c82,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MetallicGlossMap
+ texture: {fileID: -1397886531756242709, guid: 8249e9ffcbd97c84d8ce73343e156c82,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _OcclusionMap
+ texture: {fileID: 2236529815293478155, guid: 8249e9ffcbd97c84d8ce73343e156c82,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _ParallaxMap
+ texture: {fileID: -1739956823984805281, guid: 8249e9ffcbd97c84d8ce73343e156c82,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ floats:
+ - name: _BumpScale
+ float: 1
+ - name: _Cutoff
+ float: 0.5
+ - name: _DetailNormalMapScale
+ float: 1
+ - name: _DstBlend
+ float: 0
+ - name: _GlossMapScale
+ float: 1
+ - name: _Glossiness
+ float: 0.5
+ - name: _GlossyReflections
+ float: 1
+ - name: _Metallic
+ float: 0
+ - name: _Mode
+ float: 0
+ - name: _OcclusionStrength
+ float: 1
+ - name: _Parallax
+ float: 0.02
+ - name: _SmoothnessTextureChannel
+ float: 0
+ - name: _SpecularHighlights
+ float: 1
+ - name: _SrcBlend
+ float: 1
+ - name: _UVSec
+ float: 0
+ - name: _ZWrite
+ float: 1
+ colors:
+ - name: _Color
+ color: {r: 1, g: 1, b: 1, a: 1}
+ - name: _EmissionColor
+ color: {r: 0, g: 0, b: 0, a: 1}
+ outputDescList:
+ - outputName: diffuse
+ identifier: diffuse
+ usageName: diffuse
+ channelStr: diffuse
+ label: Diffuse
+ usage: 0
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: baseColor
+ identifier: basecolor
+ usageName: baseColor
+ channelStr: baseColor
+ label: Base Color
+ usage: 1
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: normal
+ identifier: normal
+ usageName: normal
+ channelStr: normal
+ label: Normal
+ usage: 7
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: specular
+ identifier: specular
+ usageName: specular
+ channelStr: specular
+ label: Specular
+ usage: 11
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: glossiness
+ identifier: glossiness
+ usageName: glossiness
+ channelStr: glossiness
+ label: Glossiness
+ usage: 14
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: roughness
+ identifier: roughness
+ usageName: roughness
+ channelStr: roughness
+ label: Roughness
+ usage: 15
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: metallic
+ identifier: metallic
+ usageName: metallic
+ channelStr: metallic
+ label: Metallic
+ usage: 34
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: ambientOcclusion
+ identifier: ambient_occlusion
+ usageName: ambientOcclusion
+ channelStr: ambientOcclusion
+ label: Ambient Occlusion
+ usage: 5
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: height
+ identifier: height
+ usageName: height
+ channelStr: height
+ label: Height
+ usage: 9
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ texturePackingList:
+ - targetName: diffuse
+ components:
+ - sourceName: diffuse
+ from: 0
+ to: 3
+ - targetName: baseColor
+ components:
+ - sourceName: baseColor
+ from: 0
+ to: 3
+ - targetName: normal
+ components:
+ - sourceName: normal
+ from: 0
+ to: 3
+ - targetName: specular
+ components:
+ - sourceName: specular
+ from: 0
+ to: 3
+ - targetName: glossiness
+ components:
+ - sourceName: glossiness
+ from: 0
+ to: 3
+ - targetName: roughness
+ components:
+ - sourceName: roughness
+ from: 0
+ to: 3
+ - targetName: metallic
+ components:
+ - sourceName: smoothness
+ from: 0
+ to: 3
+ - targetName: ambientOcclusion
+ components:
+ - sourceName: ambientOcclusion
+ from: 0
+ to: 3
+ - targetName: height
+ components:
+ - sourceName: height
+ from: 0
+ to: 3
+ textureParameters:
+ - textureName: Copper_glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Copper_diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Copper_baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Copper_normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Copper_specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Copper_roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Copper_metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Copper_ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Copper_height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Copper - diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Copper - baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Copper - normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Copper - specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Copper - glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Copper - roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Copper - metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Copper - ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Copper - height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ colorSpaceList: []
+ inputTextureMap: []
+ targetSettingList:
+ - label: Default
+ bOverride: 0
+ bLockRatio: 1
+ textureWidth: 256
+ textureHeight: 256
+ textureFormatMode: 0
+ normalCompressed: 0
+ bGenerateOnLoad: 1
+ material: {fileID: 9219180724257492359, guid: 8249e9ffcbd97c84d8ce73343e156c82,
+ type: 3}
+ generatedTextures:
+ - {fileID: -595311359069952391, guid: 8249e9ffcbd97c84d8ce73343e156c82, type: 3}
+ - {fileID: -3792452219542522299, guid: 8249e9ffcbd97c84d8ce73343e156c82, type: 3}
+ - {fileID: -1397886531756242709, guid: 8249e9ffcbd97c84d8ce73343e156c82, type: 3}
+ - {fileID: 2236529815293478155, guid: 8249e9ffcbd97c84d8ce73343e156c82, type: 3}
+ - {fileID: -1739956823984805281, guid: 8249e9ffcbd97c84d8ce73343e156c82, type: 3}
diff --git a/Assets/Materials/Substance/Metal/metal_corrugated_002.sbsar b/Assets/Materials/Substance/Metal/metal_corrugated_002.sbsar
new file mode 100644
index 000000000..24237719c
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_corrugated_002.sbsar
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:5b798bdf0e774a7d826b7080b18c91ac8000cf6ac617dc395d8cf105aba8d7da
+size 12826
diff --git a/Assets/Materials/Substance/Metal/metal_corrugated_002.sbsar.meta b/Assets/Materials/Substance/Metal/metal_corrugated_002.sbsar.meta
new file mode 100644
index 000000000..3de9c9e1e
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_corrugated_002.sbsar.meta
@@ -0,0 +1,369 @@
+fileFormatVersion: 2
+guid: 9d0963470d3545a4e932ed4ea95b9d62
+ScriptedImporter:
+ internalIDToNameTable:
+ - first:
+ 1: 100000
+ second: metal_corrugated_002/metal_corrugated_002
+ - first:
+ 4: 400000
+ second: metal_corrugated_002/metal_corrugated_002/Transform
+ - first:
+ 21: 2100000
+ second: mat.Metal Corrugated 002
+ - first:
+ 23: 2300000
+ second: metal_corrugated_002/metal_corrugated_002/MeshRenderer
+ - first:
+ 28: 2800000
+ second: Metal Corrugated 002_baseColor
+ - first:
+ 28: 2800002
+ second: Metal Corrugated 002_normal
+ - first:
+ 28: 2800004
+ second: Metal Corrugated 002_metallic
+ - first:
+ 28: 2800006
+ second: Metal Corrugated 002_ambientOcclusion
+ - first:
+ 28: 2800008
+ second: Metal Corrugated 002_height
+ - first:
+ 33: 3300000
+ second: metal_corrugated_002/metal_corrugated_002/MeshFilter
+ - first:
+ 114: 11400000
+ second: sbsar
+ - first:
+ 114: 11400002
+ second: graph0
+ - first:
+ 135: 13500000
+ second: metal_corrugated_002/metal_corrugated_002/SphereCollider
+ - first:
+ 1001: 100100000
+ second: metal_corrugated_002
+ externalObjects: {}
+ serializedVersion: 2
+ userData:
+ assetBundleName:
+ assetBundleVariant:
+ script: {fileID: 232528478, guid: 43a8bbf65be290d44ba52b94476242b9, type: 3}
+ version: 29
+ projectContext: 0
+ mGraphInstanceData:
+ - graphLabel: Metal Corrugated 002
+ prototypeName: Metal Corrugated 002
+ graphDescIndex: 0
+ generateAllOutputs: 0
+ generateMipMaps: 1
+ preset: " \n \n"
+ shaderName: Standard
+ materialProperties:
+ shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
+ shaderKeywords:
+ lightmapFlags: 4
+ enableInstancingVariants: 0
+ doubleSidedGI: 0
+ customRenderQueue: -1
+ texEnvs:
+ - name: _BumpMap
+ texture: {fileID: -3654691528969531916, guid: 9d0963470d3545a4e932ed4ea95b9d62,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailAlbedoMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailMask
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailNormalMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _EmissionMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MainTex
+ texture: {fileID: 4818317370781631303, guid: 9d0963470d3545a4e932ed4ea95b9d62,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MetallicGlossMap
+ texture: {fileID: 5859956115695178477, guid: 9d0963470d3545a4e932ed4ea95b9d62,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _OcclusionMap
+ texture: {fileID: -8111981235355854162, guid: 9d0963470d3545a4e932ed4ea95b9d62,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _ParallaxMap
+ texture: {fileID: -5667621616349238808, guid: 9d0963470d3545a4e932ed4ea95b9d62,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ floats:
+ - name: _BumpScale
+ float: 1
+ - name: _Cutoff
+ float: 0.5
+ - name: _DetailNormalMapScale
+ float: 1
+ - name: _DstBlend
+ float: 0
+ - name: _GlossMapScale
+ float: 1
+ - name: _Glossiness
+ float: 0.5
+ - name: _GlossyReflections
+ float: 1
+ - name: _Metallic
+ float: 0
+ - name: _Mode
+ float: 0
+ - name: _OcclusionStrength
+ float: 1
+ - name: _Parallax
+ float: 0.02
+ - name: _SmoothnessTextureChannel
+ float: 0
+ - name: _SpecularHighlights
+ float: 1
+ - name: _SrcBlend
+ float: 1
+ - name: _UVSec
+ float: 0
+ - name: _ZWrite
+ float: 1
+ colors:
+ - name: _Color
+ color: {r: 1, g: 1, b: 1, a: 1}
+ - name: _EmissionColor
+ color: {r: 0, g: 0, b: 0, a: 1}
+ outputDescList:
+ - outputName: diffuse
+ identifier: diffuse
+ usageName: diffuse
+ channelStr: diffuse
+ label: Diffuse
+ usage: 0
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: baseColor
+ identifier: basecolor
+ usageName: baseColor
+ channelStr: baseColor
+ label: Base Color
+ usage: 1
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: normal
+ identifier: normal
+ usageName: normal
+ channelStr: normal
+ label: Normal
+ usage: 7
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: specular
+ identifier: specular
+ usageName: specular
+ channelStr: specular
+ label: Specular
+ usage: 11
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: glossiness
+ identifier: glossiness
+ usageName: glossiness
+ channelStr: glossiness
+ label: Glossiness
+ usage: 14
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: roughness
+ identifier: roughness
+ usageName: roughness
+ channelStr: roughness
+ label: Roughness
+ usage: 15
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: metallic
+ identifier: metallic
+ usageName: metallic
+ channelStr: metallic
+ label: Metallic
+ usage: 34
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: ambientOcclusion
+ identifier: ambient_occlusion
+ usageName: ambientOcclusion
+ channelStr: ambientOcclusion
+ label: Ambient Occlusion
+ usage: 5
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: height
+ identifier: height
+ usageName: height
+ channelStr: height
+ label: Height
+ usage: 9
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ texturePackingList:
+ - targetName: diffuse
+ components:
+ - sourceName: diffuse
+ from: 0
+ to: 3
+ - targetName: baseColor
+ components:
+ - sourceName: baseColor
+ from: 0
+ to: 3
+ - targetName: normal
+ components:
+ - sourceName: normal
+ from: 0
+ to: 3
+ - targetName: specular
+ components:
+ - sourceName: specular
+ from: 0
+ to: 3
+ - targetName: glossiness
+ components:
+ - sourceName: glossiness
+ from: 0
+ to: 3
+ - targetName: roughness
+ components:
+ - sourceName: roughness
+ from: 0
+ to: 3
+ - targetName: metallic
+ components:
+ - sourceName: smoothness
+ from: 0
+ to: 3
+ - targetName: ambientOcclusion
+ components:
+ - sourceName: ambientOcclusion
+ from: 0
+ to: 3
+ - targetName: height
+ components:
+ - sourceName: height
+ from: 0
+ to: 3
+ textureParameters:
+ - textureName: Metal Corrugated 002_glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Corrugated 002_diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Corrugated 002_baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Corrugated 002_normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Corrugated 002_specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Corrugated 002_roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Corrugated 002_metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Corrugated 002_ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Corrugated 002_height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Corrugated 002 - diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Corrugated 002 - baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Corrugated 002 - normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Corrugated 002 - specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Corrugated 002 - glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Corrugated 002 - roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Corrugated 002 - metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Corrugated 002 - ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Corrugated 002 - height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ colorSpaceList: []
+ inputTextureMap: []
+ targetSettingList:
+ - label: Default
+ bOverride: 0
+ bLockRatio: 1
+ textureWidth: 256
+ textureHeight: 256
+ textureFormatMode: 0
+ normalCompressed: 0
+ bGenerateOnLoad: 1
+ material: {fileID: -1355354389579744761, guid: 9d0963470d3545a4e932ed4ea95b9d62,
+ type: 3}
+ generatedTextures:
+ - {fileID: 4818317370781631303, guid: 9d0963470d3545a4e932ed4ea95b9d62, type: 3}
+ - {fileID: -3654691528969531916, guid: 9d0963470d3545a4e932ed4ea95b9d62, type: 3}
+ - {fileID: 5859956115695178477, guid: 9d0963470d3545a4e932ed4ea95b9d62, type: 3}
+ - {fileID: -8111981235355854162, guid: 9d0963470d3545a4e932ed4ea95b9d62, type: 3}
+ - {fileID: -5667621616349238808, guid: 9d0963470d3545a4e932ed4ea95b9d62, type: 3}
diff --git a/Assets/Materials/Substance/Metal/metal_floor_002.sbsar b/Assets/Materials/Substance/Metal/metal_floor_002.sbsar
new file mode 100644
index 000000000..af4adc50c
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_floor_002.sbsar
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:5815e5257550f8315dd80831c4cab398a3ae7b234b25e716ecca18c9facbd9be
+size 11140
diff --git a/Assets/Materials/Substance/Metal/metal_floor_002.sbsar.meta b/Assets/Materials/Substance/Metal/metal_floor_002.sbsar.meta
new file mode 100644
index 000000000..c100570af
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_floor_002.sbsar.meta
@@ -0,0 +1,369 @@
+fileFormatVersion: 2
+guid: ddc6970cc883b9845bdadc91983130c2
+ScriptedImporter:
+ internalIDToNameTable:
+ - first:
+ 1: 100000
+ second: metal_floor_002/metal_floor_002
+ - first:
+ 4: 400000
+ second: metal_floor_002/metal_floor_002/Transform
+ - first:
+ 21: 2100000
+ second: mat.Metal Floor 002
+ - first:
+ 23: 2300000
+ second: metal_floor_002/metal_floor_002/MeshRenderer
+ - first:
+ 28: 2800000
+ second: Metal Floor 002_baseColor
+ - first:
+ 28: 2800002
+ second: Metal Floor 002_normal
+ - first:
+ 28: 2800004
+ second: Metal Floor 002_metallic
+ - first:
+ 28: 2800006
+ second: Metal Floor 002_ambientOcclusion
+ - first:
+ 28: 2800008
+ second: Metal Floor 002_height
+ - first:
+ 33: 3300000
+ second: metal_floor_002/metal_floor_002/MeshFilter
+ - first:
+ 114: 11400000
+ second: sbsar
+ - first:
+ 114: 11400002
+ second: graph0
+ - first:
+ 135: 13500000
+ second: metal_floor_002/metal_floor_002/SphereCollider
+ - first:
+ 1001: 100100000
+ second: metal_floor_002
+ externalObjects: {}
+ serializedVersion: 2
+ userData:
+ assetBundleName:
+ assetBundleVariant:
+ script: {fileID: 232528478, guid: 43a8bbf65be290d44ba52b94476242b9, type: 3}
+ version: 29
+ projectContext: 0
+ mGraphInstanceData:
+ - graphLabel: Metal Floor 002
+ prototypeName: Metal Floor 002
+ graphDescIndex: 0
+ generateAllOutputs: 0
+ generateMipMaps: 1
+ preset: " \n \n"
+ shaderName: Standard
+ materialProperties:
+ shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
+ shaderKeywords:
+ lightmapFlags: 4
+ enableInstancingVariants: 0
+ doubleSidedGI: 0
+ customRenderQueue: -1
+ texEnvs:
+ - name: _BumpMap
+ texture: {fileID: 351554284034007472, guid: ddc6970cc883b9845bdadc91983130c2,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailAlbedoMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailMask
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailNormalMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _EmissionMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MainTex
+ texture: {fileID: -7508666898770042810, guid: ddc6970cc883b9845bdadc91983130c2,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MetallicGlossMap
+ texture: {fileID: -4403901252400104909, guid: ddc6970cc883b9845bdadc91983130c2,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _OcclusionMap
+ texture: {fileID: -4356325417559842052, guid: ddc6970cc883b9845bdadc91983130c2,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _ParallaxMap
+ texture: {fileID: -3247329771169464856, guid: ddc6970cc883b9845bdadc91983130c2,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ floats:
+ - name: _BumpScale
+ float: 1
+ - name: _Cutoff
+ float: 0.5
+ - name: _DetailNormalMapScale
+ float: 1
+ - name: _DstBlend
+ float: 0
+ - name: _GlossMapScale
+ float: 1
+ - name: _Glossiness
+ float: 0.5
+ - name: _GlossyReflections
+ float: 1
+ - name: _Metallic
+ float: 0
+ - name: _Mode
+ float: 0
+ - name: _OcclusionStrength
+ float: 1
+ - name: _Parallax
+ float: 0.02
+ - name: _SmoothnessTextureChannel
+ float: 0
+ - name: _SpecularHighlights
+ float: 1
+ - name: _SrcBlend
+ float: 1
+ - name: _UVSec
+ float: 0
+ - name: _ZWrite
+ float: 1
+ colors:
+ - name: _Color
+ color: {r: 1, g: 1, b: 1, a: 1}
+ - name: _EmissionColor
+ color: {r: 0, g: 0, b: 0, a: 1}
+ outputDescList:
+ - outputName: diffuse
+ identifier: diffuse
+ usageName: diffuse
+ channelStr: diffuse
+ label: Diffuse
+ usage: 0
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: baseColor
+ identifier: basecolor
+ usageName: baseColor
+ channelStr: baseColor
+ label: Base Color
+ usage: 1
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: normal
+ identifier: normal
+ usageName: normal
+ channelStr: normal
+ label: Normal
+ usage: 7
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: specular
+ identifier: specular
+ usageName: specular
+ channelStr: specular
+ label: Specular
+ usage: 11
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: glossiness
+ identifier: glossiness
+ usageName: glossiness
+ channelStr: glossiness
+ label: Glossiness
+ usage: 14
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: roughness
+ identifier: roughness
+ usageName: roughness
+ channelStr: roughness
+ label: Roughness
+ usage: 15
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: metallic
+ identifier: metallic
+ usageName: metallic
+ channelStr: metallic
+ label: Metallic
+ usage: 34
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: ambientOcclusion
+ identifier: ambient_occlusion
+ usageName: ambientOcclusion
+ channelStr: ambientOcclusion
+ label: Ambient Occlusion
+ usage: 5
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: height
+ identifier: height
+ usageName: height
+ channelStr: height
+ label: Height
+ usage: 9
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ texturePackingList:
+ - targetName: diffuse
+ components:
+ - sourceName: diffuse
+ from: 0
+ to: 3
+ - targetName: baseColor
+ components:
+ - sourceName: baseColor
+ from: 0
+ to: 3
+ - targetName: normal
+ components:
+ - sourceName: normal
+ from: 0
+ to: 3
+ - targetName: specular
+ components:
+ - sourceName: specular
+ from: 0
+ to: 3
+ - targetName: glossiness
+ components:
+ - sourceName: glossiness
+ from: 0
+ to: 3
+ - targetName: roughness
+ components:
+ - sourceName: roughness
+ from: 0
+ to: 3
+ - targetName: metallic
+ components:
+ - sourceName: smoothness
+ from: 0
+ to: 3
+ - targetName: ambientOcclusion
+ components:
+ - sourceName: ambientOcclusion
+ from: 0
+ to: 3
+ - targetName: height
+ components:
+ - sourceName: height
+ from: 0
+ to: 3
+ textureParameters:
+ - textureName: Metal Floor 002_glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Floor 002_diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Floor 002_baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Floor 002_normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Floor 002_specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Floor 002_roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Floor 002_metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Floor 002_ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Floor 002_height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Floor 002 - diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Floor 002 - baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Floor 002 - normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Floor 002 - specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Floor 002 - glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Floor 002 - roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Floor 002 - metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Floor 002 - ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Floor 002 - height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ colorSpaceList: []
+ inputTextureMap: []
+ targetSettingList:
+ - label: Default
+ bOverride: 0
+ bLockRatio: 1
+ textureWidth: 256
+ textureHeight: 256
+ textureFormatMode: 0
+ normalCompressed: 0
+ bGenerateOnLoad: 1
+ material: {fileID: 3616699503892477274, guid: ddc6970cc883b9845bdadc91983130c2,
+ type: 3}
+ generatedTextures:
+ - {fileID: -7508666898770042810, guid: ddc6970cc883b9845bdadc91983130c2, type: 3}
+ - {fileID: 351554284034007472, guid: ddc6970cc883b9845bdadc91983130c2, type: 3}
+ - {fileID: -4403901252400104909, guid: ddc6970cc883b9845bdadc91983130c2, type: 3}
+ - {fileID: -4356325417559842052, guid: ddc6970cc883b9845bdadc91983130c2, type: 3}
+ - {fileID: -3247329771169464856, guid: ddc6970cc883b9845bdadc91983130c2, type: 3}
diff --git a/Assets/Materials/Substance/Metal/metal_floor_004.sbsar b/Assets/Materials/Substance/Metal/metal_floor_004.sbsar
new file mode 100644
index 000000000..f7136c15b
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_floor_004.sbsar
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:3d30688944fced2d854f8375ebecd8ad7a6a8021cee07e89710b44ad8272addd
+size 8634
diff --git a/Assets/Materials/Substance/Metal/metal_floor_004.sbsar.meta b/Assets/Materials/Substance/Metal/metal_floor_004.sbsar.meta
new file mode 100644
index 000000000..031cbe6c4
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_floor_004.sbsar.meta
@@ -0,0 +1,369 @@
+fileFormatVersion: 2
+guid: 50192727b92e0af4cbe5c773bec3537f
+ScriptedImporter:
+ internalIDToNameTable:
+ - first:
+ 1: 100000
+ second: metal_floor_004/metal_floor_004
+ - first:
+ 4: 400000
+ second: metal_floor_004/metal_floor_004/Transform
+ - first:
+ 21: 2100000
+ second: mat.Metal Floor 004
+ - first:
+ 23: 2300000
+ second: metal_floor_004/metal_floor_004/MeshRenderer
+ - first:
+ 28: 2800000
+ second: Metal Floor 004_baseColor
+ - first:
+ 28: 2800002
+ second: Metal Floor 004_normal
+ - first:
+ 28: 2800004
+ second: Metal Floor 004_metallic
+ - first:
+ 28: 2800006
+ second: Metal Floor 004_ambientOcclusion
+ - first:
+ 28: 2800008
+ second: Metal Floor 004_height
+ - first:
+ 33: 3300000
+ second: metal_floor_004/metal_floor_004/MeshFilter
+ - first:
+ 114: 11400000
+ second: sbsar
+ - first:
+ 114: 11400002
+ second: graph0
+ - first:
+ 135: 13500000
+ second: metal_floor_004/metal_floor_004/SphereCollider
+ - first:
+ 1001: 100100000
+ second: metal_floor_004
+ externalObjects: {}
+ serializedVersion: 2
+ userData:
+ assetBundleName:
+ assetBundleVariant:
+ script: {fileID: 232528478, guid: 43a8bbf65be290d44ba52b94476242b9, type: 3}
+ version: 29
+ projectContext: 0
+ mGraphInstanceData:
+ - graphLabel: Metal Floor 004
+ prototypeName: Metal Floor 004
+ graphDescIndex: 0
+ generateAllOutputs: 0
+ generateMipMaps: 1
+ preset: " \n \n"
+ shaderName: Standard
+ materialProperties:
+ shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
+ shaderKeywords:
+ lightmapFlags: 4
+ enableInstancingVariants: 0
+ doubleSidedGI: 0
+ customRenderQueue: -1
+ texEnvs:
+ - name: _BumpMap
+ texture: {fileID: 5886398526092406922, guid: 50192727b92e0af4cbe5c773bec3537f,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailAlbedoMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailMask
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailNormalMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _EmissionMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MainTex
+ texture: {fileID: 1550179426837470591, guid: 50192727b92e0af4cbe5c773bec3537f,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MetallicGlossMap
+ texture: {fileID: 4385304290797446058, guid: 50192727b92e0af4cbe5c773bec3537f,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _OcclusionMap
+ texture: {fileID: -3130265262045919237, guid: 50192727b92e0af4cbe5c773bec3537f,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _ParallaxMap
+ texture: {fileID: 4866469902769357514, guid: 50192727b92e0af4cbe5c773bec3537f,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ floats:
+ - name: _BumpScale
+ float: 1
+ - name: _Cutoff
+ float: 0.5
+ - name: _DetailNormalMapScale
+ float: 1
+ - name: _DstBlend
+ float: 0
+ - name: _GlossMapScale
+ float: 1
+ - name: _Glossiness
+ float: 0.5
+ - name: _GlossyReflections
+ float: 1
+ - name: _Metallic
+ float: 0
+ - name: _Mode
+ float: 0
+ - name: _OcclusionStrength
+ float: 1
+ - name: _Parallax
+ float: 0.02
+ - name: _SmoothnessTextureChannel
+ float: 0
+ - name: _SpecularHighlights
+ float: 1
+ - name: _SrcBlend
+ float: 1
+ - name: _UVSec
+ float: 0
+ - name: _ZWrite
+ float: 1
+ colors:
+ - name: _Color
+ color: {r: 1, g: 1, b: 1, a: 1}
+ - name: _EmissionColor
+ color: {r: 0, g: 0, b: 0, a: 1}
+ outputDescList:
+ - outputName: diffuse
+ identifier: diffuse
+ usageName: diffuse
+ channelStr: diffuse
+ label: Diffuse
+ usage: 0
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: baseColor
+ identifier: basecolor
+ usageName: baseColor
+ channelStr: baseColor
+ label: Base Color
+ usage: 1
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: normal
+ identifier: normal
+ usageName: normal
+ channelStr: normal
+ label: Normal
+ usage: 7
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: roughness
+ identifier: roughness
+ usageName: roughness
+ channelStr: roughness
+ label: Roughness
+ usage: 15
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: specular
+ identifier: specular
+ usageName: specular
+ channelStr: specular
+ label: Specular
+ usage: 11
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: glossiness
+ identifier: glossiness
+ usageName: glossiness
+ channelStr: glossiness
+ label: Glossiness
+ usage: 14
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: metallic
+ identifier: metallic
+ usageName: metallic
+ channelStr: metallic
+ label: Metallic
+ usage: 34
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: ambientOcclusion
+ identifier: ambient_occlusion
+ usageName: ambientOcclusion
+ channelStr: ambientOcclusion
+ label: Ambient Occlusion
+ usage: 5
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: height
+ identifier: height
+ usageName: height
+ channelStr: height
+ label: Height
+ usage: 9
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ texturePackingList:
+ - targetName: diffuse
+ components:
+ - sourceName: diffuse
+ from: 0
+ to: 3
+ - targetName: baseColor
+ components:
+ - sourceName: baseColor
+ from: 0
+ to: 3
+ - targetName: normal
+ components:
+ - sourceName: normal
+ from: 0
+ to: 3
+ - targetName: roughness
+ components:
+ - sourceName: roughness
+ from: 0
+ to: 3
+ - targetName: specular
+ components:
+ - sourceName: specular
+ from: 0
+ to: 3
+ - targetName: glossiness
+ components:
+ - sourceName: glossiness
+ from: 0
+ to: 3
+ - targetName: metallic
+ components:
+ - sourceName: smoothness
+ from: 0
+ to: 3
+ - targetName: ambientOcclusion
+ components:
+ - sourceName: ambientOcclusion
+ from: 0
+ to: 3
+ - targetName: height
+ components:
+ - sourceName: height
+ from: 0
+ to: 3
+ textureParameters:
+ - textureName: Metal Floor 004_glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Floor 004_diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Floor 004_baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Floor 004_normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Floor 004_roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Floor 004_specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Floor 004_metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Floor 004_ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Floor 004_height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Floor 004 - diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Floor 004 - baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Floor 004 - normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Floor 004 - roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Floor 004 - specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Floor 004 - glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Floor 004 - metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Floor 004 - ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Floor 004 - height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ colorSpaceList: []
+ inputTextureMap: []
+ targetSettingList:
+ - label: Default
+ bOverride: 0
+ bLockRatio: 1
+ textureWidth: 256
+ textureHeight: 256
+ textureFormatMode: 0
+ normalCompressed: 0
+ bGenerateOnLoad: 1
+ material: {fileID: -1891697860355797410, guid: 50192727b92e0af4cbe5c773bec3537f,
+ type: 3}
+ generatedTextures:
+ - {fileID: 1550179426837470591, guid: 50192727b92e0af4cbe5c773bec3537f, type: 3}
+ - {fileID: 5886398526092406922, guid: 50192727b92e0af4cbe5c773bec3537f, type: 3}
+ - {fileID: 4385304290797446058, guid: 50192727b92e0af4cbe5c773bec3537f, type: 3}
+ - {fileID: -3130265262045919237, guid: 50192727b92e0af4cbe5c773bec3537f, type: 3}
+ - {fileID: 4866469902769357514, guid: 50192727b92e0af4cbe5c773bec3537f, type: 3}
diff --git a/Assets/Materials/Substance/Metal/metal_floor_006.sbsar b/Assets/Materials/Substance/Metal/metal_floor_006.sbsar
new file mode 100644
index 000000000..81ce60800
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_floor_006.sbsar
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9604a8c7814d09f90d8bc64061cdc39c733d9f96de43143717f9a951b1f08a0e
+size 10884
diff --git a/Assets/Materials/Substance/Metal/metal_floor_006.sbsar.meta b/Assets/Materials/Substance/Metal/metal_floor_006.sbsar.meta
new file mode 100644
index 000000000..91f291c9d
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_floor_006.sbsar.meta
@@ -0,0 +1,369 @@
+fileFormatVersion: 2
+guid: 06833951ebae4cc45ad88d58cb5571de
+ScriptedImporter:
+ internalIDToNameTable:
+ - first:
+ 1: 100000
+ second: metal_floor_006/metal_floor_006
+ - first:
+ 4: 400000
+ second: metal_floor_006/metal_floor_006/Transform
+ - first:
+ 21: 2100000
+ second: mat.Metal Floor 006
+ - first:
+ 23: 2300000
+ second: metal_floor_006/metal_floor_006/MeshRenderer
+ - first:
+ 28: 2800000
+ second: Metal Floor 006_baseColor
+ - first:
+ 28: 2800002
+ second: Metal Floor 006_normal
+ - first:
+ 28: 2800004
+ second: Metal Floor 006_metallic
+ - first:
+ 28: 2800006
+ second: Metal Floor 006_ambientOcclusion
+ - first:
+ 28: 2800008
+ second: Metal Floor 006_height
+ - first:
+ 33: 3300000
+ second: metal_floor_006/metal_floor_006/MeshFilter
+ - first:
+ 114: 11400000
+ second: sbsar
+ - first:
+ 114: 11400002
+ second: graph0
+ - first:
+ 135: 13500000
+ second: metal_floor_006/metal_floor_006/SphereCollider
+ - first:
+ 1001: 100100000
+ second: metal_floor_006
+ externalObjects: {}
+ serializedVersion: 2
+ userData:
+ assetBundleName:
+ assetBundleVariant:
+ script: {fileID: 232528478, guid: 43a8bbf65be290d44ba52b94476242b9, type: 3}
+ version: 29
+ projectContext: 0
+ mGraphInstanceData:
+ - graphLabel: Metal Floor 006
+ prototypeName: Metal Floor 006
+ graphDescIndex: 0
+ generateAllOutputs: 0
+ generateMipMaps: 1
+ preset: " \n \n"
+ shaderName: Standard
+ materialProperties:
+ shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
+ shaderKeywords:
+ lightmapFlags: 4
+ enableInstancingVariants: 0
+ doubleSidedGI: 0
+ customRenderQueue: -1
+ texEnvs:
+ - name: _BumpMap
+ texture: {fileID: -2252411089510067877, guid: 06833951ebae4cc45ad88d58cb5571de,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailAlbedoMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailMask
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailNormalMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _EmissionMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MainTex
+ texture: {fileID: -446378320346000722, guid: 06833951ebae4cc45ad88d58cb5571de,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MetallicGlossMap
+ texture: {fileID: 877764506763962143, guid: 06833951ebae4cc45ad88d58cb5571de,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _OcclusionMap
+ texture: {fileID: -4232129871321120126, guid: 06833951ebae4cc45ad88d58cb5571de,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _ParallaxMap
+ texture: {fileID: 3318615130639472310, guid: 06833951ebae4cc45ad88d58cb5571de,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ floats:
+ - name: _BumpScale
+ float: 1
+ - name: _Cutoff
+ float: 0.5
+ - name: _DetailNormalMapScale
+ float: 1
+ - name: _DstBlend
+ float: 0
+ - name: _GlossMapScale
+ float: 1
+ - name: _Glossiness
+ float: 0.5
+ - name: _GlossyReflections
+ float: 1
+ - name: _Metallic
+ float: 0
+ - name: _Mode
+ float: 0
+ - name: _OcclusionStrength
+ float: 1
+ - name: _Parallax
+ float: 0.02
+ - name: _SmoothnessTextureChannel
+ float: 0
+ - name: _SpecularHighlights
+ float: 1
+ - name: _SrcBlend
+ float: 1
+ - name: _UVSec
+ float: 0
+ - name: _ZWrite
+ float: 1
+ colors:
+ - name: _Color
+ color: {r: 1, g: 1, b: 1, a: 1}
+ - name: _EmissionColor
+ color: {r: 0, g: 0, b: 0, a: 1}
+ outputDescList:
+ - outputName: diffuse
+ identifier: diffuse
+ usageName: diffuse
+ channelStr: diffuse
+ label: Diffuse
+ usage: 0
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: baseColor
+ identifier: basecolor
+ usageName: baseColor
+ channelStr: baseColor
+ label: Base Color
+ usage: 1
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: normal
+ identifier: normal
+ usageName: normal
+ channelStr: normal
+ label: Normal
+ usage: 7
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: specular
+ identifier: specular
+ usageName: specular
+ channelStr: specular
+ label: Specular
+ usage: 11
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: glossiness
+ identifier: glossiness
+ usageName: glossiness
+ channelStr: glossiness
+ label: Glossiness
+ usage: 14
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: roughness
+ identifier: roughness
+ usageName: roughness
+ channelStr: roughness
+ label: Roughness
+ usage: 15
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: metallic
+ identifier: metallic
+ usageName: metallic
+ channelStr: metallic
+ label: Metallic
+ usage: 34
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: ambientOcclusion
+ identifier: ambient_occlusion
+ usageName: ambientOcclusion
+ channelStr: ambientOcclusion
+ label: Ambient Occlusion
+ usage: 5
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: height
+ identifier: height
+ usageName: height
+ channelStr: height
+ label: Height
+ usage: 9
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ texturePackingList:
+ - targetName: diffuse
+ components:
+ - sourceName: diffuse
+ from: 0
+ to: 3
+ - targetName: baseColor
+ components:
+ - sourceName: baseColor
+ from: 0
+ to: 3
+ - targetName: normal
+ components:
+ - sourceName: normal
+ from: 0
+ to: 3
+ - targetName: specular
+ components:
+ - sourceName: specular
+ from: 0
+ to: 3
+ - targetName: glossiness
+ components:
+ - sourceName: glossiness
+ from: 0
+ to: 3
+ - targetName: roughness
+ components:
+ - sourceName: roughness
+ from: 0
+ to: 3
+ - targetName: metallic
+ components:
+ - sourceName: smoothness
+ from: 0
+ to: 3
+ - targetName: ambientOcclusion
+ components:
+ - sourceName: ambientOcclusion
+ from: 0
+ to: 3
+ - targetName: height
+ components:
+ - sourceName: height
+ from: 0
+ to: 3
+ textureParameters:
+ - textureName: Metal Floor 006_glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Floor 006_diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Floor 006_baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Floor 006_normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Floor 006_specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Floor 006_roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Floor 006_metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Floor 006_ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Floor 006_height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Floor 006 - diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Floor 006 - baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Floor 006 - normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Floor 006 - specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Floor 006 - glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Floor 006 - roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Floor 006 - metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Floor 006 - ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Floor 006 - height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ colorSpaceList: []
+ inputTextureMap: []
+ targetSettingList:
+ - label: Default
+ bOverride: 0
+ bLockRatio: 1
+ textureWidth: 256
+ textureHeight: 256
+ textureFormatMode: 0
+ normalCompressed: 0
+ bGenerateOnLoad: 1
+ material: {fileID: -6975397259061671394, guid: 06833951ebae4cc45ad88d58cb5571de,
+ type: 3}
+ generatedTextures:
+ - {fileID: -446378320346000722, guid: 06833951ebae4cc45ad88d58cb5571de, type: 3}
+ - {fileID: -2252411089510067877, guid: 06833951ebae4cc45ad88d58cb5571de, type: 3}
+ - {fileID: 877764506763962143, guid: 06833951ebae4cc45ad88d58cb5571de, type: 3}
+ - {fileID: -4232129871321120126, guid: 06833951ebae4cc45ad88d58cb5571de, type: 3}
+ - {fileID: 3318615130639472310, guid: 06833951ebae4cc45ad88d58cb5571de, type: 3}
diff --git a/Assets/Materials/Substance/Metal/metal_gold.sbsar b/Assets/Materials/Substance/Metal/metal_gold.sbsar
new file mode 100644
index 000000000..5aa377680
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_gold.sbsar
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:29ef1a459ab7d090b32ee563d729038527c4d031595abef2a49398543d11343c
+size 7428
diff --git a/Assets/Materials/Substance/Metal/metal_gold.sbsar.meta b/Assets/Materials/Substance/Metal/metal_gold.sbsar.meta
new file mode 100644
index 000000000..c4e7f4644
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_gold.sbsar.meta
@@ -0,0 +1,373 @@
+fileFormatVersion: 2
+guid: a74970be876d3554ea0f279f39314c9c
+ScriptedImporter:
+ internalIDToNameTable:
+ - first:
+ 1: 100000
+ second: metal_gold/metal_gold
+ - first:
+ 4: 400000
+ second: metal_gold/metal_gold/Transform
+ - first:
+ 21: 2100000
+ second: mat.Gold
+ - first:
+ 23: 2300000
+ second: metal_gold/metal_gold/MeshRenderer
+ - first:
+ 28: 2800000
+ second: Gold_baseColor
+ - first:
+ 28: 2800002
+ second: Gold_normal
+ - first:
+ 28: 2800004
+ second: Gold_metallic
+ - first:
+ 28: 2800006
+ second: Gold_ambientOcclusion
+ - first:
+ 28: 2800008
+ second: Gold_height
+ - first:
+ 33: 3300000
+ second: metal_gold/metal_gold/MeshFilter
+ - first:
+ 114: 11400000
+ second: sbsar
+ - first:
+ 114: 11400002
+ second: graph0
+ - first:
+ 135: 13500000
+ second: metal_gold/metal_gold/SphereCollider
+ - first:
+ 1001: 100100000
+ second: metal_gold
+ externalObjects: {}
+ serializedVersion: 2
+ userData:
+ assetBundleName:
+ assetBundleVariant:
+ script: {fileID: 232528478, guid: 43a8bbf65be290d44ba52b94476242b9, type: 3}
+ version: 29
+ projectContext: 0
+ mGraphInstanceData:
+ - graphLabel: Gold
+ prototypeName: Gold
+ graphDescIndex: 0
+ generateAllOutputs: 0
+ generateMipMaps: 1
+ preset: " \n \n
+ \n \n \n"
+ shaderName: Standard
+ materialProperties:
+ shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
+ shaderKeywords:
+ lightmapFlags: 4
+ enableInstancingVariants: 0
+ doubleSidedGI: 0
+ customRenderQueue: -1
+ texEnvs:
+ - name: _BumpMap
+ texture: {fileID: -6248678595456566848, guid: a74970be876d3554ea0f279f39314c9c,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailAlbedoMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailMask
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailNormalMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _EmissionMap
+ texture: {instanceID: 0}
+ scale: {x: 4, y: 4}
+ offset: {x: 0, y: 0}
+ - name: _MainTex
+ texture: {fileID: 2039085267362074300, guid: a74970be876d3554ea0f279f39314c9c,
+ type: 3}
+ scale: {x: 4, y: 4}
+ offset: {x: 0, y: 0}
+ - name: _MetallicGlossMap
+ texture: {fileID: -8783136193678078058, guid: a74970be876d3554ea0f279f39314c9c,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _OcclusionMap
+ texture: {fileID: 7384525862955468029, guid: a74970be876d3554ea0f279f39314c9c,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _ParallaxMap
+ texture: {fileID: -8934633548313413119, guid: a74970be876d3554ea0f279f39314c9c,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ floats:
+ - name: _BumpScale
+ float: 1
+ - name: _Cutoff
+ float: 0.5
+ - name: _DetailNormalMapScale
+ float: 1
+ - name: _DstBlend
+ float: 0
+ - name: _GlossMapScale
+ float: 1
+ - name: _Glossiness
+ float: 0.5
+ - name: _GlossyReflections
+ float: 1
+ - name: _Metallic
+ float: 0
+ - name: _Mode
+ float: 0
+ - name: _OcclusionStrength
+ float: 1
+ - name: _Parallax
+ float: 0.02
+ - name: _SmoothnessTextureChannel
+ float: 0
+ - name: _SpecularHighlights
+ float: 1
+ - name: _SrcBlend
+ float: 1
+ - name: _UVSec
+ float: 0
+ - name: _ZWrite
+ float: 1
+ colors:
+ - name: _Color
+ color: {r: 1, g: 1, b: 1, a: 1}
+ - name: _EmissionColor
+ color: {r: 0, g: 0, b: 0, a: 1}
+ outputDescList:
+ - outputName: diffuse
+ identifier: diffuse
+ usageName: diffuse
+ channelStr: diffuse
+ label: Diffuse
+ usage: 0
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: baseColor
+ identifier: basecolor
+ usageName: baseColor
+ channelStr: baseColor
+ label: Base Color
+ usage: 1
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: normal
+ identifier: normal
+ usageName: normal
+ channelStr: normal
+ label: Normal
+ usage: 7
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: specular
+ identifier: specular
+ usageName: specular
+ channelStr: specular
+ label: Specular
+ usage: 11
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: glossiness
+ identifier: glossiness
+ usageName: glossiness
+ channelStr: glossiness
+ label: Glossiness
+ usage: 14
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: roughness
+ identifier: roughness
+ usageName: roughness
+ channelStr: roughness
+ label: Roughness
+ usage: 15
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: metallic
+ identifier: metallic
+ usageName: metallic
+ channelStr: metallic
+ label: Metallic
+ usage: 34
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: ambientOcclusion
+ identifier: ambient_occlusion
+ usageName: ambientOcclusion
+ channelStr: ambientOcclusion
+ label: Ambient Occlusion
+ usage: 5
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: height
+ identifier: height
+ usageName: height
+ channelStr: height
+ label: Height
+ usage: 9
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ texturePackingList:
+ - targetName: diffuse
+ components:
+ - sourceName: diffuse
+ from: 0
+ to: 3
+ - targetName: baseColor
+ components:
+ - sourceName: baseColor
+ from: 0
+ to: 3
+ - targetName: normal
+ components:
+ - sourceName: normal
+ from: 0
+ to: 3
+ - targetName: specular
+ components:
+ - sourceName: specular
+ from: 0
+ to: 3
+ - targetName: glossiness
+ components:
+ - sourceName: glossiness
+ from: 0
+ to: 3
+ - targetName: roughness
+ components:
+ - sourceName: roughness
+ from: 0
+ to: 3
+ - targetName: metallic
+ components:
+ - sourceName: smoothness
+ from: 0
+ to: 3
+ - targetName: ambientOcclusion
+ components:
+ - sourceName: ambientOcclusion
+ from: 0
+ to: 3
+ - targetName: height
+ components:
+ - sourceName: height
+ from: 0
+ to: 3
+ textureParameters:
+ - textureName: Gold_glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Gold_diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Gold_baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Gold_normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Gold_specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Gold_roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Gold_metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Gold_ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Gold_height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Gold - diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Gold - baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Gold - normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Gold - specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Gold - glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Gold - roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Gold - metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Gold - ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Gold - height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ colorSpaceList: []
+ inputTextureMap: []
+ targetSettingList:
+ - label: Default
+ bOverride: 0
+ bLockRatio: 1
+ textureWidth: 512
+ textureHeight: 512
+ textureFormatMode: 0
+ normalCompressed: 0
+ bGenerateOnLoad: 1
+ material: {fileID: -905690159841262435, guid: a74970be876d3554ea0f279f39314c9c,
+ type: 3}
+ generatedTextures:
+ - {fileID: 2039085267362074300, guid: a74970be876d3554ea0f279f39314c9c, type: 3}
+ - {fileID: -6248678595456566848, guid: a74970be876d3554ea0f279f39314c9c, type: 3}
+ - {fileID: -8783136193678078058, guid: a74970be876d3554ea0f279f39314c9c, type: 3}
+ - {fileID: 7384525862955468029, guid: a74970be876d3554ea0f279f39314c9c, type: 3}
+ - {fileID: -8934633548313413119, guid: a74970be876d3554ea0f279f39314c9c, type: 3}
diff --git a/Assets/Materials/Substance/Metal/metal_nickel.sbsar b/Assets/Materials/Substance/Metal/metal_nickel.sbsar
new file mode 100644
index 000000000..e7cf69c6b
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_nickel.sbsar
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:a0395691305bc49406088b12b65ea186d65d5101bc230a2e91b4ddbf2c7b65ea
+size 8935
diff --git a/Assets/Materials/Substance/Metal/metal_nickel.sbsar.meta b/Assets/Materials/Substance/Metal/metal_nickel.sbsar.meta
new file mode 100644
index 000000000..65531754c
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_nickel.sbsar.meta
@@ -0,0 +1,369 @@
+fileFormatVersion: 2
+guid: c5f2177e1f35daa499f4d7e0b7f3370a
+ScriptedImporter:
+ internalIDToNameTable:
+ - first:
+ 1: 100000
+ second: metal_nickel/metal_nickel
+ - first:
+ 4: 400000
+ second: metal_nickel/metal_nickel/Transform
+ - first:
+ 21: 2100000
+ second: mat.Nickel
+ - first:
+ 23: 2300000
+ second: metal_nickel/metal_nickel/MeshRenderer
+ - first:
+ 28: 2800000
+ second: Nickel_baseColor
+ - first:
+ 28: 2800002
+ second: Nickel_normal
+ - first:
+ 28: 2800004
+ second: Nickel_metallic
+ - first:
+ 28: 2800006
+ second: Nickel_ambientOcclusion
+ - first:
+ 28: 2800008
+ second: Nickel_height
+ - first:
+ 33: 3300000
+ second: metal_nickel/metal_nickel/MeshFilter
+ - first:
+ 114: 11400000
+ second: sbsar
+ - first:
+ 114: 11400002
+ second: graph0
+ - first:
+ 135: 13500000
+ second: metal_nickel/metal_nickel/SphereCollider
+ - first:
+ 1001: 100100000
+ second: metal_nickel
+ externalObjects: {}
+ serializedVersion: 2
+ userData:
+ assetBundleName:
+ assetBundleVariant:
+ script: {fileID: 232528478, guid: 43a8bbf65be290d44ba52b94476242b9, type: 3}
+ version: 29
+ projectContext: 0
+ mGraphInstanceData:
+ - graphLabel: Nickel
+ prototypeName: Nickel
+ graphDescIndex: 0
+ generateAllOutputs: 0
+ generateMipMaps: 1
+ preset: " \n \n"
+ shaderName: Standard
+ materialProperties:
+ shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
+ shaderKeywords:
+ lightmapFlags: 4
+ enableInstancingVariants: 0
+ doubleSidedGI: 0
+ customRenderQueue: -1
+ texEnvs:
+ - name: _BumpMap
+ texture: {fileID: 1040180909335529060, guid: c5f2177e1f35daa499f4d7e0b7f3370a,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailAlbedoMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailMask
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailNormalMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _EmissionMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MainTex
+ texture: {fileID: -3896990606402278735, guid: c5f2177e1f35daa499f4d7e0b7f3370a,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MetallicGlossMap
+ texture: {fileID: -8156577797594723071, guid: c5f2177e1f35daa499f4d7e0b7f3370a,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _OcclusionMap
+ texture: {fileID: -7935365347593253955, guid: c5f2177e1f35daa499f4d7e0b7f3370a,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _ParallaxMap
+ texture: {fileID: -4922792887777872198, guid: c5f2177e1f35daa499f4d7e0b7f3370a,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ floats:
+ - name: _BumpScale
+ float: 1
+ - name: _Cutoff
+ float: 0.5
+ - name: _DetailNormalMapScale
+ float: 1
+ - name: _DstBlend
+ float: 0
+ - name: _GlossMapScale
+ float: 1
+ - name: _Glossiness
+ float: 0.5
+ - name: _GlossyReflections
+ float: 1
+ - name: _Metallic
+ float: 0
+ - name: _Mode
+ float: 0
+ - name: _OcclusionStrength
+ float: 1
+ - name: _Parallax
+ float: 0.02
+ - name: _SmoothnessTextureChannel
+ float: 0
+ - name: _SpecularHighlights
+ float: 1
+ - name: _SrcBlend
+ float: 1
+ - name: _UVSec
+ float: 0
+ - name: _ZWrite
+ float: 1
+ colors:
+ - name: _Color
+ color: {r: 1, g: 1, b: 1, a: 1}
+ - name: _EmissionColor
+ color: {r: 0, g: 0, b: 0, a: 1}
+ outputDescList:
+ - outputName: diffuse
+ identifier: diffuse
+ usageName: diffuse
+ channelStr: diffuse
+ label: Diffuse
+ usage: 0
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: baseColor
+ identifier: basecolor
+ usageName: baseColor
+ channelStr: baseColor
+ label: Base Color
+ usage: 1
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: normal
+ identifier: normal
+ usageName: normal
+ channelStr: normal
+ label: Normal
+ usage: 7
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: specular
+ identifier: specular
+ usageName: specular
+ channelStr: specular
+ label: Specular
+ usage: 11
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: glossiness
+ identifier: glossiness
+ usageName: glossiness
+ channelStr: glossiness
+ label: Glossiness
+ usage: 14
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: roughness
+ identifier: roughness
+ usageName: roughness
+ channelStr: roughness
+ label: Roughness
+ usage: 15
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: metallic
+ identifier: metallic
+ usageName: metallic
+ channelStr: metallic
+ label: Metallic
+ usage: 34
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: ambientOcclusion
+ identifier: ambient_occlusion
+ usageName: ambientOcclusion
+ channelStr: ambientOcclusion
+ label: Ambient Occlusion
+ usage: 5
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: height
+ identifier: height
+ usageName: height
+ channelStr: height
+ label: Height
+ usage: 9
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ texturePackingList:
+ - targetName: diffuse
+ components:
+ - sourceName: diffuse
+ from: 0
+ to: 3
+ - targetName: baseColor
+ components:
+ - sourceName: baseColor
+ from: 0
+ to: 3
+ - targetName: normal
+ components:
+ - sourceName: normal
+ from: 0
+ to: 3
+ - targetName: specular
+ components:
+ - sourceName: specular
+ from: 0
+ to: 3
+ - targetName: glossiness
+ components:
+ - sourceName: glossiness
+ from: 0
+ to: 3
+ - targetName: roughness
+ components:
+ - sourceName: roughness
+ from: 0
+ to: 3
+ - targetName: metallic
+ components:
+ - sourceName: smoothness
+ from: 0
+ to: 3
+ - targetName: ambientOcclusion
+ components:
+ - sourceName: ambientOcclusion
+ from: 0
+ to: 3
+ - targetName: height
+ components:
+ - sourceName: height
+ from: 0
+ to: 3
+ textureParameters:
+ - textureName: Nickel_glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Nickel_diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Nickel_baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Nickel_normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Nickel_specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Nickel_roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Nickel_metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Nickel_ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Nickel_height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Nickel - diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Nickel - baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Nickel - normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Nickel - specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Nickel - glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Nickel - roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Nickel - metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Nickel - ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Nickel - height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ colorSpaceList: []
+ inputTextureMap: []
+ targetSettingList:
+ - label: Default
+ bOverride: 0
+ bLockRatio: 1
+ textureWidth: 256
+ textureHeight: 256
+ textureFormatMode: 0
+ normalCompressed: 0
+ bGenerateOnLoad: 1
+ material: {fileID: -443055228576417237, guid: c5f2177e1f35daa499f4d7e0b7f3370a,
+ type: 3}
+ generatedTextures:
+ - {fileID: -3896990606402278735, guid: c5f2177e1f35daa499f4d7e0b7f3370a, type: 3}
+ - {fileID: 1040180909335529060, guid: c5f2177e1f35daa499f4d7e0b7f3370a, type: 3}
+ - {fileID: -8156577797594723071, guid: c5f2177e1f35daa499f4d7e0b7f3370a, type: 3}
+ - {fileID: -7935365347593253955, guid: c5f2177e1f35daa499f4d7e0b7f3370a, type: 3}
+ - {fileID: -4922792887777872198, guid: c5f2177e1f35daa499f4d7e0b7f3370a, type: 3}
diff --git a/Assets/Materials/Substance/Metal/metal_painted_steel.sbsar b/Assets/Materials/Substance/Metal/metal_painted_steel.sbsar
new file mode 100644
index 000000000..d764cd35f
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_painted_steel.sbsar
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:bc8dcd55f0619c028037c7225720acb4eea87b28cc7c120125fa2b38d02f775a
+size 13628
diff --git a/Assets/Materials/Substance/Metal/metal_painted_steel.sbsar.meta b/Assets/Materials/Substance/Metal/metal_painted_steel.sbsar.meta
new file mode 100644
index 000000000..467fa07bd
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_painted_steel.sbsar.meta
@@ -0,0 +1,376 @@
+fileFormatVersion: 2
+guid: b7e648471e9dfc44490bd41973711541
+ScriptedImporter:
+ internalIDToNameTable:
+ - first:
+ 1: 100000
+ second: metal_painted_steel/metal_painted_steel
+ - first:
+ 4: 400000
+ second: metal_painted_steel/metal_painted_steel/Transform
+ - first:
+ 21: 2100000
+ second: mat.Painted steel
+ - first:
+ 23: 2300000
+ second: metal_painted_steel/metal_painted_steel/MeshRenderer
+ - first:
+ 28: 2800000
+ second: Painted steel_baseColor
+ - first:
+ 28: 2800002
+ second: Painted steel_normal
+ - first:
+ 28: 2800004
+ second: Painted steel_metallic
+ - first:
+ 28: 2800006
+ second: Painted steel_ambientOcclusion
+ - first:
+ 28: 2800008
+ second: Painted steel_height
+ - first:
+ 33: 3300000
+ second: metal_painted_steel/metal_painted_steel/MeshFilter
+ - first:
+ 114: 11400000
+ second: sbsar
+ - first:
+ 114: 11400002
+ second: graph0
+ - first:
+ 135: 13500000
+ second: metal_painted_steel/metal_painted_steel/SphereCollider
+ - first:
+ 1001: 100100000
+ second: metal_painted_steel
+ externalObjects: {}
+ serializedVersion: 2
+ userData:
+ assetBundleName:
+ assetBundleVariant:
+ script: {fileID: 232528478, guid: 43a8bbf65be290d44ba52b94476242b9, type: 3}
+ version: 29
+ projectContext: 0
+ mGraphInstanceData:
+ - graphLabel: Painted steel
+ prototypeName: Painted steel
+ graphDescIndex: 0
+ generateAllOutputs: 0
+ generateMipMaps: 1
+ preset: " \n \n
+ \n \n \n \n \n \n"
+ shaderName: Standard
+ materialProperties:
+ shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
+ shaderKeywords:
+ lightmapFlags: 4
+ enableInstancingVariants: 0
+ doubleSidedGI: 0
+ customRenderQueue: -1
+ texEnvs:
+ - name: _BumpMap
+ texture: {fileID: -812895718602229137, guid: b7e648471e9dfc44490bd41973711541,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailAlbedoMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailMask
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailNormalMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _EmissionMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MainTex
+ texture: {fileID: 4387638379454744182, guid: b7e648471e9dfc44490bd41973711541,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MetallicGlossMap
+ texture: {fileID: 5280895355680202213, guid: b7e648471e9dfc44490bd41973711541,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _OcclusionMap
+ texture: {fileID: 1053975553097811288, guid: b7e648471e9dfc44490bd41973711541,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _ParallaxMap
+ texture: {fileID: -5932748352949090903, guid: b7e648471e9dfc44490bd41973711541,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ floats:
+ - name: _BumpScale
+ float: 1
+ - name: _Cutoff
+ float: 0.5
+ - name: _DetailNormalMapScale
+ float: 1
+ - name: _DstBlend
+ float: 0
+ - name: _GlossMapScale
+ float: 1
+ - name: _Glossiness
+ float: 0.5
+ - name: _GlossyReflections
+ float: 1
+ - name: _Metallic
+ float: 0
+ - name: _Mode
+ float: 0
+ - name: _OcclusionStrength
+ float: 1
+ - name: _Parallax
+ float: 0.02
+ - name: _SmoothnessTextureChannel
+ float: 0
+ - name: _SpecularHighlights
+ float: 1
+ - name: _SrcBlend
+ float: 1
+ - name: _UVSec
+ float: 0
+ - name: _ZWrite
+ float: 1
+ colors:
+ - name: _Color
+ color: {r: 1, g: 1, b: 1, a: 1}
+ - name: _EmissionColor
+ color: {r: 0, g: 0, b: 0, a: 1}
+ outputDescList:
+ - outputName: diffuse
+ identifier: diffuse
+ usageName: diffuse
+ channelStr: diffuse
+ label: Diffuse
+ usage: 0
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: baseColor
+ identifier: basecolor
+ usageName: baseColor
+ channelStr: baseColor
+ label: Base Color
+ usage: 1
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: normal
+ identifier: normal
+ usageName: normal
+ channelStr: normal
+ label: Normal
+ usage: 7
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: specular
+ identifier: specular
+ usageName: specular
+ channelStr: specular
+ label: Specular
+ usage: 11
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: glossiness
+ identifier: glossiness
+ usageName: glossiness
+ channelStr: glossiness
+ label: Glossiness
+ usage: 14
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: roughness
+ identifier: roughness
+ usageName: roughness
+ channelStr: roughness
+ label: Roughness
+ usage: 15
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: metallic
+ identifier: metallic
+ usageName: metallic
+ channelStr: metallic
+ label: Metallic
+ usage: 34
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: ambientOcclusion
+ identifier: ambient_occlusion
+ usageName: ambientOcclusion
+ channelStr: ambientOcclusion
+ label: Ambient Occlusion
+ usage: 5
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: height
+ identifier: height
+ usageName: height
+ channelStr: height
+ label: Height
+ usage: 9
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ texturePackingList:
+ - targetName: diffuse
+ components:
+ - sourceName: diffuse
+ from: 0
+ to: 3
+ - targetName: baseColor
+ components:
+ - sourceName: baseColor
+ from: 0
+ to: 3
+ - targetName: normal
+ components:
+ - sourceName: normal
+ from: 0
+ to: 3
+ - targetName: specular
+ components:
+ - sourceName: specular
+ from: 0
+ to: 3
+ - targetName: glossiness
+ components:
+ - sourceName: glossiness
+ from: 0
+ to: 3
+ - targetName: roughness
+ components:
+ - sourceName: roughness
+ from: 0
+ to: 3
+ - targetName: metallic
+ components:
+ - sourceName: smoothness
+ from: 0
+ to: 3
+ - targetName: ambientOcclusion
+ components:
+ - sourceName: ambientOcclusion
+ from: 0
+ to: 3
+ - targetName: height
+ components:
+ - sourceName: height
+ from: 0
+ to: 3
+ textureParameters:
+ - textureName: Painted steel_glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Painted steel_diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Painted steel_baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Painted steel_normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Painted steel_specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Painted steel_roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Painted steel_metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Painted steel_ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Painted steel_height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Painted steel - diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Painted steel - baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Painted steel - normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Painted steel - specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Painted steel - glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Painted steel - roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Painted steel - metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Painted steel - ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Painted steel - height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ colorSpaceList: []
+ inputTextureMap: []
+ targetSettingList:
+ - label: Default
+ bOverride: 0
+ bLockRatio: 1
+ textureWidth: 1024
+ textureHeight: 1024
+ textureFormatMode: 0
+ normalCompressed: 0
+ bGenerateOnLoad: 1
+ material: {fileID: -4658142721435264040, guid: b7e648471e9dfc44490bd41973711541,
+ type: 3}
+ generatedTextures:
+ - {fileID: 4387638379454744182, guid: b7e648471e9dfc44490bd41973711541, type: 3}
+ - {fileID: -812895718602229137, guid: b7e648471e9dfc44490bd41973711541, type: 3}
+ - {fileID: 5280895355680202213, guid: b7e648471e9dfc44490bd41973711541, type: 3}
+ - {fileID: 1053975553097811288, guid: b7e648471e9dfc44490bd41973711541, type: 3}
+ - {fileID: -5932748352949090903, guid: b7e648471e9dfc44490bd41973711541, type: 3}
diff --git a/Assets/Materials/Substance/Metal/metal_panels_001.sbsar b/Assets/Materials/Substance/Metal/metal_panels_001.sbsar
new file mode 100644
index 000000000..2ee3b87ea
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_panels_001.sbsar
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e868f72fde8e3c55a2d8c097ebb39c05157670897d14eeb86932021feec16158
+size 11295
diff --git a/Assets/Materials/Substance/Metal/metal_panels_001.sbsar.meta b/Assets/Materials/Substance/Metal/metal_panels_001.sbsar.meta
new file mode 100644
index 000000000..a423b3b51
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_panels_001.sbsar.meta
@@ -0,0 +1,369 @@
+fileFormatVersion: 2
+guid: 7363fcc4a3c41a349b29de7ec34555be
+ScriptedImporter:
+ internalIDToNameTable:
+ - first:
+ 1: 100000
+ second: metal_panels_001/metal_panels_001
+ - first:
+ 4: 400000
+ second: metal_panels_001/metal_panels_001/Transform
+ - first:
+ 21: 2100000
+ second: mat.Metal Panels 001
+ - first:
+ 23: 2300000
+ second: metal_panels_001/metal_panels_001/MeshRenderer
+ - first:
+ 28: 2800000
+ second: Metal Panels 001_baseColor
+ - first:
+ 28: 2800002
+ second: Metal Panels 001_normal
+ - first:
+ 28: 2800004
+ second: Metal Panels 001_metallic
+ - first:
+ 28: 2800006
+ second: Metal Panels 001_ambientOcclusion
+ - first:
+ 28: 2800008
+ second: Metal Panels 001_height
+ - first:
+ 33: 3300000
+ second: metal_panels_001/metal_panels_001/MeshFilter
+ - first:
+ 114: 11400000
+ second: sbsar
+ - first:
+ 114: 11400002
+ second: graph0
+ - first:
+ 135: 13500000
+ second: metal_panels_001/metal_panels_001/SphereCollider
+ - first:
+ 1001: 100100000
+ second: metal_panels_001
+ externalObjects: {}
+ serializedVersion: 2
+ userData:
+ assetBundleName:
+ assetBundleVariant:
+ script: {fileID: 232528478, guid: 43a8bbf65be290d44ba52b94476242b9, type: 3}
+ version: 29
+ projectContext: 0
+ mGraphInstanceData:
+ - graphLabel: Metal Panels 001
+ prototypeName: Metal Panels 001
+ graphDescIndex: 0
+ generateAllOutputs: 0
+ generateMipMaps: 1
+ preset: " \n \n"
+ shaderName: Standard
+ materialProperties:
+ shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
+ shaderKeywords:
+ lightmapFlags: 4
+ enableInstancingVariants: 0
+ doubleSidedGI: 0
+ customRenderQueue: -1
+ texEnvs:
+ - name: _BumpMap
+ texture: {fileID: 2945532018097518028, guid: 7363fcc4a3c41a349b29de7ec34555be,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailAlbedoMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailMask
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailNormalMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _EmissionMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MainTex
+ texture: {fileID: 6344665451385196243, guid: 7363fcc4a3c41a349b29de7ec34555be,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MetallicGlossMap
+ texture: {fileID: -103584793617860315, guid: 7363fcc4a3c41a349b29de7ec34555be,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _OcclusionMap
+ texture: {fileID: -2941359408041138506, guid: 7363fcc4a3c41a349b29de7ec34555be,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _ParallaxMap
+ texture: {fileID: 1361220934952870948, guid: 7363fcc4a3c41a349b29de7ec34555be,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ floats:
+ - name: _BumpScale
+ float: 1
+ - name: _Cutoff
+ float: 0.5
+ - name: _DetailNormalMapScale
+ float: 1
+ - name: _DstBlend
+ float: 0
+ - name: _GlossMapScale
+ float: 1
+ - name: _Glossiness
+ float: 0.5
+ - name: _GlossyReflections
+ float: 1
+ - name: _Metallic
+ float: 0
+ - name: _Mode
+ float: 0
+ - name: _OcclusionStrength
+ float: 1
+ - name: _Parallax
+ float: 0.02
+ - name: _SmoothnessTextureChannel
+ float: 0
+ - name: _SpecularHighlights
+ float: 1
+ - name: _SrcBlend
+ float: 1
+ - name: _UVSec
+ float: 0
+ - name: _ZWrite
+ float: 1
+ colors:
+ - name: _Color
+ color: {r: 1, g: 1, b: 1, a: 1}
+ - name: _EmissionColor
+ color: {r: 0, g: 0, b: 0, a: 1}
+ outputDescList:
+ - outputName: diffuse
+ identifier: diffuse
+ usageName: diffuse
+ channelStr: diffuse
+ label: Diffuse
+ usage: 0
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: baseColor
+ identifier: basecolor
+ usageName: baseColor
+ channelStr: baseColor
+ label: Base Color
+ usage: 1
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: normal
+ identifier: normal
+ usageName: normal
+ channelStr: normal
+ label: Normal
+ usage: 7
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: specular
+ identifier: specular
+ usageName: specular
+ channelStr: specular
+ label: Specular
+ usage: 11
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: glossiness
+ identifier: glossiness
+ usageName: glossiness
+ channelStr: glossiness
+ label: Glossiness
+ usage: 14
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: roughness
+ identifier: roughness
+ usageName: roughness
+ channelStr: roughness
+ label: Roughness
+ usage: 15
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: metallic
+ identifier: metallic
+ usageName: metallic
+ channelStr: metallic
+ label: Metallic
+ usage: 34
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: ambientOcclusion
+ identifier: ambient_occlusion
+ usageName: ambientOcclusion
+ channelStr: ambientOcclusion
+ label: Ambient Occlusion
+ usage: 5
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: height
+ identifier: height
+ usageName: height
+ channelStr: height
+ label: Height
+ usage: 9
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ texturePackingList:
+ - targetName: diffuse
+ components:
+ - sourceName: diffuse
+ from: 0
+ to: 3
+ - targetName: baseColor
+ components:
+ - sourceName: baseColor
+ from: 0
+ to: 3
+ - targetName: normal
+ components:
+ - sourceName: normal
+ from: 0
+ to: 3
+ - targetName: specular
+ components:
+ - sourceName: specular
+ from: 0
+ to: 3
+ - targetName: glossiness
+ components:
+ - sourceName: glossiness
+ from: 0
+ to: 3
+ - targetName: roughness
+ components:
+ - sourceName: roughness
+ from: 0
+ to: 3
+ - targetName: metallic
+ components:
+ - sourceName: smoothness
+ from: 0
+ to: 3
+ - targetName: ambientOcclusion
+ components:
+ - sourceName: ambientOcclusion
+ from: 0
+ to: 3
+ - targetName: height
+ components:
+ - sourceName: height
+ from: 0
+ to: 3
+ textureParameters:
+ - textureName: Metal Panels 001_glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Panels 001_diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Panels 001_baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Panels 001_normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Panels 001_specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Panels 001_roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Panels 001_metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Panels 001_ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Panels 001_height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Panels 001 - diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Panels 001 - baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Panels 001 - normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Panels 001 - specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Panels 001 - glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Panels 001 - roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Panels 001 - metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Panels 001 - ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Panels 001 - height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ colorSpaceList: []
+ inputTextureMap: []
+ targetSettingList:
+ - label: Default
+ bOverride: 0
+ bLockRatio: 1
+ textureWidth: 256
+ textureHeight: 256
+ textureFormatMode: 0
+ normalCompressed: 0
+ bGenerateOnLoad: 1
+ material: {fileID: 1523472303362493764, guid: 7363fcc4a3c41a349b29de7ec34555be,
+ type: 3}
+ generatedTextures:
+ - {fileID: 6344665451385196243, guid: 7363fcc4a3c41a349b29de7ec34555be, type: 3}
+ - {fileID: 2945532018097518028, guid: 7363fcc4a3c41a349b29de7ec34555be, type: 3}
+ - {fileID: -103584793617860315, guid: 7363fcc4a3c41a349b29de7ec34555be, type: 3}
+ - {fileID: -2941359408041138506, guid: 7363fcc4a3c41a349b29de7ec34555be, type: 3}
+ - {fileID: 1361220934952870948, guid: 7363fcc4a3c41a349b29de7ec34555be, type: 3}
diff --git a/Assets/Materials/Substance/Metal/metal_panels_002.sbsar b/Assets/Materials/Substance/Metal/metal_panels_002.sbsar
new file mode 100644
index 000000000..2cf3cd0b5
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_panels_002.sbsar
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b16e09a1b06ae6b857d9f9478af0838a31ba554a2455b9e65e9db43a125ce633
+size 7592
diff --git a/Assets/Materials/Substance/Metal/metal_panels_002.sbsar.meta b/Assets/Materials/Substance/Metal/metal_panels_002.sbsar.meta
new file mode 100644
index 000000000..fe8ecd2b6
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_panels_002.sbsar.meta
@@ -0,0 +1,369 @@
+fileFormatVersion: 2
+guid: 2e9a9dbacde66a446852af882f33e9e2
+ScriptedImporter:
+ internalIDToNameTable:
+ - first:
+ 1: 100000
+ second: metal_panels_002/metal_panels_002
+ - first:
+ 4: 400000
+ second: metal_panels_002/metal_panels_002/Transform
+ - first:
+ 21: 2100000
+ second: mat.Metal Panels 002
+ - first:
+ 23: 2300000
+ second: metal_panels_002/metal_panels_002/MeshRenderer
+ - first:
+ 28: 2800000
+ second: Metal Panels 002_baseColor
+ - first:
+ 28: 2800002
+ second: Metal Panels 002_normal
+ - first:
+ 28: 2800004
+ second: Metal Panels 002_metallic
+ - first:
+ 28: 2800006
+ second: Metal Panels 002_ambientOcclusion
+ - first:
+ 28: 2800008
+ second: Metal Panels 002_height
+ - first:
+ 33: 3300000
+ second: metal_panels_002/metal_panels_002/MeshFilter
+ - first:
+ 114: 11400000
+ second: sbsar
+ - first:
+ 114: 11400002
+ second: graph0
+ - first:
+ 135: 13500000
+ second: metal_panels_002/metal_panels_002/SphereCollider
+ - first:
+ 1001: 100100000
+ second: metal_panels_002
+ externalObjects: {}
+ serializedVersion: 2
+ userData:
+ assetBundleName:
+ assetBundleVariant:
+ script: {fileID: 232528478, guid: 43a8bbf65be290d44ba52b94476242b9, type: 3}
+ version: 29
+ projectContext: 0
+ mGraphInstanceData:
+ - graphLabel: Metal Panels 002
+ prototypeName: Metal Panels 002
+ graphDescIndex: 0
+ generateAllOutputs: 0
+ generateMipMaps: 1
+ preset: " \n \n"
+ shaderName: Standard
+ materialProperties:
+ shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
+ shaderKeywords:
+ lightmapFlags: 4
+ enableInstancingVariants: 0
+ doubleSidedGI: 0
+ customRenderQueue: -1
+ texEnvs:
+ - name: _BumpMap
+ texture: {fileID: -7157783387845257801, guid: 2e9a9dbacde66a446852af882f33e9e2,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailAlbedoMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailMask
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailNormalMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _EmissionMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MainTex
+ texture: {fileID: 6030008930922367719, guid: 2e9a9dbacde66a446852af882f33e9e2,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MetallicGlossMap
+ texture: {fileID: -5177487458041023939, guid: 2e9a9dbacde66a446852af882f33e9e2,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _OcclusionMap
+ texture: {fileID: -6221273311826804186, guid: 2e9a9dbacde66a446852af882f33e9e2,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _ParallaxMap
+ texture: {fileID: -2755774738339798629, guid: 2e9a9dbacde66a446852af882f33e9e2,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ floats:
+ - name: _BumpScale
+ float: 1
+ - name: _Cutoff
+ float: 0.5
+ - name: _DetailNormalMapScale
+ float: 1
+ - name: _DstBlend
+ float: 0
+ - name: _GlossMapScale
+ float: 1
+ - name: _Glossiness
+ float: 0.5
+ - name: _GlossyReflections
+ float: 1
+ - name: _Metallic
+ float: 0
+ - name: _Mode
+ float: 0
+ - name: _OcclusionStrength
+ float: 1
+ - name: _Parallax
+ float: 0.02
+ - name: _SmoothnessTextureChannel
+ float: 0
+ - name: _SpecularHighlights
+ float: 1
+ - name: _SrcBlend
+ float: 1
+ - name: _UVSec
+ float: 0
+ - name: _ZWrite
+ float: 1
+ colors:
+ - name: _Color
+ color: {r: 1, g: 1, b: 1, a: 1}
+ - name: _EmissionColor
+ color: {r: 0, g: 0, b: 0, a: 1}
+ outputDescList:
+ - outputName: diffuse
+ identifier: diffuse
+ usageName: diffuse
+ channelStr: diffuse
+ label: Diffuse
+ usage: 0
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: baseColor
+ identifier: basecolor
+ usageName: baseColor
+ channelStr: baseColor
+ label: Base Color
+ usage: 1
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: normal
+ identifier: normal
+ usageName: normal
+ channelStr: normal
+ label: Normal
+ usage: 7
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: specular
+ identifier: specular
+ usageName: specular
+ channelStr: specular
+ label: Specular
+ usage: 11
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: glossiness
+ identifier: glossiness
+ usageName: glossiness
+ channelStr: glossiness
+ label: Glossiness
+ usage: 14
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: roughness
+ identifier: roughness
+ usageName: roughness
+ channelStr: roughness
+ label: Roughness
+ usage: 15
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: metallic
+ identifier: metallic
+ usageName: metallic
+ channelStr: metallic
+ label: Metallic
+ usage: 34
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: ambientOcclusion
+ identifier: ambient_occlusion
+ usageName: ambientOcclusion
+ channelStr: ambientOcclusion
+ label: Ambient Occlusion
+ usage: 5
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: height
+ identifier: height
+ usageName: height
+ channelStr: height
+ label: Height
+ usage: 9
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ texturePackingList:
+ - targetName: diffuse
+ components:
+ - sourceName: diffuse
+ from: 0
+ to: 3
+ - targetName: baseColor
+ components:
+ - sourceName: baseColor
+ from: 0
+ to: 3
+ - targetName: normal
+ components:
+ - sourceName: normal
+ from: 0
+ to: 3
+ - targetName: specular
+ components:
+ - sourceName: specular
+ from: 0
+ to: 3
+ - targetName: glossiness
+ components:
+ - sourceName: glossiness
+ from: 0
+ to: 3
+ - targetName: roughness
+ components:
+ - sourceName: roughness
+ from: 0
+ to: 3
+ - targetName: metallic
+ components:
+ - sourceName: smoothness
+ from: 0
+ to: 3
+ - targetName: ambientOcclusion
+ components:
+ - sourceName: ambientOcclusion
+ from: 0
+ to: 3
+ - targetName: height
+ components:
+ - sourceName: height
+ from: 0
+ to: 3
+ textureParameters:
+ - textureName: Metal Panels 002_glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Panels 002_diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Panels 002_baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Panels 002_normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Panels 002_specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Panels 002_roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Panels 002_metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Panels 002_ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Panels 002_height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Panels 002 - diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Panels 002 - baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Panels 002 - normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Panels 002 - specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Panels 002 - glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Panels 002 - roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Panels 002 - metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Panels 002 - ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Panels 002 - height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ colorSpaceList: []
+ inputTextureMap: []
+ targetSettingList:
+ - label: Default
+ bOverride: 0
+ bLockRatio: 1
+ textureWidth: 256
+ textureHeight: 256
+ textureFormatMode: 0
+ normalCompressed: 0
+ bGenerateOnLoad: 1
+ material: {fileID: 3282252981698000714, guid: 2e9a9dbacde66a446852af882f33e9e2,
+ type: 3}
+ generatedTextures:
+ - {fileID: 6030008930922367719, guid: 2e9a9dbacde66a446852af882f33e9e2, type: 3}
+ - {fileID: -7157783387845257801, guid: 2e9a9dbacde66a446852af882f33e9e2, type: 3}
+ - {fileID: -5177487458041023939, guid: 2e9a9dbacde66a446852af882f33e9e2, type: 3}
+ - {fileID: -6221273311826804186, guid: 2e9a9dbacde66a446852af882f33e9e2, type: 3}
+ - {fileID: -2755774738339798629, guid: 2e9a9dbacde66a446852af882f33e9e2, type: 3}
diff --git a/Assets/Materials/Substance/Metal/metal_plate_001.sbsar b/Assets/Materials/Substance/Metal/metal_plate_001.sbsar
new file mode 100644
index 000000000..3d06effb9
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_plate_001.sbsar
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7c9aea022bbc0138be51bb7b89314a569ad359390a0b8d1b6b2c717d317acd8b
+size 10171
diff --git a/Assets/Materials/Substance/Metal/metal_plate_001.sbsar.meta b/Assets/Materials/Substance/Metal/metal_plate_001.sbsar.meta
new file mode 100644
index 000000000..9a0327632
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_plate_001.sbsar.meta
@@ -0,0 +1,369 @@
+fileFormatVersion: 2
+guid: 180b85899b4b1f848b348230339ce984
+ScriptedImporter:
+ internalIDToNameTable:
+ - first:
+ 1: 100000
+ second: metal_plate_001/metal_plate_001
+ - first:
+ 4: 400000
+ second: metal_plate_001/metal_plate_001/Transform
+ - first:
+ 21: 2100000
+ second: mat.Metal plate 001
+ - first:
+ 23: 2300000
+ second: metal_plate_001/metal_plate_001/MeshRenderer
+ - first:
+ 28: 2800000
+ second: Metal plate 001_baseColor
+ - first:
+ 28: 2800002
+ second: Metal plate 001_normal
+ - first:
+ 28: 2800004
+ second: Metal plate 001_metallic
+ - first:
+ 28: 2800006
+ second: Metal plate 001_ambientOcclusion
+ - first:
+ 28: 2800008
+ second: Metal plate 001_height
+ - first:
+ 33: 3300000
+ second: metal_plate_001/metal_plate_001/MeshFilter
+ - first:
+ 114: 11400000
+ second: sbsar
+ - first:
+ 114: 11400002
+ second: graph0
+ - first:
+ 135: 13500000
+ second: metal_plate_001/metal_plate_001/SphereCollider
+ - first:
+ 1001: 100100000
+ second: metal_plate_001
+ externalObjects: {}
+ serializedVersion: 2
+ userData:
+ assetBundleName:
+ assetBundleVariant:
+ script: {fileID: 232528478, guid: 43a8bbf65be290d44ba52b94476242b9, type: 3}
+ version: 29
+ projectContext: 0
+ mGraphInstanceData:
+ - graphLabel: Metal plate 001
+ prototypeName: Metal plate 001
+ graphDescIndex: 0
+ generateAllOutputs: 0
+ generateMipMaps: 1
+ preset: " \n \n"
+ shaderName: Standard
+ materialProperties:
+ shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
+ shaderKeywords:
+ lightmapFlags: 4
+ enableInstancingVariants: 0
+ doubleSidedGI: 0
+ customRenderQueue: -1
+ texEnvs:
+ - name: _BumpMap
+ texture: {fileID: 6805374924820727666, guid: 180b85899b4b1f848b348230339ce984,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailAlbedoMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailMask
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailNormalMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _EmissionMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MainTex
+ texture: {fileID: 443512894100413061, guid: 180b85899b4b1f848b348230339ce984,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MetallicGlossMap
+ texture: {fileID: -3656363544911682969, guid: 180b85899b4b1f848b348230339ce984,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _OcclusionMap
+ texture: {fileID: 6012193567810889268, guid: 180b85899b4b1f848b348230339ce984,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _ParallaxMap
+ texture: {fileID: 1247009903862830065, guid: 180b85899b4b1f848b348230339ce984,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ floats:
+ - name: _BumpScale
+ float: 1
+ - name: _Cutoff
+ float: 0.5
+ - name: _DetailNormalMapScale
+ float: 1
+ - name: _DstBlend
+ float: 0
+ - name: _GlossMapScale
+ float: 1
+ - name: _Glossiness
+ float: 0.5
+ - name: _GlossyReflections
+ float: 1
+ - name: _Metallic
+ float: 0
+ - name: _Mode
+ float: 0
+ - name: _OcclusionStrength
+ float: 1
+ - name: _Parallax
+ float: 0.02
+ - name: _SmoothnessTextureChannel
+ float: 0
+ - name: _SpecularHighlights
+ float: 1
+ - name: _SrcBlend
+ float: 1
+ - name: _UVSec
+ float: 0
+ - name: _ZWrite
+ float: 1
+ colors:
+ - name: _Color
+ color: {r: 1, g: 1, b: 1, a: 1}
+ - name: _EmissionColor
+ color: {r: 0, g: 0, b: 0, a: 1}
+ outputDescList:
+ - outputName: diffuse
+ identifier: diffuse
+ usageName: diffuse
+ channelStr: diffuse
+ label: Diffuse
+ usage: 0
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: baseColor
+ identifier: basecolor
+ usageName: baseColor
+ channelStr: baseColor
+ label: Base Color
+ usage: 1
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: normal
+ identifier: normal
+ usageName: normal
+ channelStr: normal
+ label: Normal
+ usage: 7
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: specular
+ identifier: specular
+ usageName: specular
+ channelStr: specular
+ label: Specular
+ usage: 11
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: glossiness
+ identifier: glossiness
+ usageName: glossiness
+ channelStr: glossiness
+ label: Glossiness
+ usage: 14
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: roughness
+ identifier: roughness
+ usageName: roughness
+ channelStr: roughness
+ label: Roughness
+ usage: 15
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: metallic
+ identifier: metallic
+ usageName: metallic
+ channelStr: metallic
+ label: Metallic
+ usage: 34
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: ambientOcclusion
+ identifier: ambient_occlusion
+ usageName: ambientOcclusion
+ channelStr: ambientOcclusion
+ label: Ambient Occlusion
+ usage: 5
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: height
+ identifier: height
+ usageName: height
+ channelStr: height
+ label: Height
+ usage: 9
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ texturePackingList:
+ - targetName: diffuse
+ components:
+ - sourceName: diffuse
+ from: 0
+ to: 3
+ - targetName: baseColor
+ components:
+ - sourceName: baseColor
+ from: 0
+ to: 3
+ - targetName: normal
+ components:
+ - sourceName: normal
+ from: 0
+ to: 3
+ - targetName: specular
+ components:
+ - sourceName: specular
+ from: 0
+ to: 3
+ - targetName: glossiness
+ components:
+ - sourceName: glossiness
+ from: 0
+ to: 3
+ - targetName: roughness
+ components:
+ - sourceName: roughness
+ from: 0
+ to: 3
+ - targetName: metallic
+ components:
+ - sourceName: smoothness
+ from: 0
+ to: 3
+ - targetName: ambientOcclusion
+ components:
+ - sourceName: ambientOcclusion
+ from: 0
+ to: 3
+ - targetName: height
+ components:
+ - sourceName: height
+ from: 0
+ to: 3
+ textureParameters:
+ - textureName: Metal plate 001_glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal plate 001_diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal plate 001_baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal plate 001_normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal plate 001_specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal plate 001_roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal plate 001_metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal plate 001_ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal plate 001_height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal plate 001 - diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal plate 001 - baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal plate 001 - normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal plate 001 - specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal plate 001 - glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal plate 001 - roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal plate 001 - metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal plate 001 - ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal plate 001 - height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ colorSpaceList: []
+ inputTextureMap: []
+ targetSettingList:
+ - label: Default
+ bOverride: 0
+ bLockRatio: 1
+ textureWidth: 256
+ textureHeight: 256
+ textureFormatMode: 0
+ normalCompressed: 0
+ bGenerateOnLoad: 1
+ material: {fileID: -1468868417959000437, guid: 180b85899b4b1f848b348230339ce984,
+ type: 3}
+ generatedTextures:
+ - {fileID: 443512894100413061, guid: 180b85899b4b1f848b348230339ce984, type: 3}
+ - {fileID: 6805374924820727666, guid: 180b85899b4b1f848b348230339ce984, type: 3}
+ - {fileID: -3656363544911682969, guid: 180b85899b4b1f848b348230339ce984, type: 3}
+ - {fileID: 6012193567810889268, guid: 180b85899b4b1f848b348230339ce984, type: 3}
+ - {fileID: 1247009903862830065, guid: 180b85899b4b1f848b348230339ce984, type: 3}
diff --git a/Assets/Materials/Substance/Metal/metal_plate_004.sbsar b/Assets/Materials/Substance/Metal/metal_plate_004.sbsar
new file mode 100644
index 000000000..dc0474e13
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_plate_004.sbsar
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:65295627150c30fc70fe138aee16c2266bffdd0a5b1fbcbe7fe040a3d0309d39
+size 14216
diff --git a/Assets/Materials/Substance/Metal/metal_plate_004.sbsar.meta b/Assets/Materials/Substance/Metal/metal_plate_004.sbsar.meta
new file mode 100644
index 000000000..fd4373932
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_plate_004.sbsar.meta
@@ -0,0 +1,369 @@
+fileFormatVersion: 2
+guid: 0b5dfc86c0681a3459a57d197804191b
+ScriptedImporter:
+ internalIDToNameTable:
+ - first:
+ 1: 100000
+ second: metal_plate_004/metal_plate_004
+ - first:
+ 4: 400000
+ second: metal_plate_004/metal_plate_004/Transform
+ - first:
+ 21: 2100000
+ second: mat.Metal plate 004
+ - first:
+ 23: 2300000
+ second: metal_plate_004/metal_plate_004/MeshRenderer
+ - first:
+ 28: 2800000
+ second: Metal plate 004_baseColor
+ - first:
+ 28: 2800002
+ second: Metal plate 004_normal
+ - first:
+ 28: 2800004
+ second: Metal plate 004_metallic
+ - first:
+ 28: 2800006
+ second: Metal plate 004_ambientOcclusion
+ - first:
+ 28: 2800008
+ second: Metal plate 004_height
+ - first:
+ 33: 3300000
+ second: metal_plate_004/metal_plate_004/MeshFilter
+ - first:
+ 114: 11400000
+ second: sbsar
+ - first:
+ 114: 11400002
+ second: graph0
+ - first:
+ 135: 13500000
+ second: metal_plate_004/metal_plate_004/SphereCollider
+ - first:
+ 1001: 100100000
+ second: metal_plate_004
+ externalObjects: {}
+ serializedVersion: 2
+ userData:
+ assetBundleName:
+ assetBundleVariant:
+ script: {fileID: 232528478, guid: 43a8bbf65be290d44ba52b94476242b9, type: 3}
+ version: 29
+ projectContext: 0
+ mGraphInstanceData:
+ - graphLabel: Metal plate 004
+ prototypeName: Metal plate 004
+ graphDescIndex: 0
+ generateAllOutputs: 0
+ generateMipMaps: 1
+ preset: " \n \n"
+ shaderName: Standard
+ materialProperties:
+ shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
+ shaderKeywords:
+ lightmapFlags: 4
+ enableInstancingVariants: 0
+ doubleSidedGI: 0
+ customRenderQueue: -1
+ texEnvs:
+ - name: _BumpMap
+ texture: {fileID: -7484568915117973449, guid: 0b5dfc86c0681a3459a57d197804191b,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailAlbedoMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailMask
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailNormalMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _EmissionMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MainTex
+ texture: {fileID: 1309396409266656355, guid: 0b5dfc86c0681a3459a57d197804191b,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MetallicGlossMap
+ texture: {fileID: -5781884682247363129, guid: 0b5dfc86c0681a3459a57d197804191b,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _OcclusionMap
+ texture: {fileID: 5620992320681838871, guid: 0b5dfc86c0681a3459a57d197804191b,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _ParallaxMap
+ texture: {fileID: 6570316561944570698, guid: 0b5dfc86c0681a3459a57d197804191b,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ floats:
+ - name: _BumpScale
+ float: 1
+ - name: _Cutoff
+ float: 0.5
+ - name: _DetailNormalMapScale
+ float: 1
+ - name: _DstBlend
+ float: 0
+ - name: _GlossMapScale
+ float: 1
+ - name: _Glossiness
+ float: 0.5
+ - name: _GlossyReflections
+ float: 1
+ - name: _Metallic
+ float: 0
+ - name: _Mode
+ float: 0
+ - name: _OcclusionStrength
+ float: 1
+ - name: _Parallax
+ float: 0.02
+ - name: _SmoothnessTextureChannel
+ float: 0
+ - name: _SpecularHighlights
+ float: 1
+ - name: _SrcBlend
+ float: 1
+ - name: _UVSec
+ float: 0
+ - name: _ZWrite
+ float: 1
+ colors:
+ - name: _Color
+ color: {r: 1, g: 1, b: 1, a: 1}
+ - name: _EmissionColor
+ color: {r: 0, g: 0, b: 0, a: 1}
+ outputDescList:
+ - outputName: diffuse
+ identifier: diffuse
+ usageName: diffuse
+ channelStr: diffuse
+ label: Diffuse
+ usage: 0
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: baseColor
+ identifier: basecolor
+ usageName: baseColor
+ channelStr: baseColor
+ label: Base Color
+ usage: 1
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: normal
+ identifier: normal
+ usageName: normal
+ channelStr: normal
+ label: Normal
+ usage: 7
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: specular
+ identifier: specular
+ usageName: specular
+ channelStr: specular
+ label: Specular
+ usage: 11
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: glossiness
+ identifier: glossiness
+ usageName: glossiness
+ channelStr: glossiness
+ label: Glossiness
+ usage: 14
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: roughness
+ identifier: roughness
+ usageName: roughness
+ channelStr: roughness
+ label: Roughness
+ usage: 15
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: metallic
+ identifier: metallic
+ usageName: metallic
+ channelStr: metallic
+ label: Metallic
+ usage: 34
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: ambientOcclusion
+ identifier: ambient_occlusion
+ usageName: ambientOcclusion
+ channelStr: ambientOcclusion
+ label: Ambient Occlusion
+ usage: 5
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: height
+ identifier: height
+ usageName: height
+ channelStr: height
+ label: Height
+ usage: 9
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ texturePackingList:
+ - targetName: diffuse
+ components:
+ - sourceName: diffuse
+ from: 0
+ to: 3
+ - targetName: baseColor
+ components:
+ - sourceName: baseColor
+ from: 0
+ to: 3
+ - targetName: normal
+ components:
+ - sourceName: normal
+ from: 0
+ to: 3
+ - targetName: specular
+ components:
+ - sourceName: specular
+ from: 0
+ to: 3
+ - targetName: glossiness
+ components:
+ - sourceName: glossiness
+ from: 0
+ to: 3
+ - targetName: roughness
+ components:
+ - sourceName: roughness
+ from: 0
+ to: 3
+ - targetName: metallic
+ components:
+ - sourceName: smoothness
+ from: 0
+ to: 3
+ - targetName: ambientOcclusion
+ components:
+ - sourceName: ambientOcclusion
+ from: 0
+ to: 3
+ - targetName: height
+ components:
+ - sourceName: height
+ from: 0
+ to: 3
+ textureParameters:
+ - textureName: Metal plate 004_glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal plate 004_diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal plate 004_baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal plate 004_normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal plate 004_specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal plate 004_roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal plate 004_metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal plate 004_ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal plate 004_height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal plate 004 - diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal plate 004 - baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal plate 004 - normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal plate 004 - specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal plate 004 - glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal plate 004 - roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal plate 004 - metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal plate 004 - ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal plate 004 - height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ colorSpaceList: []
+ inputTextureMap: []
+ targetSettingList:
+ - label: Default
+ bOverride: 0
+ bLockRatio: 1
+ textureWidth: 256
+ textureHeight: 256
+ textureFormatMode: 0
+ normalCompressed: 0
+ bGenerateOnLoad: 1
+ material: {fileID: -5894754650268316995, guid: 0b5dfc86c0681a3459a57d197804191b,
+ type: 3}
+ generatedTextures:
+ - {fileID: 1309396409266656355, guid: 0b5dfc86c0681a3459a57d197804191b, type: 3}
+ - {fileID: -7484568915117973449, guid: 0b5dfc86c0681a3459a57d197804191b, type: 3}
+ - {fileID: -5781884682247363129, guid: 0b5dfc86c0681a3459a57d197804191b, type: 3}
+ - {fileID: 5620992320681838871, guid: 0b5dfc86c0681a3459a57d197804191b, type: 3}
+ - {fileID: 6570316561944570698, guid: 0b5dfc86c0681a3459a57d197804191b, type: 3}
diff --git a/Assets/Materials/Substance/Metal/metal_plate_011.sbsar b/Assets/Materials/Substance/Metal/metal_plate_011.sbsar
new file mode 100644
index 000000000..c1e0a3922
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_plate_011.sbsar
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:829bc422cbe5b984103972cd7cf36d207fe0a6b561a2619301dec3e684009784
+size 9674
diff --git a/Assets/Materials/Substance/Metal/metal_plate_011.sbsar.meta b/Assets/Materials/Substance/Metal/metal_plate_011.sbsar.meta
new file mode 100644
index 000000000..55c1cd50c
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_plate_011.sbsar.meta
@@ -0,0 +1,369 @@
+fileFormatVersion: 2
+guid: ca8f080ab60226e4097841eee2bfa8db
+ScriptedImporter:
+ internalIDToNameTable:
+ - first:
+ 1: 100000
+ second: metal_plate_011/metal_plate_011
+ - first:
+ 4: 400000
+ second: metal_plate_011/metal_plate_011/Transform
+ - first:
+ 21: 2100000
+ second: mat.Metal plate 011
+ - first:
+ 23: 2300000
+ second: metal_plate_011/metal_plate_011/MeshRenderer
+ - first:
+ 28: 2800000
+ second: Metal plate 011_baseColor
+ - first:
+ 28: 2800002
+ second: Metal plate 011_normal
+ - first:
+ 28: 2800004
+ second: Metal plate 011_metallic
+ - first:
+ 28: 2800006
+ second: Metal plate 011_ambientOcclusion
+ - first:
+ 28: 2800008
+ second: Metal plate 011_height
+ - first:
+ 33: 3300000
+ second: metal_plate_011/metal_plate_011/MeshFilter
+ - first:
+ 114: 11400000
+ second: sbsar
+ - first:
+ 114: 11400002
+ second: graph0
+ - first:
+ 135: 13500000
+ second: metal_plate_011/metal_plate_011/SphereCollider
+ - first:
+ 1001: 100100000
+ second: metal_plate_011
+ externalObjects: {}
+ serializedVersion: 2
+ userData:
+ assetBundleName:
+ assetBundleVariant:
+ script: {fileID: 232528478, guid: 43a8bbf65be290d44ba52b94476242b9, type: 3}
+ version: 29
+ projectContext: 0
+ mGraphInstanceData:
+ - graphLabel: Metal plate 011
+ prototypeName: Metal plate 011
+ graphDescIndex: 0
+ generateAllOutputs: 0
+ generateMipMaps: 1
+ preset: " \n \n"
+ shaderName: Standard
+ materialProperties:
+ shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
+ shaderKeywords:
+ lightmapFlags: 4
+ enableInstancingVariants: 0
+ doubleSidedGI: 0
+ customRenderQueue: -1
+ texEnvs:
+ - name: _BumpMap
+ texture: {fileID: 1206901763152500494, guid: ca8f080ab60226e4097841eee2bfa8db,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailAlbedoMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailMask
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailNormalMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _EmissionMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MainTex
+ texture: {fileID: -562402163750398719, guid: ca8f080ab60226e4097841eee2bfa8db,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MetallicGlossMap
+ texture: {fileID: -8211546087015286653, guid: ca8f080ab60226e4097841eee2bfa8db,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _OcclusionMap
+ texture: {fileID: 7355910353852850503, guid: ca8f080ab60226e4097841eee2bfa8db,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _ParallaxMap
+ texture: {fileID: -2794334530799708578, guid: ca8f080ab60226e4097841eee2bfa8db,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ floats:
+ - name: _BumpScale
+ float: 1
+ - name: _Cutoff
+ float: 0.5
+ - name: _DetailNormalMapScale
+ float: 1
+ - name: _DstBlend
+ float: 0
+ - name: _GlossMapScale
+ float: 1
+ - name: _Glossiness
+ float: 0.5
+ - name: _GlossyReflections
+ float: 1
+ - name: _Metallic
+ float: 0
+ - name: _Mode
+ float: 0
+ - name: _OcclusionStrength
+ float: 1
+ - name: _Parallax
+ float: 0.02
+ - name: _SmoothnessTextureChannel
+ float: 0
+ - name: _SpecularHighlights
+ float: 1
+ - name: _SrcBlend
+ float: 1
+ - name: _UVSec
+ float: 0
+ - name: _ZWrite
+ float: 1
+ colors:
+ - name: _Color
+ color: {r: 1, g: 1, b: 1, a: 1}
+ - name: _EmissionColor
+ color: {r: 0, g: 0, b: 0, a: 1}
+ outputDescList:
+ - outputName: diffuse
+ identifier: diffuse
+ usageName: diffuse
+ channelStr: diffuse
+ label: Diffuse
+ usage: 0
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: baseColor
+ identifier: basecolor
+ usageName: baseColor
+ channelStr: baseColor
+ label: Base Color
+ usage: 1
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: normal
+ identifier: normal
+ usageName: normal
+ channelStr: normal
+ label: Normal
+ usage: 7
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: specular
+ identifier: specular
+ usageName: specular
+ channelStr: specular
+ label: Specular
+ usage: 11
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: glossiness
+ identifier: glossiness
+ usageName: glossiness
+ channelStr: glossiness
+ label: Glossiness
+ usage: 14
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: roughness
+ identifier: roughness
+ usageName: roughness
+ channelStr: roughness
+ label: Roughness
+ usage: 15
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: metallic
+ identifier: metallic
+ usageName: metallic
+ channelStr: metallic
+ label: Metallic
+ usage: 34
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: ambientOcclusion
+ identifier: ambient_occlusion
+ usageName: ambientOcclusion
+ channelStr: ambientOcclusion
+ label: Ambient Occlusion
+ usage: 5
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: height
+ identifier: height
+ usageName: height
+ channelStr: height
+ label: Height
+ usage: 9
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ texturePackingList:
+ - targetName: diffuse
+ components:
+ - sourceName: diffuse
+ from: 0
+ to: 3
+ - targetName: baseColor
+ components:
+ - sourceName: baseColor
+ from: 0
+ to: 3
+ - targetName: normal
+ components:
+ - sourceName: normal
+ from: 0
+ to: 3
+ - targetName: specular
+ components:
+ - sourceName: specular
+ from: 0
+ to: 3
+ - targetName: glossiness
+ components:
+ - sourceName: glossiness
+ from: 0
+ to: 3
+ - targetName: roughness
+ components:
+ - sourceName: roughness
+ from: 0
+ to: 3
+ - targetName: metallic
+ components:
+ - sourceName: smoothness
+ from: 0
+ to: 3
+ - targetName: ambientOcclusion
+ components:
+ - sourceName: ambientOcclusion
+ from: 0
+ to: 3
+ - targetName: height
+ components:
+ - sourceName: height
+ from: 0
+ to: 3
+ textureParameters:
+ - textureName: Metal plate 011_glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal plate 011_diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal plate 011_baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal plate 011_normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal plate 011_specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal plate 011_roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal plate 011_metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal plate 011_ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal plate 011_height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal plate 011 - diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal plate 011 - baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal plate 011 - normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal plate 011 - specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal plate 011 - glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal plate 011 - roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal plate 011 - metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal plate 011 - ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal plate 011 - height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ colorSpaceList: []
+ inputTextureMap: []
+ targetSettingList:
+ - label: Default
+ bOverride: 0
+ bLockRatio: 1
+ textureWidth: 256
+ textureHeight: 256
+ textureFormatMode: 0
+ normalCompressed: 0
+ bGenerateOnLoad: 1
+ material: {fileID: 5028268363422298589, guid: ca8f080ab60226e4097841eee2bfa8db,
+ type: 3}
+ generatedTextures:
+ - {fileID: -562402163750398719, guid: ca8f080ab60226e4097841eee2bfa8db, type: 3}
+ - {fileID: 1206901763152500494, guid: ca8f080ab60226e4097841eee2bfa8db, type: 3}
+ - {fileID: -8211546087015286653, guid: ca8f080ab60226e4097841eee2bfa8db, type: 3}
+ - {fileID: 7355910353852850503, guid: ca8f080ab60226e4097841eee2bfa8db, type: 3}
+ - {fileID: -2794334530799708578, guid: ca8f080ab60226e4097841eee2bfa8db, type: 3}
diff --git a/Assets/Materials/Substance/Metal/metal_platinum.sbsar b/Assets/Materials/Substance/Metal/metal_platinum.sbsar
new file mode 100644
index 000000000..ffaec19de
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_platinum.sbsar
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b880030baaf5ccc272c780265fc4b1570a55a63a8b804223ccbdc54a576b9be7
+size 5196
diff --git a/Assets/Materials/Substance/Metal/metal_platinum.sbsar.meta b/Assets/Materials/Substance/Metal/metal_platinum.sbsar.meta
new file mode 100644
index 000000000..f39efaf0d
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_platinum.sbsar.meta
@@ -0,0 +1,372 @@
+fileFormatVersion: 2
+guid: 9458f33b8e7e51a42aa19686b9779d82
+ScriptedImporter:
+ internalIDToNameTable:
+ - first:
+ 1: 100000
+ second: metal_platinum/metal_platinum
+ - first:
+ 4: 400000
+ second: metal_platinum/metal_platinum/Transform
+ - first:
+ 21: 2100000
+ second: mat.Platinum
+ - first:
+ 23: 2300000
+ second: metal_platinum/metal_platinum/MeshRenderer
+ - first:
+ 28: 2800000
+ second: Platinum_baseColor
+ - first:
+ 28: 2800002
+ second: Platinum_normal
+ - first:
+ 28: 2800004
+ second: Platinum_metallic
+ - first:
+ 28: 2800006
+ second: Platinum_ambientOcclusion
+ - first:
+ 28: 2800008
+ second: Platinum_height
+ - first:
+ 33: 3300000
+ second: metal_platinum/metal_platinum/MeshFilter
+ - first:
+ 114: 11400000
+ second: sbsar
+ - first:
+ 114: 11400002
+ second: graph0
+ - first:
+ 135: 13500000
+ second: metal_platinum/metal_platinum/SphereCollider
+ - first:
+ 1001: 100100000
+ second: metal_platinum
+ externalObjects: {}
+ serializedVersion: 2
+ userData:
+ assetBundleName:
+ assetBundleVariant:
+ script: {fileID: 232528478, guid: 43a8bbf65be290d44ba52b94476242b9, type: 3}
+ version: 29
+ projectContext: 0
+ mGraphInstanceData:
+ - graphLabel: Platinum
+ prototypeName: Platinum
+ graphDescIndex: 0
+ generateAllOutputs: 0
+ generateMipMaps: 1
+ preset: " \n \n \n \n"
+ shaderName: Standard
+ materialProperties:
+ shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
+ shaderKeywords:
+ lightmapFlags: 4
+ enableInstancingVariants: 0
+ doubleSidedGI: 0
+ customRenderQueue: -1
+ texEnvs:
+ - name: _BumpMap
+ texture: {fileID: 3498638986299907941, guid: 9458f33b8e7e51a42aa19686b9779d82,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailAlbedoMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailMask
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailNormalMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _EmissionMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MainTex
+ texture: {fileID: -8172963137857357993, guid: 9458f33b8e7e51a42aa19686b9779d82,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MetallicGlossMap
+ texture: {fileID: -8040379993892829019, guid: 9458f33b8e7e51a42aa19686b9779d82,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _OcclusionMap
+ texture: {fileID: 225164955126363719, guid: 9458f33b8e7e51a42aa19686b9779d82,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _ParallaxMap
+ texture: {fileID: -130007606447889175, guid: 9458f33b8e7e51a42aa19686b9779d82,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ floats:
+ - name: _BumpScale
+ float: 1
+ - name: _Cutoff
+ float: 0.5
+ - name: _DetailNormalMapScale
+ float: 1
+ - name: _DstBlend
+ float: 0
+ - name: _GlossMapScale
+ float: 1
+ - name: _Glossiness
+ float: 0.5
+ - name: _GlossyReflections
+ float: 1
+ - name: _Metallic
+ float: 0
+ - name: _Mode
+ float: 0
+ - name: _OcclusionStrength
+ float: 1
+ - name: _Parallax
+ float: 0.02
+ - name: _SmoothnessTextureChannel
+ float: 0
+ - name: _SpecularHighlights
+ float: 1
+ - name: _SrcBlend
+ float: 1
+ - name: _UVSec
+ float: 0
+ - name: _ZWrite
+ float: 1
+ colors:
+ - name: _Color
+ color: {r: 1, g: 1, b: 1, a: 1}
+ - name: _EmissionColor
+ color: {r: 0, g: 0, b: 0, a: 1}
+ outputDescList:
+ - outputName: diffuse
+ identifier: diffuse
+ usageName: diffuse
+ channelStr: diffuse
+ label: Diffuse
+ usage: 0
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: baseColor
+ identifier: basecolor
+ usageName: baseColor
+ channelStr: baseColor
+ label: Base Color
+ usage: 1
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: normal
+ identifier: normal
+ usageName: normal
+ channelStr: normal
+ label: Normal
+ usage: 7
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: specular
+ identifier: specular
+ usageName: specular
+ channelStr: specular
+ label: Specular
+ usage: 11
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: glossiness
+ identifier: glossiness
+ usageName: glossiness
+ channelStr: glossiness
+ label: Glossiness
+ usage: 14
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: roughness
+ identifier: roughness
+ usageName: roughness
+ channelStr: roughness
+ label: Roughness
+ usage: 15
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: metallic
+ identifier: metallic
+ usageName: metallic
+ channelStr: metallic
+ label: Metallic
+ usage: 34
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: ambientOcclusion
+ identifier: ambient_occlusion
+ usageName: ambientOcclusion
+ channelStr: ambientOcclusion
+ label: Ambient Occlusion
+ usage: 5
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: height
+ identifier: height
+ usageName: height
+ channelStr: height
+ label: Height
+ usage: 9
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ texturePackingList:
+ - targetName: diffuse
+ components:
+ - sourceName: diffuse
+ from: 0
+ to: 3
+ - targetName: baseColor
+ components:
+ - sourceName: baseColor
+ from: 0
+ to: 3
+ - targetName: normal
+ components:
+ - sourceName: normal
+ from: 0
+ to: 3
+ - targetName: specular
+ components:
+ - sourceName: specular
+ from: 0
+ to: 3
+ - targetName: glossiness
+ components:
+ - sourceName: glossiness
+ from: 0
+ to: 3
+ - targetName: roughness
+ components:
+ - sourceName: roughness
+ from: 0
+ to: 3
+ - targetName: metallic
+ components:
+ - sourceName: smoothness
+ from: 0
+ to: 3
+ - targetName: ambientOcclusion
+ components:
+ - sourceName: ambientOcclusion
+ from: 0
+ to: 3
+ - targetName: height
+ components:
+ - sourceName: height
+ from: 0
+ to: 3
+ textureParameters:
+ - textureName: Platinum_glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Platinum_diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Platinum_baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Platinum_normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Platinum_specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Platinum_roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Platinum_metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Platinum_ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Platinum_height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Platinum - diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Platinum - baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Platinum - normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Platinum - specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Platinum - glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Platinum - roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Platinum - metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Platinum - ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Platinum - height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ colorSpaceList: []
+ inputTextureMap: []
+ targetSettingList:
+ - label: Default
+ bOverride: 0
+ bLockRatio: 1
+ textureWidth: 256
+ textureHeight: 256
+ textureFormatMode: 0
+ normalCompressed: 0
+ bGenerateOnLoad: 1
+ material: {fileID: 8636029498071112704, guid: 9458f33b8e7e51a42aa19686b9779d82,
+ type: 3}
+ generatedTextures:
+ - {fileID: -8172963137857357993, guid: 9458f33b8e7e51a42aa19686b9779d82, type: 3}
+ - {fileID: 3498638986299907941, guid: 9458f33b8e7e51a42aa19686b9779d82, type: 3}
+ - {fileID: -8040379993892829019, guid: 9458f33b8e7e51a42aa19686b9779d82, type: 3}
+ - {fileID: 225164955126363719, guid: 9458f33b8e7e51a42aa19686b9779d82, type: 3}
+ - {fileID: -130007606447889175, guid: 9458f33b8e7e51a42aa19686b9779d82, type: 3}
diff --git a/Assets/Materials/Substance/Metal/metal_roll_up.sbsar b/Assets/Materials/Substance/Metal/metal_roll_up.sbsar
new file mode 100644
index 000000000..db99f183e
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_roll_up.sbsar
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:1a2036e21cdd2d392fdcb755d2faf982335fc4deaa8c7b913110db234fa04f3a
+size 11017
diff --git a/Assets/Materials/Substance/Metal/metal_roll_up.sbsar.meta b/Assets/Materials/Substance/Metal/metal_roll_up.sbsar.meta
new file mode 100644
index 000000000..3d93351e8
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_roll_up.sbsar.meta
@@ -0,0 +1,369 @@
+fileFormatVersion: 2
+guid: 4e39297ae4fe9ee4b803c04eabb69da7
+ScriptedImporter:
+ internalIDToNameTable:
+ - first:
+ 1: 100000
+ second: metal_roll_up/metal_roll_up
+ - first:
+ 4: 400000
+ second: metal_roll_up/metal_roll_up/Transform
+ - first:
+ 21: 2100000
+ second: mat.Metal roll up
+ - first:
+ 23: 2300000
+ second: metal_roll_up/metal_roll_up/MeshRenderer
+ - first:
+ 28: 2800000
+ second: Metal roll up_baseColor
+ - first:
+ 28: 2800002
+ second: Metal roll up_normal
+ - first:
+ 28: 2800004
+ second: Metal roll up_metallic
+ - first:
+ 28: 2800006
+ second: Metal roll up_ambientOcclusion
+ - first:
+ 28: 2800008
+ second: Metal roll up_height
+ - first:
+ 33: 3300000
+ second: metal_roll_up/metal_roll_up/MeshFilter
+ - first:
+ 114: 11400000
+ second: sbsar
+ - first:
+ 114: 11400002
+ second: graph0
+ - first:
+ 135: 13500000
+ second: metal_roll_up/metal_roll_up/SphereCollider
+ - first:
+ 1001: 100100000
+ second: metal_roll_up
+ externalObjects: {}
+ serializedVersion: 2
+ userData:
+ assetBundleName:
+ assetBundleVariant:
+ script: {fileID: 232528478, guid: 43a8bbf65be290d44ba52b94476242b9, type: 3}
+ version: 29
+ projectContext: 0
+ mGraphInstanceData:
+ - graphLabel: Metal roll up
+ prototypeName: Metal roll up
+ graphDescIndex: 0
+ generateAllOutputs: 0
+ generateMipMaps: 1
+ preset: " \n \n"
+ shaderName: Standard
+ materialProperties:
+ shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
+ shaderKeywords:
+ lightmapFlags: 4
+ enableInstancingVariants: 0
+ doubleSidedGI: 0
+ customRenderQueue: -1
+ texEnvs:
+ - name: _BumpMap
+ texture: {fileID: 1258325809611119299, guid: 4e39297ae4fe9ee4b803c04eabb69da7,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailAlbedoMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailMask
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailNormalMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _EmissionMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MainTex
+ texture: {fileID: -5250987364813910665, guid: 4e39297ae4fe9ee4b803c04eabb69da7,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MetallicGlossMap
+ texture: {fileID: -1897870436205287166, guid: 4e39297ae4fe9ee4b803c04eabb69da7,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _OcclusionMap
+ texture: {fileID: 7199963334284863655, guid: 4e39297ae4fe9ee4b803c04eabb69da7,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _ParallaxMap
+ texture: {fileID: 1153539711168243343, guid: 4e39297ae4fe9ee4b803c04eabb69da7,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ floats:
+ - name: _BumpScale
+ float: 1
+ - name: _Cutoff
+ float: 0.5
+ - name: _DetailNormalMapScale
+ float: 1
+ - name: _DstBlend
+ float: 0
+ - name: _GlossMapScale
+ float: 1
+ - name: _Glossiness
+ float: 0.5
+ - name: _GlossyReflections
+ float: 1
+ - name: _Metallic
+ float: 0
+ - name: _Mode
+ float: 0
+ - name: _OcclusionStrength
+ float: 1
+ - name: _Parallax
+ float: 0.02
+ - name: _SmoothnessTextureChannel
+ float: 0
+ - name: _SpecularHighlights
+ float: 1
+ - name: _SrcBlend
+ float: 1
+ - name: _UVSec
+ float: 0
+ - name: _ZWrite
+ float: 1
+ colors:
+ - name: _Color
+ color: {r: 1, g: 1, b: 1, a: 1}
+ - name: _EmissionColor
+ color: {r: 0, g: 0, b: 0, a: 1}
+ outputDescList:
+ - outputName: diffuse
+ identifier: diffuse
+ usageName: diffuse
+ channelStr: diffuse
+ label: Diffuse
+ usage: 0
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: baseColor
+ identifier: basecolor
+ usageName: baseColor
+ channelStr: baseColor
+ label: Base Color
+ usage: 1
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: normal
+ identifier: normal
+ usageName: normal
+ channelStr: normal
+ label: Normal
+ usage: 7
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: specular
+ identifier: specular
+ usageName: specular
+ channelStr: specular
+ label: Specular
+ usage: 11
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: glossiness
+ identifier: glossiness
+ usageName: glossiness
+ channelStr: glossiness
+ label: Glossiness
+ usage: 14
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: roughness
+ identifier: roughness
+ usageName: roughness
+ channelStr: roughness
+ label: Roughness
+ usage: 15
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: metallic
+ identifier: metallic
+ usageName: metallic
+ channelStr: metallic
+ label: Metallic
+ usage: 34
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: ambientOcclusion
+ identifier: ambient_occlusion
+ usageName: ambientOcclusion
+ channelStr: ambientOcclusion
+ label: Ambient Occlusion
+ usage: 5
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: height
+ identifier: height
+ usageName: height
+ channelStr: height
+ label: Height
+ usage: 9
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ texturePackingList:
+ - targetName: diffuse
+ components:
+ - sourceName: diffuse
+ from: 0
+ to: 3
+ - targetName: baseColor
+ components:
+ - sourceName: baseColor
+ from: 0
+ to: 3
+ - targetName: normal
+ components:
+ - sourceName: normal
+ from: 0
+ to: 3
+ - targetName: specular
+ components:
+ - sourceName: specular
+ from: 0
+ to: 3
+ - targetName: glossiness
+ components:
+ - sourceName: glossiness
+ from: 0
+ to: 3
+ - targetName: roughness
+ components:
+ - sourceName: roughness
+ from: 0
+ to: 3
+ - targetName: metallic
+ components:
+ - sourceName: smoothness
+ from: 0
+ to: 3
+ - targetName: ambientOcclusion
+ components:
+ - sourceName: ambientOcclusion
+ from: 0
+ to: 3
+ - targetName: height
+ components:
+ - sourceName: height
+ from: 0
+ to: 3
+ textureParameters:
+ - textureName: Metal roll up_glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal roll up_diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal roll up_baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal roll up_normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal roll up_specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal roll up_roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal roll up_metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal roll up_ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal roll up_height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal roll up - diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal roll up - baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal roll up - normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal roll up - specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal roll up - glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal roll up - roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal roll up - metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal roll up - ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal roll up - height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ colorSpaceList: []
+ inputTextureMap: []
+ targetSettingList:
+ - label: Default
+ bOverride: 0
+ bLockRatio: 1
+ textureWidth: 256
+ textureHeight: 256
+ textureFormatMode: 0
+ normalCompressed: 0
+ bGenerateOnLoad: 1
+ material: {fileID: 7440086527666654772, guid: 4e39297ae4fe9ee4b803c04eabb69da7,
+ type: 3}
+ generatedTextures:
+ - {fileID: -5250987364813910665, guid: 4e39297ae4fe9ee4b803c04eabb69da7, type: 3}
+ - {fileID: 1258325809611119299, guid: 4e39297ae4fe9ee4b803c04eabb69da7, type: 3}
+ - {fileID: -1897870436205287166, guid: 4e39297ae4fe9ee4b803c04eabb69da7, type: 3}
+ - {fileID: 7199963334284863655, guid: 4e39297ae4fe9ee4b803c04eabb69da7, type: 3}
+ - {fileID: 1153539711168243343, guid: 4e39297ae4fe9ee4b803c04eabb69da7, type: 3}
diff --git a/Assets/Materials/Substance/Metal/metal_silver.sbsar b/Assets/Materials/Substance/Metal/metal_silver.sbsar
new file mode 100644
index 000000000..08b0ac146
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_silver.sbsar
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:4b18ce39a69d5e25641d53fcbe04f281c92ca7e01936e6a9b279476be8ff3255
+size 6898
diff --git a/Assets/Materials/Substance/Metal/metal_silver.sbsar.meta b/Assets/Materials/Substance/Metal/metal_silver.sbsar.meta
new file mode 100644
index 000000000..326559316
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_silver.sbsar.meta
@@ -0,0 +1,369 @@
+fileFormatVersion: 2
+guid: 0be5fb1df83ac8e499a3f6a060041e49
+ScriptedImporter:
+ internalIDToNameTable:
+ - first:
+ 1: 100000
+ second: metal_silver/metal_silver
+ - first:
+ 4: 400000
+ second: metal_silver/metal_silver/Transform
+ - first:
+ 21: 2100000
+ second: mat.Silver
+ - first:
+ 23: 2300000
+ second: metal_silver/metal_silver/MeshRenderer
+ - first:
+ 28: 2800000
+ second: Silver_baseColor
+ - first:
+ 28: 2800002
+ second: Silver_normal
+ - first:
+ 28: 2800004
+ second: Silver_metallic
+ - first:
+ 28: 2800006
+ second: Silver_ambientOcclusion
+ - first:
+ 28: 2800008
+ second: Silver_height
+ - first:
+ 33: 3300000
+ second: metal_silver/metal_silver/MeshFilter
+ - first:
+ 114: 11400000
+ second: sbsar
+ - first:
+ 114: 11400002
+ second: graph0
+ - first:
+ 135: 13500000
+ second: metal_silver/metal_silver/SphereCollider
+ - first:
+ 1001: 100100000
+ second: metal_silver
+ externalObjects: {}
+ serializedVersion: 2
+ userData:
+ assetBundleName:
+ assetBundleVariant:
+ script: {fileID: 232528478, guid: 43a8bbf65be290d44ba52b94476242b9, type: 3}
+ version: 29
+ projectContext: 0
+ mGraphInstanceData:
+ - graphLabel: Silver
+ prototypeName: Silver
+ graphDescIndex: 0
+ generateAllOutputs: 0
+ generateMipMaps: 1
+ preset: " \n \n"
+ shaderName: Standard
+ materialProperties:
+ shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
+ shaderKeywords:
+ lightmapFlags: 4
+ enableInstancingVariants: 0
+ doubleSidedGI: 0
+ customRenderQueue: -1
+ texEnvs:
+ - name: _BumpMap
+ texture: {fileID: 8947980237086559854, guid: 0be5fb1df83ac8e499a3f6a060041e49,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailAlbedoMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailMask
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailNormalMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _EmissionMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MainTex
+ texture: {fileID: -1383037052668628532, guid: 0be5fb1df83ac8e499a3f6a060041e49,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MetallicGlossMap
+ texture: {fileID: 6429125567479694453, guid: 0be5fb1df83ac8e499a3f6a060041e49,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _OcclusionMap
+ texture: {fileID: -9097439929179392311, guid: 0be5fb1df83ac8e499a3f6a060041e49,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _ParallaxMap
+ texture: {fileID: 425190381137097012, guid: 0be5fb1df83ac8e499a3f6a060041e49,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ floats:
+ - name: _BumpScale
+ float: 1
+ - name: _Cutoff
+ float: 0.5
+ - name: _DetailNormalMapScale
+ float: 1
+ - name: _DstBlend
+ float: 0
+ - name: _GlossMapScale
+ float: 1
+ - name: _Glossiness
+ float: 0.5
+ - name: _GlossyReflections
+ float: 1
+ - name: _Metallic
+ float: 0
+ - name: _Mode
+ float: 0
+ - name: _OcclusionStrength
+ float: 1
+ - name: _Parallax
+ float: 0.02
+ - name: _SmoothnessTextureChannel
+ float: 0
+ - name: _SpecularHighlights
+ float: 1
+ - name: _SrcBlend
+ float: 1
+ - name: _UVSec
+ float: 0
+ - name: _ZWrite
+ float: 1
+ colors:
+ - name: _Color
+ color: {r: 1, g: 1, b: 1, a: 1}
+ - name: _EmissionColor
+ color: {r: 0, g: 0, b: 0, a: 1}
+ outputDescList:
+ - outputName: diffuse
+ identifier: diffuse
+ usageName: diffuse
+ channelStr: diffuse
+ label: Diffuse
+ usage: 0
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: baseColor
+ identifier: basecolor
+ usageName: baseColor
+ channelStr: baseColor
+ label: Base Color
+ usage: 1
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: normal
+ identifier: normal
+ usageName: normal
+ channelStr: normal
+ label: Normal
+ usage: 7
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: specular
+ identifier: specular
+ usageName: specular
+ channelStr: specular
+ label: Specular
+ usage: 11
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: glossiness
+ identifier: glossiness
+ usageName: glossiness
+ channelStr: glossiness
+ label: Glossiness
+ usage: 14
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: roughness
+ identifier: roughness
+ usageName: roughness
+ channelStr: roughness
+ label: Roughness
+ usage: 15
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: metallic
+ identifier: metallic
+ usageName: metallic
+ channelStr: metallic
+ label: Metallic
+ usage: 34
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: ambientOcclusion
+ identifier: ambient_occlusion
+ usageName: ambientOcclusion
+ channelStr: ambientOcclusion
+ label: Ambient Occlusion
+ usage: 5
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: height
+ identifier: height
+ usageName: height
+ channelStr: height
+ label: Height
+ usage: 9
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ texturePackingList:
+ - targetName: diffuse
+ components:
+ - sourceName: diffuse
+ from: 0
+ to: 3
+ - targetName: baseColor
+ components:
+ - sourceName: baseColor
+ from: 0
+ to: 3
+ - targetName: normal
+ components:
+ - sourceName: normal
+ from: 0
+ to: 3
+ - targetName: specular
+ components:
+ - sourceName: specular
+ from: 0
+ to: 3
+ - targetName: glossiness
+ components:
+ - sourceName: glossiness
+ from: 0
+ to: 3
+ - targetName: roughness
+ components:
+ - sourceName: roughness
+ from: 0
+ to: 3
+ - targetName: metallic
+ components:
+ - sourceName: smoothness
+ from: 0
+ to: 3
+ - targetName: ambientOcclusion
+ components:
+ - sourceName: ambientOcclusion
+ from: 0
+ to: 3
+ - targetName: height
+ components:
+ - sourceName: height
+ from: 0
+ to: 3
+ textureParameters:
+ - textureName: Silver_glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Silver_diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Silver_baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Silver_normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Silver_specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Silver_roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Silver_metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Silver_ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Silver_height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Silver - diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Silver - baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Silver - normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Silver - specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Silver - glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Silver - roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Silver - metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Silver - ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Silver - height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ colorSpaceList: []
+ inputTextureMap: []
+ targetSettingList:
+ - label: Default
+ bOverride: 0
+ bLockRatio: 1
+ textureWidth: 256
+ textureHeight: 256
+ textureFormatMode: 0
+ normalCompressed: 0
+ bGenerateOnLoad: 1
+ material: {fileID: 7490952440742008943, guid: 0be5fb1df83ac8e499a3f6a060041e49,
+ type: 3}
+ generatedTextures:
+ - {fileID: -1383037052668628532, guid: 0be5fb1df83ac8e499a3f6a060041e49, type: 3}
+ - {fileID: 8947980237086559854, guid: 0be5fb1df83ac8e499a3f6a060041e49, type: 3}
+ - {fileID: 6429125567479694453, guid: 0be5fb1df83ac8e499a3f6a060041e49, type: 3}
+ - {fileID: -9097439929179392311, guid: 0be5fb1df83ac8e499a3f6a060041e49, type: 3}
+ - {fileID: 425190381137097012, guid: 0be5fb1df83ac8e499a3f6a060041e49, type: 3}
diff --git a/Assets/Materials/Substance/Metal/metal_steel.sbsar b/Assets/Materials/Substance/Metal/metal_steel.sbsar
new file mode 100644
index 000000000..31ec34fd3
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_steel.sbsar
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d559edac51ad4c529c197d7c9a813fe8c2fa1bcb0963cd0f8bad8ab1403b3821
+size 10697
diff --git a/Assets/Materials/Substance/Metal/metal_steel.sbsar.meta b/Assets/Materials/Substance/Metal/metal_steel.sbsar.meta
new file mode 100644
index 000000000..172d4668b
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_steel.sbsar.meta
@@ -0,0 +1,375 @@
+fileFormatVersion: 2
+guid: cbc61995a46604441ab9de4f1c68e290
+ScriptedImporter:
+ internalIDToNameTable:
+ - first:
+ 1: 100000
+ second: metal_steel/metal_steel
+ - first:
+ 4: 400000
+ second: metal_steel/metal_steel/Transform
+ - first:
+ 21: 2100000
+ second: mat.Steel
+ - first:
+ 23: 2300000
+ second: metal_steel/metal_steel/MeshRenderer
+ - first:
+ 28: 2800000
+ second: Steel_baseColor
+ - first:
+ 28: 2800002
+ second: Steel_normal
+ - first:
+ 28: 2800004
+ second: Steel_metallic
+ - first:
+ 28: 2800006
+ second: Steel_ambientOcclusion
+ - first:
+ 28: 2800008
+ second: Steel_height
+ - first:
+ 33: 3300000
+ second: metal_steel/metal_steel/MeshFilter
+ - first:
+ 114: 11400000
+ second: sbsar
+ - first:
+ 114: 11400002
+ second: graph0
+ - first:
+ 135: 13500000
+ second: metal_steel/metal_steel/SphereCollider
+ - first:
+ 1001: 100100000
+ second: metal_steel
+ externalObjects: {}
+ serializedVersion: 2
+ userData:
+ assetBundleName:
+ assetBundleVariant:
+ script: {fileID: 232528478, guid: 43a8bbf65be290d44ba52b94476242b9, type: 3}
+ version: 29
+ projectContext: 0
+ mGraphInstanceData:
+ - graphLabel: Steel
+ prototypeName: Steel
+ graphDescIndex: 0
+ generateAllOutputs: 0
+ generateMipMaps: 1
+ preset: " \n \n
+ \n \n \n \n \n"
+ shaderName: Standard
+ materialProperties:
+ shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
+ shaderKeywords:
+ lightmapFlags: 4
+ enableInstancingVariants: 0
+ doubleSidedGI: 0
+ customRenderQueue: -1
+ texEnvs:
+ - name: _BumpMap
+ texture: {fileID: -3888315358723833787, guid: cbc61995a46604441ab9de4f1c68e290,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailAlbedoMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailMask
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailNormalMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _EmissionMap
+ texture: {instanceID: 0}
+ scale: {x: 4, y: 4}
+ offset: {x: 0, y: 0}
+ - name: _MainTex
+ texture: {fileID: 108215966750249586, guid: cbc61995a46604441ab9de4f1c68e290,
+ type: 3}
+ scale: {x: 4, y: 4}
+ offset: {x: 0, y: 0}
+ - name: _MetallicGlossMap
+ texture: {fileID: 4793252353645218242, guid: cbc61995a46604441ab9de4f1c68e290,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _OcclusionMap
+ texture: {fileID: -4384182597330533215, guid: cbc61995a46604441ab9de4f1c68e290,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _ParallaxMap
+ texture: {fileID: 4600200897981803784, guid: cbc61995a46604441ab9de4f1c68e290,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ floats:
+ - name: _BumpScale
+ float: 1
+ - name: _Cutoff
+ float: 0.5
+ - name: _DetailNormalMapScale
+ float: 1
+ - name: _DstBlend
+ float: 0
+ - name: _GlossMapScale
+ float: 1
+ - name: _Glossiness
+ float: 0.5
+ - name: _GlossyReflections
+ float: 1
+ - name: _Metallic
+ float: 0
+ - name: _Mode
+ float: 0
+ - name: _OcclusionStrength
+ float: 1
+ - name: _Parallax
+ float: 0.02
+ - name: _SmoothnessTextureChannel
+ float: 0
+ - name: _SpecularHighlights
+ float: 1
+ - name: _SrcBlend
+ float: 1
+ - name: _UVSec
+ float: 0
+ - name: _ZWrite
+ float: 1
+ colors:
+ - name: _Color
+ color: {r: 1, g: 1, b: 1, a: 1}
+ - name: _EmissionColor
+ color: {r: 0, g: 0, b: 0, a: 1}
+ outputDescList:
+ - outputName: diffuse
+ identifier: diffuse
+ usageName: diffuse
+ channelStr: diffuse
+ label: Diffuse
+ usage: 0
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: baseColor
+ identifier: basecolor
+ usageName: baseColor
+ channelStr: baseColor
+ label: Base Color
+ usage: 1
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: normal
+ identifier: normal
+ usageName: normal
+ channelStr: normal
+ label: Normal
+ usage: 7
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: specular
+ identifier: specular
+ usageName: specular
+ channelStr: specular
+ label: Specular
+ usage: 11
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: glossiness
+ identifier: glossiness
+ usageName: glossiness
+ channelStr: glossiness
+ label: Glossiness
+ usage: 14
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: roughness
+ identifier: roughness
+ usageName: roughness
+ channelStr: roughness
+ label: Roughness
+ usage: 15
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: metallic
+ identifier: metallic
+ usageName: metallic
+ channelStr: metallic
+ label: Metallic
+ usage: 34
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: ambientOcclusion
+ identifier: ambient_occlusion
+ usageName: ambientOcclusion
+ channelStr: ambientOcclusion
+ label: Ambient Occlusion
+ usage: 5
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: height
+ identifier: height
+ usageName: height
+ channelStr: height
+ label: Height
+ usage: 9
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ texturePackingList:
+ - targetName: diffuse
+ components:
+ - sourceName: diffuse
+ from: 0
+ to: 3
+ - targetName: baseColor
+ components:
+ - sourceName: baseColor
+ from: 0
+ to: 3
+ - targetName: normal
+ components:
+ - sourceName: normal
+ from: 0
+ to: 3
+ - targetName: specular
+ components:
+ - sourceName: specular
+ from: 0
+ to: 3
+ - targetName: glossiness
+ components:
+ - sourceName: glossiness
+ from: 0
+ to: 3
+ - targetName: roughness
+ components:
+ - sourceName: roughness
+ from: 0
+ to: 3
+ - targetName: metallic
+ components:
+ - sourceName: smoothness
+ from: 0
+ to: 3
+ - targetName: ambientOcclusion
+ components:
+ - sourceName: ambientOcclusion
+ from: 0
+ to: 3
+ - targetName: height
+ components:
+ - sourceName: height
+ from: 0
+ to: 3
+ textureParameters:
+ - textureName: Steel_glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel_diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel_baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel_normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel_specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel_roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel_metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel_ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel_height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel - diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel - baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel - normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel - specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel - glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel - roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel - metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel - ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel - height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ colorSpaceList: []
+ inputTextureMap: []
+ targetSettingList:
+ - label: Default
+ bOverride: 0
+ bLockRatio: 1
+ textureWidth: 512
+ textureHeight: 512
+ textureFormatMode: 0
+ normalCompressed: 0
+ bGenerateOnLoad: 1
+ material: {fileID: -3155047780354543793, guid: cbc61995a46604441ab9de4f1c68e290,
+ type: 3}
+ generatedTextures:
+ - {fileID: 108215966750249586, guid: cbc61995a46604441ab9de4f1c68e290, type: 3}
+ - {fileID: -3888315358723833787, guid: cbc61995a46604441ab9de4f1c68e290, type: 3}
+ - {fileID: 4793252353645218242, guid: cbc61995a46604441ab9de4f1c68e290, type: 3}
+ - {fileID: -4384182597330533215, guid: cbc61995a46604441ab9de4f1c68e290, type: 3}
+ - {fileID: 4600200897981803784, guid: cbc61995a46604441ab9de4f1c68e290, type: 3}
diff --git a/Assets/Materials/Substance/Metal/metal_steel_brushed.sbsar b/Assets/Materials/Substance/Metal/metal_steel_brushed.sbsar
new file mode 100644
index 000000000..45c0b10b3
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_steel_brushed.sbsar
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:bf6b40453b42e050b2ce05478f1c1964d9489cdf02413f12b40f4ce1e49b4432
+size 12832
diff --git a/Assets/Materials/Substance/Metal/metal_steel_brushed.sbsar.meta b/Assets/Materials/Substance/Metal/metal_steel_brushed.sbsar.meta
new file mode 100644
index 000000000..d08c0d290
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_steel_brushed.sbsar.meta
@@ -0,0 +1,370 @@
+fileFormatVersion: 2
+guid: ea7457b9a4f0bcb43becaa33de541cbd
+ScriptedImporter:
+ internalIDToNameTable:
+ - first:
+ 1: 100000
+ second: metal_steel_brushed/metal_steel_brushed
+ - first:
+ 4: 400000
+ second: metal_steel_brushed/metal_steel_brushed/Transform
+ - first:
+ 21: 2100000
+ second: mat.Steel brushed
+ - first:
+ 23: 2300000
+ second: metal_steel_brushed/metal_steel_brushed/MeshRenderer
+ - first:
+ 28: 2800000
+ second: Steel brushed_baseColor
+ - first:
+ 28: 2800002
+ second: Steel brushed_normal
+ - first:
+ 28: 2800004
+ second: Steel brushed_metallic
+ - first:
+ 28: 2800006
+ second: Steel brushed_ambientOcclusion
+ - first:
+ 28: 2800008
+ second: Steel brushed_height
+ - first:
+ 33: 3300000
+ second: metal_steel_brushed/metal_steel_brushed/MeshFilter
+ - first:
+ 114: 11400000
+ second: sbsar
+ - first:
+ 114: 11400002
+ second: graph0
+ - first:
+ 135: 13500000
+ second: metal_steel_brushed/metal_steel_brushed/SphereCollider
+ - first:
+ 1001: 100100000
+ second: metal_steel_brushed
+ externalObjects: {}
+ serializedVersion: 2
+ userData:
+ assetBundleName:
+ assetBundleVariant:
+ script: {fileID: 232528478, guid: 43a8bbf65be290d44ba52b94476242b9, type: 3}
+ version: 29
+ projectContext: 0
+ mGraphInstanceData:
+ - graphLabel: Steel brushed
+ prototypeName: Steel brushed
+ graphDescIndex: 0
+ generateAllOutputs: 0
+ generateMipMaps: 1
+ preset: " \n \n \n"
+ shaderName: Standard
+ materialProperties:
+ shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
+ shaderKeywords:
+ lightmapFlags: 4
+ enableInstancingVariants: 0
+ doubleSidedGI: 0
+ customRenderQueue: -1
+ texEnvs:
+ - name: _BumpMap
+ texture: {fileID: -4471413742775304797, guid: ea7457b9a4f0bcb43becaa33de541cbd,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailAlbedoMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailMask
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailNormalMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _EmissionMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MainTex
+ texture: {fileID: -4638397344074346932, guid: ea7457b9a4f0bcb43becaa33de541cbd,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MetallicGlossMap
+ texture: {fileID: 5049811794194361025, guid: ea7457b9a4f0bcb43becaa33de541cbd,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _OcclusionMap
+ texture: {fileID: 1753668427856518731, guid: ea7457b9a4f0bcb43becaa33de541cbd,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _ParallaxMap
+ texture: {fileID: -3498708498072814504, guid: ea7457b9a4f0bcb43becaa33de541cbd,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ floats:
+ - name: _BumpScale
+ float: 1
+ - name: _Cutoff
+ float: 0.5
+ - name: _DetailNormalMapScale
+ float: 1
+ - name: _DstBlend
+ float: 0
+ - name: _GlossMapScale
+ float: 1
+ - name: _Glossiness
+ float: 0.5
+ - name: _GlossyReflections
+ float: 1
+ - name: _Metallic
+ float: 0
+ - name: _Mode
+ float: 0
+ - name: _OcclusionStrength
+ float: 1
+ - name: _Parallax
+ float: 0.02
+ - name: _SmoothnessTextureChannel
+ float: 0
+ - name: _SpecularHighlights
+ float: 1
+ - name: _SrcBlend
+ float: 1
+ - name: _UVSec
+ float: 0
+ - name: _ZWrite
+ float: 1
+ colors:
+ - name: _Color
+ color: {r: 1, g: 1, b: 1, a: 1}
+ - name: _EmissionColor
+ color: {r: 0, g: 0, b: 0, a: 1}
+ outputDescList:
+ - outputName: diffuse
+ identifier: diffuse
+ usageName: diffuse
+ channelStr: diffuse
+ label: Diffuse
+ usage: 0
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: baseColor
+ identifier: basecolor
+ usageName: baseColor
+ channelStr: baseColor
+ label: Base Color
+ usage: 1
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: normal
+ identifier: normal
+ usageName: normal
+ channelStr: normal
+ label: Normal
+ usage: 7
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: specular
+ identifier: specular
+ usageName: specular
+ channelStr: specular
+ label: Specular
+ usage: 11
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: glossiness
+ identifier: glossiness
+ usageName: glossiness
+ channelStr: glossiness
+ label: Glossiness
+ usage: 14
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: roughness
+ identifier: roughness
+ usageName: roughness
+ channelStr: roughness
+ label: Roughness
+ usage: 15
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: metallic
+ identifier: metallic
+ usageName: metallic
+ channelStr: metallic
+ label: Metallic
+ usage: 34
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: ambientOcclusion
+ identifier: ambient_occlusion
+ usageName: ambientOcclusion
+ channelStr: ambientOcclusion
+ label: Ambient Occlusion
+ usage: 5
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: height
+ identifier: height
+ usageName: height
+ channelStr: height
+ label: Height
+ usage: 9
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ texturePackingList:
+ - targetName: diffuse
+ components:
+ - sourceName: diffuse
+ from: 0
+ to: 3
+ - targetName: baseColor
+ components:
+ - sourceName: baseColor
+ from: 0
+ to: 3
+ - targetName: normal
+ components:
+ - sourceName: normal
+ from: 0
+ to: 3
+ - targetName: specular
+ components:
+ - sourceName: specular
+ from: 0
+ to: 3
+ - targetName: glossiness
+ components:
+ - sourceName: glossiness
+ from: 0
+ to: 3
+ - targetName: roughness
+ components:
+ - sourceName: roughness
+ from: 0
+ to: 3
+ - targetName: metallic
+ components:
+ - sourceName: smoothness
+ from: 0
+ to: 3
+ - targetName: ambientOcclusion
+ components:
+ - sourceName: ambientOcclusion
+ from: 0
+ to: 3
+ - targetName: height
+ components:
+ - sourceName: height
+ from: 0
+ to: 3
+ textureParameters:
+ - textureName: Steel brushed_glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel brushed_diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel brushed_baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel brushed_normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel brushed_specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel brushed_roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel brushed_metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel brushed_ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel brushed_height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel brushed - diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel brushed - baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel brushed - normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel brushed - specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel brushed - glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel brushed - roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel brushed - metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel brushed - ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel brushed - height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ colorSpaceList: []
+ inputTextureMap: []
+ targetSettingList:
+ - label: Default
+ bOverride: 0
+ bLockRatio: 1
+ textureWidth: 256
+ textureHeight: 256
+ textureFormatMode: 0
+ normalCompressed: 0
+ bGenerateOnLoad: 1
+ material: {fileID: 7852708265981260911, guid: ea7457b9a4f0bcb43becaa33de541cbd,
+ type: 3}
+ generatedTextures:
+ - {fileID: -4638397344074346932, guid: ea7457b9a4f0bcb43becaa33de541cbd, type: 3}
+ - {fileID: -4471413742775304797, guid: ea7457b9a4f0bcb43becaa33de541cbd, type: 3}
+ - {fileID: 5049811794194361025, guid: ea7457b9a4f0bcb43becaa33de541cbd, type: 3}
+ - {fileID: 1753668427856518731, guid: ea7457b9a4f0bcb43becaa33de541cbd, type: 3}
+ - {fileID: -3498708498072814504, guid: ea7457b9a4f0bcb43becaa33de541cbd, type: 3}
diff --git a/Assets/Materials/Substance/Metal/metal_steel_bumped.sbsar b/Assets/Materials/Substance/Metal/metal_steel_bumped.sbsar
new file mode 100644
index 000000000..6580295bb
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_steel_bumped.sbsar
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:a9ae449451a55abd8466e8af67685a45d86fd39ea2070294dde7f2a07776bea5
+size 17275
diff --git a/Assets/Materials/Substance/Metal/metal_steel_bumped.sbsar.meta b/Assets/Materials/Substance/Metal/metal_steel_bumped.sbsar.meta
new file mode 100644
index 000000000..1dd652796
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_steel_bumped.sbsar.meta
@@ -0,0 +1,369 @@
+fileFormatVersion: 2
+guid: 092bdd8d243488141aeab5bb0d72429a
+ScriptedImporter:
+ internalIDToNameTable:
+ - first:
+ 1: 100000
+ second: metal_steel_bumped/metal_steel_bumped
+ - first:
+ 4: 400000
+ second: metal_steel_bumped/metal_steel_bumped/Transform
+ - first:
+ 21: 2100000
+ second: mat.Steel bumped
+ - first:
+ 23: 2300000
+ second: metal_steel_bumped/metal_steel_bumped/MeshRenderer
+ - first:
+ 28: 2800000
+ second: Steel bumped_baseColor
+ - first:
+ 28: 2800002
+ second: Steel bumped_normal
+ - first:
+ 28: 2800004
+ second: Steel bumped_metallic
+ - first:
+ 28: 2800006
+ second: Steel bumped_ambientOcclusion
+ - first:
+ 28: 2800008
+ second: Steel bumped_height
+ - first:
+ 33: 3300000
+ second: metal_steel_bumped/metal_steel_bumped/MeshFilter
+ - first:
+ 114: 11400000
+ second: sbsar
+ - first:
+ 114: 11400002
+ second: graph0
+ - first:
+ 135: 13500000
+ second: metal_steel_bumped/metal_steel_bumped/SphereCollider
+ - first:
+ 1001: 100100000
+ second: metal_steel_bumped
+ externalObjects: {}
+ serializedVersion: 2
+ userData:
+ assetBundleName:
+ assetBundleVariant:
+ script: {fileID: 232528478, guid: 43a8bbf65be290d44ba52b94476242b9, type: 3}
+ version: 29
+ projectContext: 0
+ mGraphInstanceData:
+ - graphLabel: Steel bumped
+ prototypeName: Steel bumped
+ graphDescIndex: 0
+ generateAllOutputs: 0
+ generateMipMaps: 1
+ preset: " \n \n"
+ shaderName: Standard
+ materialProperties:
+ shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
+ shaderKeywords:
+ lightmapFlags: 4
+ enableInstancingVariants: 0
+ doubleSidedGI: 0
+ customRenderQueue: -1
+ texEnvs:
+ - name: _BumpMap
+ texture: {fileID: 3586080781697202320, guid: 092bdd8d243488141aeab5bb0d72429a,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailAlbedoMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailMask
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailNormalMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _EmissionMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MainTex
+ texture: {fileID: 86365302875955127, guid: 092bdd8d243488141aeab5bb0d72429a,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MetallicGlossMap
+ texture: {fileID: 9208498935135840223, guid: 092bdd8d243488141aeab5bb0d72429a,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _OcclusionMap
+ texture: {fileID: 7740971908710523460, guid: 092bdd8d243488141aeab5bb0d72429a,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _ParallaxMap
+ texture: {fileID: 6493472383464308858, guid: 092bdd8d243488141aeab5bb0d72429a,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ floats:
+ - name: _BumpScale
+ float: 1
+ - name: _Cutoff
+ float: 0.5
+ - name: _DetailNormalMapScale
+ float: 1
+ - name: _DstBlend
+ float: 0
+ - name: _GlossMapScale
+ float: 1
+ - name: _Glossiness
+ float: 0.5
+ - name: _GlossyReflections
+ float: 1
+ - name: _Metallic
+ float: 0
+ - name: _Mode
+ float: 0
+ - name: _OcclusionStrength
+ float: 1
+ - name: _Parallax
+ float: 0.02
+ - name: _SmoothnessTextureChannel
+ float: 0
+ - name: _SpecularHighlights
+ float: 1
+ - name: _SrcBlend
+ float: 1
+ - name: _UVSec
+ float: 0
+ - name: _ZWrite
+ float: 1
+ colors:
+ - name: _Color
+ color: {r: 1, g: 1, b: 1, a: 1}
+ - name: _EmissionColor
+ color: {r: 0, g: 0, b: 0, a: 1}
+ outputDescList:
+ - outputName: diffuse
+ identifier: diffuse
+ usageName: diffuse
+ channelStr: diffuse
+ label: Diffuse
+ usage: 0
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: baseColor
+ identifier: basecolor
+ usageName: baseColor
+ channelStr: baseColor
+ label: Base Color
+ usage: 1
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: normal
+ identifier: normal
+ usageName: normal
+ channelStr: normal
+ label: Normal
+ usage: 7
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: specular
+ identifier: specular
+ usageName: specular
+ channelStr: specular
+ label: Specular
+ usage: 11
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: glossiness
+ identifier: glossiness
+ usageName: glossiness
+ channelStr: glossiness
+ label: Glossiness
+ usage: 14
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: roughness
+ identifier: roughness
+ usageName: roughness
+ channelStr: roughness
+ label: Roughness
+ usage: 15
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: metallic
+ identifier: metallic
+ usageName: metallic
+ channelStr: metallic
+ label: Metallic
+ usage: 34
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: ambientOcclusion
+ identifier: ambient_occlusion
+ usageName: ambientOcclusion
+ channelStr: ambientOcclusion
+ label: Ambient Occlusion
+ usage: 5
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: height
+ identifier: height
+ usageName: height
+ channelStr: height
+ label: Height
+ usage: 9
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ texturePackingList:
+ - targetName: diffuse
+ components:
+ - sourceName: diffuse
+ from: 0
+ to: 3
+ - targetName: baseColor
+ components:
+ - sourceName: baseColor
+ from: 0
+ to: 3
+ - targetName: normal
+ components:
+ - sourceName: normal
+ from: 0
+ to: 3
+ - targetName: specular
+ components:
+ - sourceName: specular
+ from: 0
+ to: 3
+ - targetName: glossiness
+ components:
+ - sourceName: glossiness
+ from: 0
+ to: 3
+ - targetName: roughness
+ components:
+ - sourceName: roughness
+ from: 0
+ to: 3
+ - targetName: metallic
+ components:
+ - sourceName: smoothness
+ from: 0
+ to: 3
+ - targetName: ambientOcclusion
+ components:
+ - sourceName: ambientOcclusion
+ from: 0
+ to: 3
+ - targetName: height
+ components:
+ - sourceName: height
+ from: 0
+ to: 3
+ textureParameters:
+ - textureName: Steel bumped_glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel bumped_diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel bumped_baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel bumped_normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel bumped_specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel bumped_roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel bumped_metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel bumped_ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel bumped_height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel bumped - diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel bumped - baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel bumped - normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel bumped - specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel bumped - glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel bumped - roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel bumped - metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel bumped - ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel bumped - height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ colorSpaceList: []
+ inputTextureMap: []
+ targetSettingList:
+ - label: Default
+ bOverride: 0
+ bLockRatio: 1
+ textureWidth: 256
+ textureHeight: 256
+ textureFormatMode: 0
+ normalCompressed: 0
+ bGenerateOnLoad: 1
+ material: {fileID: -864409875390858066, guid: 092bdd8d243488141aeab5bb0d72429a,
+ type: 3}
+ generatedTextures:
+ - {fileID: 86365302875955127, guid: 092bdd8d243488141aeab5bb0d72429a, type: 3}
+ - {fileID: 3586080781697202320, guid: 092bdd8d243488141aeab5bb0d72429a, type: 3}
+ - {fileID: 9208498935135840223, guid: 092bdd8d243488141aeab5bb0d72429a, type: 3}
+ - {fileID: 7740971908710523460, guid: 092bdd8d243488141aeab5bb0d72429a, type: 3}
+ - {fileID: 6493472383464308858, guid: 092bdd8d243488141aeab5bb0d72429a, type: 3}
diff --git a/Assets/Materials/Substance/Metal/metal_steel_parkerized.sbsar b/Assets/Materials/Substance/Metal/metal_steel_parkerized.sbsar
new file mode 100644
index 000000000..92bee293c
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_steel_parkerized.sbsar
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:54993a1aae47acf7e1aba24812f215e1787969016dd1f420899ab363342a7b6d
+size 9206
diff --git a/Assets/Materials/Substance/Metal/metal_steel_parkerized.sbsar.meta b/Assets/Materials/Substance/Metal/metal_steel_parkerized.sbsar.meta
new file mode 100644
index 000000000..a7cabf9ff
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_steel_parkerized.sbsar.meta
@@ -0,0 +1,369 @@
+fileFormatVersion: 2
+guid: e7758cad28ae98f478940e55222419a6
+ScriptedImporter:
+ internalIDToNameTable:
+ - first:
+ 1: 100000
+ second: metal_steel_parkerized/metal_steel_parkerized
+ - first:
+ 4: 400000
+ second: metal_steel_parkerized/metal_steel_parkerized/Transform
+ - first:
+ 21: 2100000
+ second: mat.Steel parkerized
+ - first:
+ 23: 2300000
+ second: metal_steel_parkerized/metal_steel_parkerized/MeshRenderer
+ - first:
+ 28: 2800000
+ second: Steel parkerized_baseColor
+ - first:
+ 28: 2800002
+ second: Steel parkerized_normal
+ - first:
+ 28: 2800004
+ second: Steel parkerized_metallic
+ - first:
+ 28: 2800006
+ second: Steel parkerized_ambientOcclusion
+ - first:
+ 28: 2800008
+ second: Steel parkerized_height
+ - first:
+ 33: 3300000
+ second: metal_steel_parkerized/metal_steel_parkerized/MeshFilter
+ - first:
+ 114: 11400000
+ second: sbsar
+ - first:
+ 114: 11400002
+ second: graph0
+ - first:
+ 135: 13500000
+ second: metal_steel_parkerized/metal_steel_parkerized/SphereCollider
+ - first:
+ 1001: 100100000
+ second: metal_steel_parkerized
+ externalObjects: {}
+ serializedVersion: 2
+ userData:
+ assetBundleName:
+ assetBundleVariant:
+ script: {fileID: 232528478, guid: 43a8bbf65be290d44ba52b94476242b9, type: 3}
+ version: 29
+ projectContext: 0
+ mGraphInstanceData:
+ - graphLabel: Steel parkerized
+ prototypeName: Steel parkerized
+ graphDescIndex: 0
+ generateAllOutputs: 0
+ generateMipMaps: 1
+ preset: " \n \n"
+ shaderName: Standard
+ materialProperties:
+ shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
+ shaderKeywords:
+ lightmapFlags: 4
+ enableInstancingVariants: 0
+ doubleSidedGI: 0
+ customRenderQueue: -1
+ texEnvs:
+ - name: _BumpMap
+ texture: {fileID: 885599758852769373, guid: e7758cad28ae98f478940e55222419a6,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailAlbedoMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailMask
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailNormalMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _EmissionMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MainTex
+ texture: {fileID: -4474525002722929857, guid: e7758cad28ae98f478940e55222419a6,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MetallicGlossMap
+ texture: {fileID: -2334804936223627746, guid: e7758cad28ae98f478940e55222419a6,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _OcclusionMap
+ texture: {fileID: -8380876848358870972, guid: e7758cad28ae98f478940e55222419a6,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _ParallaxMap
+ texture: {fileID: 172713863077875830, guid: e7758cad28ae98f478940e55222419a6,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ floats:
+ - name: _BumpScale
+ float: 1
+ - name: _Cutoff
+ float: 0.5
+ - name: _DetailNormalMapScale
+ float: 1
+ - name: _DstBlend
+ float: 0
+ - name: _GlossMapScale
+ float: 1
+ - name: _Glossiness
+ float: 0.5
+ - name: _GlossyReflections
+ float: 1
+ - name: _Metallic
+ float: 0
+ - name: _Mode
+ float: 0
+ - name: _OcclusionStrength
+ float: 1
+ - name: _Parallax
+ float: 0.02
+ - name: _SmoothnessTextureChannel
+ float: 0
+ - name: _SpecularHighlights
+ float: 1
+ - name: _SrcBlend
+ float: 1
+ - name: _UVSec
+ float: 0
+ - name: _ZWrite
+ float: 1
+ colors:
+ - name: _Color
+ color: {r: 1, g: 1, b: 1, a: 1}
+ - name: _EmissionColor
+ color: {r: 0, g: 0, b: 0, a: 1}
+ outputDescList:
+ - outputName: diffuse
+ identifier: diffuse
+ usageName: diffuse
+ channelStr: diffuse
+ label: Diffuse
+ usage: 0
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: baseColor
+ identifier: basecolor
+ usageName: baseColor
+ channelStr: baseColor
+ label: Base Color
+ usage: 1
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: normal
+ identifier: normal
+ usageName: normal
+ channelStr: normal
+ label: Normal
+ usage: 7
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: specular
+ identifier: specular
+ usageName: specular
+ channelStr: specular
+ label: Specular
+ usage: 11
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: glossiness
+ identifier: glossiness
+ usageName: glossiness
+ channelStr: glossiness
+ label: Glossiness
+ usage: 14
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: roughness
+ identifier: roughness
+ usageName: roughness
+ channelStr: roughness
+ label: Roughness
+ usage: 15
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: metallic
+ identifier: metallic
+ usageName: metallic
+ channelStr: metallic
+ label: Metallic
+ usage: 34
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: ambientOcclusion
+ identifier: ambient_occlusion
+ usageName: ambientOcclusion
+ channelStr: ambientOcclusion
+ label: Ambient Occlusion
+ usage: 5
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: height
+ identifier: height
+ usageName: height
+ channelStr: height
+ label: Height
+ usage: 9
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ texturePackingList:
+ - targetName: diffuse
+ components:
+ - sourceName: diffuse
+ from: 0
+ to: 3
+ - targetName: baseColor
+ components:
+ - sourceName: baseColor
+ from: 0
+ to: 3
+ - targetName: normal
+ components:
+ - sourceName: normal
+ from: 0
+ to: 3
+ - targetName: specular
+ components:
+ - sourceName: specular
+ from: 0
+ to: 3
+ - targetName: glossiness
+ components:
+ - sourceName: glossiness
+ from: 0
+ to: 3
+ - targetName: roughness
+ components:
+ - sourceName: roughness
+ from: 0
+ to: 3
+ - targetName: metallic
+ components:
+ - sourceName: smoothness
+ from: 0
+ to: 3
+ - targetName: ambientOcclusion
+ components:
+ - sourceName: ambientOcclusion
+ from: 0
+ to: 3
+ - targetName: height
+ components:
+ - sourceName: height
+ from: 0
+ to: 3
+ textureParameters:
+ - textureName: Steel parkerized_glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel parkerized_diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel parkerized_baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel parkerized_normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel parkerized_specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel parkerized_roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel parkerized_metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel parkerized_ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel parkerized_height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel parkerized - diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel parkerized - baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel parkerized - normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel parkerized - specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel parkerized - glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel parkerized - roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel parkerized - metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel parkerized - ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Steel parkerized - height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ colorSpaceList: []
+ inputTextureMap: []
+ targetSettingList:
+ - label: Default
+ bOverride: 0
+ bLockRatio: 1
+ textureWidth: 256
+ textureHeight: 256
+ textureFormatMode: 0
+ normalCompressed: 0
+ bGenerateOnLoad: 1
+ material: {fileID: -6026401407715332296, guid: e7758cad28ae98f478940e55222419a6,
+ type: 3}
+ generatedTextures:
+ - {fileID: -4474525002722929857, guid: e7758cad28ae98f478940e55222419a6, type: 3}
+ - {fileID: 885599758852769373, guid: e7758cad28ae98f478940e55222419a6, type: 3}
+ - {fileID: -2334804936223627746, guid: e7758cad28ae98f478940e55222419a6, type: 3}
+ - {fileID: -8380876848358870972, guid: e7758cad28ae98f478940e55222419a6, type: 3}
+ - {fileID: 172713863077875830, guid: e7758cad28ae98f478940e55222419a6, type: 3}
diff --git a/Assets/Materials/Substance/Metal/metal_titanium.sbsar b/Assets/Materials/Substance/Metal/metal_titanium.sbsar
new file mode 100644
index 000000000..ede9cde4d
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_titanium.sbsar
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e3aabfbcb813fef9ef20793d54c93bf5c37255573bb8ad043620f60041acd6d1
+size 5206
diff --git a/Assets/Materials/Substance/Metal/metal_titanium.sbsar.meta b/Assets/Materials/Substance/Metal/metal_titanium.sbsar.meta
new file mode 100644
index 000000000..e4ece6915
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_titanium.sbsar.meta
@@ -0,0 +1,369 @@
+fileFormatVersion: 2
+guid: 58e16b7dbc1c31f4585e11544cdce127
+ScriptedImporter:
+ internalIDToNameTable:
+ - first:
+ 1: 100000
+ second: metal_titanium/metal_titanium
+ - first:
+ 4: 400000
+ second: metal_titanium/metal_titanium/Transform
+ - first:
+ 21: 2100000
+ second: mat.Titanium
+ - first:
+ 23: 2300000
+ second: metal_titanium/metal_titanium/MeshRenderer
+ - first:
+ 28: 2800000
+ second: Titanium_baseColor
+ - first:
+ 28: 2800002
+ second: Titanium_normal
+ - first:
+ 28: 2800004
+ second: Titanium_metallic
+ - first:
+ 28: 2800006
+ second: Titanium_ambientOcclusion
+ - first:
+ 28: 2800008
+ second: Titanium_height
+ - first:
+ 33: 3300000
+ second: metal_titanium/metal_titanium/MeshFilter
+ - first:
+ 114: 11400000
+ second: sbsar
+ - first:
+ 114: 11400002
+ second: graph0
+ - first:
+ 135: 13500000
+ second: metal_titanium/metal_titanium/SphereCollider
+ - first:
+ 1001: 100100000
+ second: metal_titanium
+ externalObjects: {}
+ serializedVersion: 2
+ userData:
+ assetBundleName:
+ assetBundleVariant:
+ script: {fileID: 232528478, guid: 43a8bbf65be290d44ba52b94476242b9, type: 3}
+ version: 29
+ projectContext: 0
+ mGraphInstanceData:
+ - graphLabel: Titanium
+ prototypeName: Titanium
+ graphDescIndex: 0
+ generateAllOutputs: 0
+ generateMipMaps: 1
+ preset: " \n \n"
+ shaderName: Standard
+ materialProperties:
+ shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
+ shaderKeywords:
+ lightmapFlags: 4
+ enableInstancingVariants: 0
+ doubleSidedGI: 0
+ customRenderQueue: -1
+ texEnvs:
+ - name: _BumpMap
+ texture: {fileID: -5074057273227030627, guid: 58e16b7dbc1c31f4585e11544cdce127,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailAlbedoMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailMask
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailNormalMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _EmissionMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MainTex
+ texture: {fileID: 3009319823116150993, guid: 58e16b7dbc1c31f4585e11544cdce127,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MetallicGlossMap
+ texture: {fileID: 3613456606582262254, guid: 58e16b7dbc1c31f4585e11544cdce127,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _OcclusionMap
+ texture: {fileID: 7558371940554398246, guid: 58e16b7dbc1c31f4585e11544cdce127,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _ParallaxMap
+ texture: {fileID: -3774795931012705877, guid: 58e16b7dbc1c31f4585e11544cdce127,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ floats:
+ - name: _BumpScale
+ float: 1
+ - name: _Cutoff
+ float: 0.5
+ - name: _DetailNormalMapScale
+ float: 1
+ - name: _DstBlend
+ float: 0
+ - name: _GlossMapScale
+ float: 1
+ - name: _Glossiness
+ float: 0.5
+ - name: _GlossyReflections
+ float: 1
+ - name: _Metallic
+ float: 0
+ - name: _Mode
+ float: 0
+ - name: _OcclusionStrength
+ float: 1
+ - name: _Parallax
+ float: 0.02
+ - name: _SmoothnessTextureChannel
+ float: 0
+ - name: _SpecularHighlights
+ float: 1
+ - name: _SrcBlend
+ float: 1
+ - name: _UVSec
+ float: 0
+ - name: _ZWrite
+ float: 1
+ colors:
+ - name: _Color
+ color: {r: 1, g: 1, b: 1, a: 1}
+ - name: _EmissionColor
+ color: {r: 0, g: 0, b: 0, a: 1}
+ outputDescList:
+ - outputName: diffuse
+ identifier: diffuse
+ usageName: diffuse
+ channelStr: diffuse
+ label: Diffuse
+ usage: 0
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: baseColor
+ identifier: basecolor
+ usageName: baseColor
+ channelStr: baseColor
+ label: Base Color
+ usage: 1
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: normal
+ identifier: normal
+ usageName: normal
+ channelStr: normal
+ label: Normal
+ usage: 7
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: specular
+ identifier: specular
+ usageName: specular
+ channelStr: specular
+ label: Specular
+ usage: 11
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: glossiness
+ identifier: glossiness
+ usageName: glossiness
+ channelStr: glossiness
+ label: Glossiness
+ usage: 14
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: roughness
+ identifier: roughness
+ usageName: roughness
+ channelStr: roughness
+ label: Roughness
+ usage: 15
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: metallic
+ identifier: metallic
+ usageName: metallic
+ channelStr: metallic
+ label: Metallic
+ usage: 34
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: ambientOcclusion
+ identifier: ambient_occlusion
+ usageName: ambientOcclusion
+ channelStr: ambientOcclusion
+ label: Ambient Occlusion
+ usage: 5
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: height
+ identifier: height
+ usageName: height
+ channelStr: height
+ label: Height
+ usage: 9
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ texturePackingList:
+ - targetName: diffuse
+ components:
+ - sourceName: diffuse
+ from: 0
+ to: 3
+ - targetName: baseColor
+ components:
+ - sourceName: baseColor
+ from: 0
+ to: 3
+ - targetName: normal
+ components:
+ - sourceName: normal
+ from: 0
+ to: 3
+ - targetName: specular
+ components:
+ - sourceName: specular
+ from: 0
+ to: 3
+ - targetName: glossiness
+ components:
+ - sourceName: glossiness
+ from: 0
+ to: 3
+ - targetName: roughness
+ components:
+ - sourceName: roughness
+ from: 0
+ to: 3
+ - targetName: metallic
+ components:
+ - sourceName: smoothness
+ from: 0
+ to: 3
+ - targetName: ambientOcclusion
+ components:
+ - sourceName: ambientOcclusion
+ from: 0
+ to: 3
+ - targetName: height
+ components:
+ - sourceName: height
+ from: 0
+ to: 3
+ textureParameters:
+ - textureName: Titanium_glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Titanium_diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Titanium_baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Titanium_normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Titanium_specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Titanium_roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Titanium_metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Titanium_ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Titanium_height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Titanium - diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Titanium - baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Titanium - normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Titanium - specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Titanium - glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Titanium - roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Titanium - metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Titanium - ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Titanium - height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ colorSpaceList: []
+ inputTextureMap: []
+ targetSettingList:
+ - label: Default
+ bOverride: 0
+ bLockRatio: 1
+ textureWidth: 256
+ textureHeight: 256
+ textureFormatMode: 0
+ normalCompressed: 0
+ bGenerateOnLoad: 1
+ material: {fileID: 9178725544925813344, guid: 58e16b7dbc1c31f4585e11544cdce127,
+ type: 3}
+ generatedTextures:
+ - {fileID: 3009319823116150993, guid: 58e16b7dbc1c31f4585e11544cdce127, type: 3}
+ - {fileID: -5074057273227030627, guid: 58e16b7dbc1c31f4585e11544cdce127, type: 3}
+ - {fileID: 3613456606582262254, guid: 58e16b7dbc1c31f4585e11544cdce127, type: 3}
+ - {fileID: 7558371940554398246, guid: 58e16b7dbc1c31f4585e11544cdce127, type: 3}
+ - {fileID: -3774795931012705877, guid: 58e16b7dbc1c31f4585e11544cdce127, type: 3}
diff --git a/Assets/Materials/Substance/Metal/metal_used.sbsar b/Assets/Materials/Substance/Metal/metal_used.sbsar
new file mode 100644
index 000000000..5a8b87d9c
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_used.sbsar
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:03b72a9708206dd2c10aba185b507def52bbbcb713666711ed5d67926fbedd68
+size 14332
diff --git a/Assets/Materials/Substance/Metal/metal_used.sbsar.meta b/Assets/Materials/Substance/Metal/metal_used.sbsar.meta
new file mode 100644
index 000000000..37fcc6a20
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_used.sbsar.meta
@@ -0,0 +1,371 @@
+fileFormatVersion: 2
+guid: 130f566ffa0b2424fbb47de2194c136a
+ScriptedImporter:
+ internalIDToNameTable:
+ - first:
+ 1: 100000
+ second: metal_used/metal_used
+ - first:
+ 4: 400000
+ second: metal_used/metal_used/Transform
+ - first:
+ 21: 2100000
+ second: mat.Metal used
+ - first:
+ 23: 2300000
+ second: metal_used/metal_used/MeshRenderer
+ - first:
+ 28: 2800000
+ second: Metal used_baseColor
+ - first:
+ 28: 2800002
+ second: Metal used_normal
+ - first:
+ 28: 2800004
+ second: Metal used_metallic
+ - first:
+ 28: 2800006
+ second: Metal used_ambientOcclusion
+ - first:
+ 28: 2800008
+ second: Metal used_height
+ - first:
+ 33: 3300000
+ second: metal_used/metal_used/MeshFilter
+ - first:
+ 114: 11400000
+ second: sbsar
+ - first:
+ 114: 11400002
+ second: graph0
+ - first:
+ 135: 13500000
+ second: metal_used/metal_used/SphereCollider
+ - first:
+ 1001: 100100000
+ second: metal_used
+ externalObjects: {}
+ serializedVersion: 2
+ userData:
+ assetBundleName:
+ assetBundleVariant:
+ script: {fileID: 232528478, guid: 43a8bbf65be290d44ba52b94476242b9, type: 3}
+ version: 29
+ projectContext: 0
+ mGraphInstanceData:
+ - graphLabel: Metal used
+ prototypeName: Metal used
+ graphDescIndex: 0
+ generateAllOutputs: 0
+ generateMipMaps: 1
+ preset: " \n \n
+ \n"
+ shaderName: Standard
+ materialProperties:
+ shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
+ shaderKeywords:
+ lightmapFlags: 4
+ enableInstancingVariants: 0
+ doubleSidedGI: 0
+ customRenderQueue: -1
+ texEnvs:
+ - name: _BumpMap
+ texture: {fileID: 8398852885706109728, guid: 130f566ffa0b2424fbb47de2194c136a,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailAlbedoMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailMask
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailNormalMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _EmissionMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MainTex
+ texture: {fileID: 8357651109123355072, guid: 130f566ffa0b2424fbb47de2194c136a,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MetallicGlossMap
+ texture: {fileID: -435054815742279573, guid: 130f566ffa0b2424fbb47de2194c136a,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _OcclusionMap
+ texture: {fileID: 6248133906606842143, guid: 130f566ffa0b2424fbb47de2194c136a,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _ParallaxMap
+ texture: {fileID: 2780512161145013460, guid: 130f566ffa0b2424fbb47de2194c136a,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ floats:
+ - name: _BumpScale
+ float: 1
+ - name: _Cutoff
+ float: 0.5
+ - name: _DetailNormalMapScale
+ float: 1
+ - name: _DstBlend
+ float: 0
+ - name: _GlossMapScale
+ float: 1
+ - name: _Glossiness
+ float: 0.5
+ - name: _GlossyReflections
+ float: 1
+ - name: _Metallic
+ float: 0
+ - name: _Mode
+ float: 0
+ - name: _OcclusionStrength
+ float: 1
+ - name: _Parallax
+ float: 0.02
+ - name: _SmoothnessTextureChannel
+ float: 0
+ - name: _SpecularHighlights
+ float: 1
+ - name: _SrcBlend
+ float: 1
+ - name: _UVSec
+ float: 0
+ - name: _ZWrite
+ float: 1
+ colors:
+ - name: _Color
+ color: {r: 1, g: 1, b: 1, a: 1}
+ - name: _EmissionColor
+ color: {r: 0, g: 0, b: 0, a: 1}
+ outputDescList:
+ - outputName: diffuse
+ identifier: diffuse
+ usageName: diffuse
+ channelStr: diffuse
+ label: Diffuse
+ usage: 0
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: baseColor
+ identifier: basecolor
+ usageName: baseColor
+ channelStr: baseColor
+ label: Base Color
+ usage: 1
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: normal
+ identifier: normal
+ usageName: normal
+ channelStr: normal
+ label: Normal
+ usage: 7
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: specular
+ identifier: specular
+ usageName: specular
+ channelStr: specular
+ label: Specular
+ usage: 11
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: glossiness
+ identifier: glossiness
+ usageName: glossiness
+ channelStr: glossiness
+ label: Glossiness
+ usage: 14
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: roughness
+ identifier: roughness
+ usageName: roughness
+ channelStr: roughness
+ label: Roughness
+ usage: 15
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: metallic
+ identifier: metallic
+ usageName: metallic
+ channelStr: metallic
+ label: Metallic
+ usage: 34
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: ambientOcclusion
+ identifier: ambient_occlusion
+ usageName: ambientOcclusion
+ channelStr: ambientOcclusion
+ label: Ambient Occlusion
+ usage: 5
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: height
+ identifier: height
+ usageName: height
+ channelStr: height
+ label: Height
+ usage: 9
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ texturePackingList:
+ - targetName: diffuse
+ components:
+ - sourceName: diffuse
+ from: 0
+ to: 3
+ - targetName: baseColor
+ components:
+ - sourceName: baseColor
+ from: 0
+ to: 3
+ - targetName: normal
+ components:
+ - sourceName: normal
+ from: 0
+ to: 3
+ - targetName: specular
+ components:
+ - sourceName: specular
+ from: 0
+ to: 3
+ - targetName: glossiness
+ components:
+ - sourceName: glossiness
+ from: 0
+ to: 3
+ - targetName: roughness
+ components:
+ - sourceName: roughness
+ from: 0
+ to: 3
+ - targetName: metallic
+ components:
+ - sourceName: smoothness
+ from: 0
+ to: 3
+ - targetName: ambientOcclusion
+ components:
+ - sourceName: ambientOcclusion
+ from: 0
+ to: 3
+ - targetName: height
+ components:
+ - sourceName: height
+ from: 0
+ to: 3
+ textureParameters:
+ - textureName: Metal used_glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal used_diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal used_baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal used_normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal used_specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal used_roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal used_metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal used_ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal used_height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal used - diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal used - baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal used - normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal used - specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal used - glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal used - roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal used - metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal used - ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal used - height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ colorSpaceList: []
+ inputTextureMap: []
+ targetSettingList:
+ - label: Default
+ bOverride: 0
+ bLockRatio: 1
+ textureWidth: 512
+ textureHeight: 512
+ textureFormatMode: 0
+ normalCompressed: 0
+ bGenerateOnLoad: 1
+ material: {fileID: -890370705972978167, guid: 130f566ffa0b2424fbb47de2194c136a,
+ type: 3}
+ generatedTextures:
+ - {fileID: 8357651109123355072, guid: 130f566ffa0b2424fbb47de2194c136a, type: 3}
+ - {fileID: 8398852885706109728, guid: 130f566ffa0b2424fbb47de2194c136a, type: 3}
+ - {fileID: -435054815742279573, guid: 130f566ffa0b2424fbb47de2194c136a, type: 3}
+ - {fileID: 6248133906606842143, guid: 130f566ffa0b2424fbb47de2194c136a, type: 3}
+ - {fileID: 2780512161145013460, guid: 130f566ffa0b2424fbb47de2194c136a, type: 3}
diff --git a/Assets/Materials/Substance/Metal/metal_weapon.sbsar b/Assets/Materials/Substance/Metal/metal_weapon.sbsar
new file mode 100644
index 000000000..d96236940
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_weapon.sbsar
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:8e9033843201f75f1b86df82b69fd89ee6b9aa317df18f9105d0f8904d56be8f
+size 10547
diff --git a/Assets/Materials/Substance/Metal/metal_weapon.sbsar.meta b/Assets/Materials/Substance/Metal/metal_weapon.sbsar.meta
new file mode 100644
index 000000000..05d1fcf4b
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_weapon.sbsar.meta
@@ -0,0 +1,373 @@
+fileFormatVersion: 2
+guid: 07f679eadba9fb14abac26b1e165f7d5
+ScriptedImporter:
+ internalIDToNameTable:
+ - first:
+ 1: 100000
+ second: metal_weapon/metal_weapon
+ - first:
+ 4: 400000
+ second: metal_weapon/metal_weapon/Transform
+ - first:
+ 21: 2100000
+ second: mat.Metal Weapon
+ - first:
+ 23: 2300000
+ second: metal_weapon/metal_weapon/MeshRenderer
+ - first:
+ 28: 2800000
+ second: Metal Weapon_baseColor
+ - first:
+ 28: 2800002
+ second: Metal Weapon_normal
+ - first:
+ 28: 2800004
+ second: Metal Weapon_metallic
+ - first:
+ 28: 2800006
+ second: Metal Weapon_ambientOcclusion
+ - first:
+ 28: 2800008
+ second: Metal Weapon_height
+ - first:
+ 33: 3300000
+ second: metal_weapon/metal_weapon/MeshFilter
+ - first:
+ 114: 11400000
+ second: sbsar
+ - first:
+ 114: 11400002
+ second: graph0
+ - first:
+ 135: 13500000
+ second: metal_weapon/metal_weapon/SphereCollider
+ - first:
+ 1001: 100100000
+ second: metal_weapon
+ externalObjects: {}
+ serializedVersion: 2
+ userData:
+ assetBundleName:
+ assetBundleVariant:
+ script: {fileID: 232528478, guid: 43a8bbf65be290d44ba52b94476242b9, type: 3}
+ version: 29
+ projectContext: 0
+ mGraphInstanceData:
+ - graphLabel: Metal Weapon
+ prototypeName: Metal Weapon
+ graphDescIndex: 0
+ generateAllOutputs: 0
+ generateMipMaps: 1
+ preset: " \n \n \n \n \n"
+ shaderName: Standard
+ materialProperties:
+ shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
+ shaderKeywords:
+ lightmapFlags: 4
+ enableInstancingVariants: 0
+ doubleSidedGI: 0
+ customRenderQueue: -1
+ texEnvs:
+ - name: _BumpMap
+ texture: {fileID: -6635831357954291190, guid: 07f679eadba9fb14abac26b1e165f7d5,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailAlbedoMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailMask
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailNormalMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _EmissionMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MainTex
+ texture: {fileID: -6402586014670071135, guid: 07f679eadba9fb14abac26b1e165f7d5,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MetallicGlossMap
+ texture: {fileID: 854616604008364032, guid: 07f679eadba9fb14abac26b1e165f7d5,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _OcclusionMap
+ texture: {fileID: 4606406952830974004, guid: 07f679eadba9fb14abac26b1e165f7d5,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _ParallaxMap
+ texture: {fileID: -5822151887330517421, guid: 07f679eadba9fb14abac26b1e165f7d5,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ floats:
+ - name: _BumpScale
+ float: 1
+ - name: _Cutoff
+ float: 0.5
+ - name: _DetailNormalMapScale
+ float: 1
+ - name: _DstBlend
+ float: 0
+ - name: _GlossMapScale
+ float: 1
+ - name: _Glossiness
+ float: 0.5
+ - name: _GlossyReflections
+ float: 1
+ - name: _Metallic
+ float: 0
+ - name: _Mode
+ float: 0
+ - name: _OcclusionStrength
+ float: 1
+ - name: _Parallax
+ float: 0.02
+ - name: _SmoothnessTextureChannel
+ float: 0
+ - name: _SpecularHighlights
+ float: 1
+ - name: _SrcBlend
+ float: 1
+ - name: _UVSec
+ float: 0
+ - name: _ZWrite
+ float: 1
+ colors:
+ - name: _Color
+ color: {r: 1, g: 1, b: 1, a: 1}
+ - name: _EmissionColor
+ color: {r: 0, g: 0, b: 0, a: 1}
+ outputDescList:
+ - outputName: diffuse
+ identifier: diffuse
+ usageName: diffuse
+ channelStr: diffuse
+ label: Diffuse
+ usage: 0
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: baseColor
+ identifier: basecolor
+ usageName: baseColor
+ channelStr: baseColor
+ label: Base Color
+ usage: 1
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: normal
+ identifier: normal
+ usageName: normal
+ channelStr: normal
+ label: Normal
+ usage: 7
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: specular
+ identifier: specular
+ usageName: specular
+ channelStr: specular
+ label: Specular
+ usage: 11
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: glossiness
+ identifier: glossiness
+ usageName: glossiness
+ channelStr: glossiness
+ label: Glossiness
+ usage: 14
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: roughness
+ identifier: roughness
+ usageName: roughness
+ channelStr: roughness
+ label: Roughness
+ usage: 15
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: metallic
+ identifier: metallic
+ usageName: metallic
+ channelStr: metallic
+ label: Metallic
+ usage: 34
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: ambientOcclusion
+ identifier: ambient_occlusion
+ usageName: ambientOcclusion
+ channelStr: ambientOcclusion
+ label: Ambient Occlusion
+ usage: 5
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: height
+ identifier: height
+ usageName: height
+ channelStr: height
+ label: Height
+ usage: 9
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ texturePackingList:
+ - targetName: diffuse
+ components:
+ - sourceName: diffuse
+ from: 0
+ to: 3
+ - targetName: baseColor
+ components:
+ - sourceName: baseColor
+ from: 0
+ to: 3
+ - targetName: normal
+ components:
+ - sourceName: normal
+ from: 0
+ to: 3
+ - targetName: specular
+ components:
+ - sourceName: specular
+ from: 0
+ to: 3
+ - targetName: glossiness
+ components:
+ - sourceName: glossiness
+ from: 0
+ to: 3
+ - targetName: roughness
+ components:
+ - sourceName: roughness
+ from: 0
+ to: 3
+ - targetName: metallic
+ components:
+ - sourceName: smoothness
+ from: 0
+ to: 3
+ - targetName: ambientOcclusion
+ components:
+ - sourceName: ambientOcclusion
+ from: 0
+ to: 3
+ - targetName: height
+ components:
+ - sourceName: height
+ from: 0
+ to: 3
+ textureParameters:
+ - textureName: Metal Weapon_glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Weapon_diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Weapon_baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Weapon_normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Weapon_specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Weapon_roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Weapon_metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Weapon_ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Weapon_height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Weapon - diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Weapon - baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Weapon - normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Weapon - specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Weapon - glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Weapon - roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Weapon - metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Weapon - ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal Weapon - height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ colorSpaceList: []
+ inputTextureMap: []
+ targetSettingList:
+ - label: Default
+ bOverride: 0
+ bLockRatio: 1
+ textureWidth: 256
+ textureHeight: 256
+ textureFormatMode: 0
+ normalCompressed: 0
+ bGenerateOnLoad: 1
+ material: {fileID: -6659110875122461561, guid: 07f679eadba9fb14abac26b1e165f7d5,
+ type: 3}
+ generatedTextures:
+ - {fileID: -6402586014670071135, guid: 07f679eadba9fb14abac26b1e165f7d5, type: 3}
+ - {fileID: -6635831357954291190, guid: 07f679eadba9fb14abac26b1e165f7d5, type: 3}
+ - {fileID: 854616604008364032, guid: 07f679eadba9fb14abac26b1e165f7d5, type: 3}
+ - {fileID: 4606406952830974004, guid: 07f679eadba9fb14abac26b1e165f7d5, type: 3}
+ - {fileID: -5822151887330517421, guid: 07f679eadba9fb14abac26b1e165f7d5, type: 3}
diff --git a/Assets/Materials/Substance/Metal/metal_woven.sbsar b/Assets/Materials/Substance/Metal/metal_woven.sbsar
new file mode 100644
index 000000000..576f8c4a5
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_woven.sbsar
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:6c50e25516df1c3d2cb879d4e3e78491462296d92f05ac5774b6aa1290a777ee
+size 9445
diff --git a/Assets/Materials/Substance/Metal/metal_woven.sbsar.meta b/Assets/Materials/Substance/Metal/metal_woven.sbsar.meta
new file mode 100644
index 000000000..27d8bfafe
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/metal_woven.sbsar.meta
@@ -0,0 +1,369 @@
+fileFormatVersion: 2
+guid: deb7e15e5f95294498d18869d9f11302
+ScriptedImporter:
+ internalIDToNameTable:
+ - first:
+ 1: 100000
+ second: metal_woven/metal_woven
+ - first:
+ 4: 400000
+ second: metal_woven/metal_woven/Transform
+ - first:
+ 21: 2100000
+ second: mat.Metal woven
+ - first:
+ 23: 2300000
+ second: metal_woven/metal_woven/MeshRenderer
+ - first:
+ 28: 2800000
+ second: Metal woven_baseColor
+ - first:
+ 28: 2800002
+ second: Metal woven_normal
+ - first:
+ 28: 2800004
+ second: Metal woven_metallic
+ - first:
+ 28: 2800006
+ second: Metal woven_ambientOcclusion
+ - first:
+ 28: 2800008
+ second: Metal woven_height
+ - first:
+ 33: 3300000
+ second: metal_woven/metal_woven/MeshFilter
+ - first:
+ 114: 11400000
+ second: sbsar
+ - first:
+ 114: 11400002
+ second: graph0
+ - first:
+ 135: 13500000
+ second: metal_woven/metal_woven/SphereCollider
+ - first:
+ 1001: 100100000
+ second: metal_woven
+ externalObjects: {}
+ serializedVersion: 2
+ userData:
+ assetBundleName:
+ assetBundleVariant:
+ script: {fileID: 232528478, guid: 43a8bbf65be290d44ba52b94476242b9, type: 3}
+ version: 29
+ projectContext: 0
+ mGraphInstanceData:
+ - graphLabel: Metal woven
+ prototypeName: Metal woven
+ graphDescIndex: 0
+ generateAllOutputs: 0
+ generateMipMaps: 1
+ preset: " \n \n"
+ shaderName: Standard
+ materialProperties:
+ shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
+ shaderKeywords:
+ lightmapFlags: 4
+ enableInstancingVariants: 0
+ doubleSidedGI: 0
+ customRenderQueue: -1
+ texEnvs:
+ - name: _BumpMap
+ texture: {fileID: 549858149917880910, guid: deb7e15e5f95294498d18869d9f11302,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailAlbedoMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailMask
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailNormalMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _EmissionMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MainTex
+ texture: {fileID: -5021036940690714266, guid: deb7e15e5f95294498d18869d9f11302,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MetallicGlossMap
+ texture: {fileID: -4741193760961545063, guid: deb7e15e5f95294498d18869d9f11302,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _OcclusionMap
+ texture: {fileID: 4441773978818050154, guid: deb7e15e5f95294498d18869d9f11302,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _ParallaxMap
+ texture: {fileID: -8782013540898460330, guid: deb7e15e5f95294498d18869d9f11302,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ floats:
+ - name: _BumpScale
+ float: 1
+ - name: _Cutoff
+ float: 0.5
+ - name: _DetailNormalMapScale
+ float: 1
+ - name: _DstBlend
+ float: 0
+ - name: _GlossMapScale
+ float: 1
+ - name: _Glossiness
+ float: 0.5
+ - name: _GlossyReflections
+ float: 1
+ - name: _Metallic
+ float: 0
+ - name: _Mode
+ float: 0
+ - name: _OcclusionStrength
+ float: 1
+ - name: _Parallax
+ float: 0.02
+ - name: _SmoothnessTextureChannel
+ float: 0
+ - name: _SpecularHighlights
+ float: 1
+ - name: _SrcBlend
+ float: 1
+ - name: _UVSec
+ float: 0
+ - name: _ZWrite
+ float: 1
+ colors:
+ - name: _Color
+ color: {r: 1, g: 1, b: 1, a: 1}
+ - name: _EmissionColor
+ color: {r: 0, g: 0, b: 0, a: 1}
+ outputDescList:
+ - outputName: diffuse
+ identifier: diffuse
+ usageName: diffuse
+ channelStr: diffuse
+ label: Diffuse
+ usage: 0
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: baseColor
+ identifier: basecolor
+ usageName: baseColor
+ channelStr: baseColor
+ label: Base Color
+ usage: 1
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: normal
+ identifier: normal
+ usageName: normal
+ channelStr: normal
+ label: Normal
+ usage: 7
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: specular
+ identifier: specular
+ usageName: specular
+ channelStr: specular
+ label: Specular
+ usage: 11
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: glossiness
+ identifier: glossiness
+ usageName: glossiness
+ channelStr: glossiness
+ label: Glossiness
+ usage: 14
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: roughness
+ identifier: roughness
+ usageName: roughness
+ channelStr: roughness
+ label: Roughness
+ usage: 15
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: metallic
+ identifier: metallic
+ usageName: metallic
+ channelStr: metallic
+ label: Metallic
+ usage: 34
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: ambientOcclusion
+ identifier: ambient_occlusion
+ usageName: ambientOcclusion
+ channelStr: ambientOcclusion
+ label: Ambient Occlusion
+ usage: 5
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: height
+ identifier: height
+ usageName: height
+ channelStr: height
+ label: Height
+ usage: 9
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ texturePackingList:
+ - targetName: diffuse
+ components:
+ - sourceName: diffuse
+ from: 0
+ to: 3
+ - targetName: baseColor
+ components:
+ - sourceName: baseColor
+ from: 0
+ to: 3
+ - targetName: normal
+ components:
+ - sourceName: normal
+ from: 0
+ to: 3
+ - targetName: specular
+ components:
+ - sourceName: specular
+ from: 0
+ to: 3
+ - targetName: glossiness
+ components:
+ - sourceName: glossiness
+ from: 0
+ to: 3
+ - targetName: roughness
+ components:
+ - sourceName: roughness
+ from: 0
+ to: 3
+ - targetName: metallic
+ components:
+ - sourceName: smoothness
+ from: 0
+ to: 3
+ - targetName: ambientOcclusion
+ components:
+ - sourceName: ambientOcclusion
+ from: 0
+ to: 3
+ - targetName: height
+ components:
+ - sourceName: height
+ from: 0
+ to: 3
+ textureParameters:
+ - textureName: Metal woven_glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal woven_diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal woven_baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal woven_normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal woven_specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal woven_roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal woven_metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal woven_ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal woven_height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal woven - diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal woven - baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal woven - normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal woven - specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal woven - glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal woven - roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal woven - metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal woven - ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Metal woven - height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ colorSpaceList: []
+ inputTextureMap: []
+ targetSettingList:
+ - label: Default
+ bOverride: 0
+ bLockRatio: 1
+ textureWidth: 256
+ textureHeight: 256
+ textureFormatMode: 0
+ normalCompressed: 0
+ bGenerateOnLoad: 1
+ material: {fileID: -1778075352807424672, guid: deb7e15e5f95294498d18869d9f11302,
+ type: 3}
+ generatedTextures:
+ - {fileID: -5021036940690714266, guid: deb7e15e5f95294498d18869d9f11302, type: 3}
+ - {fileID: 549858149917880910, guid: deb7e15e5f95294498d18869d9f11302, type: 3}
+ - {fileID: -4741193760961545063, guid: deb7e15e5f95294498d18869d9f11302, type: 3}
+ - {fileID: 4441773978818050154, guid: deb7e15e5f95294498d18869d9f11302, type: 3}
+ - {fileID: -8782013540898460330, guid: deb7e15e5f95294498d18869d9f11302, type: 3}
diff --git a/Assets/Materials/Substance/Metal/snatched_metal.sbsar b/Assets/Materials/Substance/Metal/snatched_metal.sbsar
new file mode 100644
index 000000000..35980ce5c
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/snatched_metal.sbsar
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:556e67022b660530d0afc8296e37706b09e9ef08db46b5421edbd80f0c8993f2
+size 28573
diff --git a/Assets/Materials/Substance/Metal/snatched_metal.sbsar.meta b/Assets/Materials/Substance/Metal/snatched_metal.sbsar.meta
new file mode 100644
index 000000000..3da7ab6e7
--- /dev/null
+++ b/Assets/Materials/Substance/Metal/snatched_metal.sbsar.meta
@@ -0,0 +1,311 @@
+fileFormatVersion: 2
+guid: 9aa51bbe4dd46874a906608c34a739e4
+ScriptedImporter:
+ internalIDToNameTable: []
+ externalObjects: {}
+ serializedVersion: 2
+ userData:
+ assetBundleName:
+ assetBundleVariant:
+ script: {fileID: 232528478, guid: 43a8bbf65be290d44ba52b94476242b9, type: 3}
+ version: 29
+ projectContext: 0
+ mGraphInstanceData:
+ - graphLabel: Snatched Metal
+ prototypeName: Snatched Metal
+ graphDescIndex: 0
+ generateAllOutputs: 0
+ generateMipMaps: 1
+ preset: " \n \n
+ \n"
+ shaderName: Standard
+ materialProperties:
+ shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
+ shaderKeywords:
+ lightmapFlags: 4
+ enableInstancingVariants: 0
+ doubleSidedGI: 0
+ customRenderQueue: -1
+ texEnvs:
+ - name: _BumpMap
+ texture: {fileID: 8651868829797956950, guid: 9aa51bbe4dd46874a906608c34a739e4,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailAlbedoMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailMask
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailNormalMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _EmissionMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MainTex
+ texture: {fileID: 3043754869544600785, guid: 9aa51bbe4dd46874a906608c34a739e4,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MetallicGlossMap
+ texture: {fileID: -8730703347107057792, guid: 9aa51bbe4dd46874a906608c34a739e4,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _OcclusionMap
+ texture: {fileID: 8639218750153593357, guid: 9aa51bbe4dd46874a906608c34a739e4,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _ParallaxMap
+ texture: {fileID: 8363912540366899318, guid: 9aa51bbe4dd46874a906608c34a739e4,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ floats:
+ - name: _BumpScale
+ float: 1
+ - name: _Cutoff
+ float: 0.5
+ - name: _DetailNormalMapScale
+ float: 1
+ - name: _DstBlend
+ float: 0
+ - name: _GlossMapScale
+ float: 1
+ - name: _Glossiness
+ float: 0.5
+ - name: _GlossyReflections
+ float: 1
+ - name: _Metallic
+ float: 0
+ - name: _Mode
+ float: 0
+ - name: _OcclusionStrength
+ float: 1
+ - name: _Parallax
+ float: 0.02
+ - name: _SmoothnessTextureChannel
+ float: 0
+ - name: _SpecularHighlights
+ float: 1
+ - name: _SrcBlend
+ float: 1
+ - name: _UVSec
+ float: 0
+ - name: _ZWrite
+ float: 1
+ colors:
+ - name: _Color
+ color: {r: 1, g: 1, b: 1, a: 1}
+ - name: _EmissionColor
+ color: {r: 0, g: 0, b: 0, a: 1}
+ outputDescList:
+ - outputName: diffuse
+ identifier: diffuse
+ usageName: diffuse
+ channelStr: diffuse
+ label: Diffuse
+ usage: 0
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: baseColor
+ identifier: basecolor
+ usageName: baseColor
+ channelStr: baseColor
+ label: Base Color
+ usage: 1
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: normal
+ identifier: normal
+ usageName: normal
+ channelStr: normal
+ label: Normal
+ usage: 7
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: specular
+ identifier: specular
+ usageName: specular
+ channelStr: specular
+ label: Specular
+ usage: 11
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: glossiness
+ identifier: glossiness
+ usageName: glossiness
+ channelStr: glossiness
+ label: Glossiness
+ usage: 14
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: roughness
+ identifier: roughness
+ usageName: roughness
+ channelStr: roughness
+ label: Roughness
+ usage: 15
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: metallic
+ identifier: metallic
+ usageName: metallic
+ channelStr: metallic
+ label: Metallic
+ usage: 34
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: height
+ identifier: height
+ usageName: height
+ channelStr: height
+ label: Height
+ usage: 9
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: ambientOcclusion
+ identifier: ambientocclusion
+ usageName: ambientOcclusion
+ channelStr: ambientOcclusion
+ label: Ambient Occlusion
+ usage: 5
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: opacity
+ identifier: opacity
+ usageName: opacity
+ channelStr: opacity
+ label: Opacity
+ usage: 2
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ texturePackingList:
+ - targetName: diffuse
+ components:
+ - sourceName: opacity
+ from: 0
+ to: 3
+ - targetName: baseColor
+ components:
+ - sourceName: opacity
+ from: 0
+ to: 3
+ - targetName: normal
+ components:
+ - sourceName: normal
+ from: 0
+ to: 3
+ - targetName: specular
+ components:
+ - sourceName: specular
+ from: 0
+ to: 3
+ - targetName: glossiness
+ components:
+ - sourceName: glossiness
+ from: 0
+ to: 3
+ - targetName: roughness
+ components:
+ - sourceName: roughness
+ from: 0
+ to: 3
+ - targetName: metallic
+ components:
+ - sourceName: smoothness
+ from: 0
+ to: 3
+ - targetName: height
+ components:
+ - sourceName: height
+ from: 0
+ to: 3
+ - targetName: ambientOcclusion
+ components:
+ - sourceName: ambientOcclusion
+ from: 0
+ to: 3
+ - targetName: opacity
+ components:
+ - sourceName: opacity
+ from: 0
+ to: 3
+ textureParameters:
+ - textureName: Snatched Metal - diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Snatched Metal - baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Snatched Metal - normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Snatched Metal - specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Snatched Metal - glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Snatched Metal - roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Snatched Metal - metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Snatched Metal - height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Snatched Metal - ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Snatched Metal - opacity
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ colorSpaceList: []
+ inputTextureMap: []
+ targetSettingList:
+ - label: Default
+ bOverride: 0
+ bLockRatio: 1
+ textureWidth: 512
+ textureHeight: 512
+ textureFormatMode: 0
+ normalCompressed: 0
+ bGenerateOnLoad: 1
+ material: {fileID: -2363654054484809406, guid: 9aa51bbe4dd46874a906608c34a739e4,
+ type: 3}
+ generatedTextures:
+ - {fileID: 3043754869544600785, guid: 9aa51bbe4dd46874a906608c34a739e4, type: 3}
+ - {fileID: 8651868829797956950, guid: 9aa51bbe4dd46874a906608c34a739e4, type: 3}
+ - {fileID: -8730703347107057792, guid: 9aa51bbe4dd46874a906608c34a739e4, type: 3}
+ - {fileID: 8363912540366899318, guid: 9aa51bbe4dd46874a906608c34a739e4, type: 3}
+ - {fileID: 8639218750153593357, guid: 9aa51bbe4dd46874a906608c34a739e4, type: 3}
diff --git a/Assets/Materials/Substance/marble_002.sbsar b/Assets/Materials/Substance/marble_002.sbsar
new file mode 100644
index 000000000..728270967
--- /dev/null
+++ b/Assets/Materials/Substance/marble_002.sbsar
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:2859e24557bccbe309d8946052849b828cabd34b8e45b933faee212eeffd462e
+size 8113
diff --git a/Assets/Materials/Substance/marble_002.sbsar.meta b/Assets/Materials/Substance/marble_002.sbsar.meta
new file mode 100644
index 000000000..624e0d1a6
--- /dev/null
+++ b/Assets/Materials/Substance/marble_002.sbsar.meta
@@ -0,0 +1,296 @@
+fileFormatVersion: 2
+guid: ef9a54b8dacea9f44be70da43472f701
+ScriptedImporter:
+ internalIDToNameTable: []
+ externalObjects: {}
+ serializedVersion: 2
+ userData:
+ assetBundleName:
+ assetBundleVariant:
+ script: {fileID: 232528478, guid: 43a8bbf65be290d44ba52b94476242b9, type: 3}
+ version: 29
+ projectContext: 0
+ mGraphInstanceData:
+ - graphLabel: Marble 002
+ prototypeName: Marble 002
+ graphDescIndex: 0
+ generateAllOutputs: 0
+ generateMipMaps: 1
+ preset: " \n \n
+ \n \n \n \n"
+ shaderName: Standard
+ materialProperties:
+ shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
+ shaderKeywords:
+ lightmapFlags: 4
+ enableInstancingVariants: 0
+ doubleSidedGI: 0
+ customRenderQueue: -1
+ texEnvs:
+ - name: _BumpMap
+ texture: {fileID: 5777664804669422655, guid: ef9a54b8dacea9f44be70da43472f701,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailAlbedoMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailMask
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _DetailNormalMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _EmissionMap
+ texture: {instanceID: 0}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MainTex
+ texture: {fileID: -5564000130503291907, guid: ef9a54b8dacea9f44be70da43472f701,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _MetallicGlossMap
+ texture: {fileID: -3258750942226492355, guid: ef9a54b8dacea9f44be70da43472f701,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _OcclusionMap
+ texture: {fileID: 4985089394248351555, guid: ef9a54b8dacea9f44be70da43472f701,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ - name: _ParallaxMap
+ texture: {fileID: 7116303992264550, guid: ef9a54b8dacea9f44be70da43472f701,
+ type: 3}
+ scale: {x: 1, y: 1}
+ offset: {x: 0, y: 0}
+ floats:
+ - name: _BumpScale
+ float: 1
+ - name: _Cutoff
+ float: 0.5
+ - name: _DetailNormalMapScale
+ float: 1
+ - name: _DstBlend
+ float: 0
+ - name: _GlossMapScale
+ float: 1
+ - name: _Glossiness
+ float: 0.5
+ - name: _GlossyReflections
+ float: 1
+ - name: _Metallic
+ float: 0
+ - name: _Mode
+ float: 0
+ - name: _OcclusionStrength
+ float: 1
+ - name: _Parallax
+ float: 0.02
+ - name: _SmoothnessTextureChannel
+ float: 0
+ - name: _SpecularHighlights
+ float: 1
+ - name: _SrcBlend
+ float: 1
+ - name: _UVSec
+ float: 0
+ - name: _ZWrite
+ float: 1
+ colors:
+ - name: _Color
+ color: {r: 1, g: 1, b: 1, a: 1}
+ - name: _EmissionColor
+ color: {r: 0, g: 0, b: 0, a: 1}
+ outputDescList:
+ - outputName: diffuse
+ identifier: diffuse
+ usageName: diffuse
+ channelStr: diffuse
+ label: Diffuse
+ usage: 0
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: baseColor
+ identifier: basecolor
+ usageName: baseColor
+ channelStr: baseColor
+ label: Base Color
+ usage: 1
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: normal
+ identifier: normal
+ usageName: normal
+ channelStr: normal
+ label: Normal
+ usage: 7
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: specular
+ identifier: specular
+ usageName: specular
+ channelStr: specular
+ label: Specular
+ usage: 11
+ bImage: 1
+ bNumerical: 0
+ bLinear: 0
+ - outputName: glossiness
+ identifier: glossiness
+ usageName: glossiness
+ channelStr: glossiness
+ label: Glossiness
+ usage: 14
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: roughness
+ identifier: roughness
+ usageName: roughness
+ channelStr: roughness
+ label: Roughness
+ usage: 15
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: metallic
+ identifier: metallic
+ usageName: metallic
+ channelStr: metallic
+ label: Metallic
+ usage: 34
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: ambientOcclusion
+ identifier: ambient_occlusion
+ usageName: ambientOcclusion
+ channelStr: ambientOcclusion
+ label: Ambient Occlusion
+ usage: 5
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ - outputName: height
+ identifier: height
+ usageName: height
+ channelStr: height
+ label: Height
+ usage: 9
+ bImage: 1
+ bNumerical: 0
+ bLinear: 1
+ texturePackingList:
+ - targetName: diffuse
+ components:
+ - sourceName: diffuse
+ from: 0
+ to: 3
+ - targetName: baseColor
+ components:
+ - sourceName: baseColor
+ from: 0
+ to: 3
+ - targetName: normal
+ components:
+ - sourceName: normal
+ from: 0
+ to: 3
+ - targetName: specular
+ components:
+ - sourceName: specular
+ from: 0
+ to: 3
+ - targetName: glossiness
+ components:
+ - sourceName: glossiness
+ from: 0
+ to: 3
+ - targetName: roughness
+ components:
+ - sourceName: roughness
+ from: 0
+ to: 3
+ - targetName: metallic
+ components:
+ - sourceName: smoothness
+ from: 0
+ to: 3
+ - targetName: ambientOcclusion
+ components:
+ - sourceName: ambientOcclusion
+ from: 0
+ to: 3
+ - targetName: height
+ components:
+ - sourceName: height
+ from: 0
+ to: 3
+ textureParameters:
+ - textureName: Marble 002 - diffuse
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Marble 002 - baseColor
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Marble 002 - normal
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Marble 002 - specular
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Marble 002 - glossiness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Marble 002 - roughness
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Marble 002 - metallic
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Marble 002 - ambientOcclusion
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ - textureName: Marble 002 - height
+ wrapMode: 0
+ filterMode: 1
+ aniso: 1
+ colorSpaceList: []
+ inputTextureMap: []
+ targetSettingList:
+ - label: Default
+ bOverride: 0
+ bLockRatio: 1
+ textureWidth: 4096
+ textureHeight: 4096
+ textureFormatMode: 0
+ normalCompressed: 0
+ bGenerateOnLoad: 1
+ material: {fileID: -4681939019719023292, guid: ef9a54b8dacea9f44be70da43472f701,
+ type: 3}
+ generatedTextures:
+ - {fileID: -5564000130503291907, guid: ef9a54b8dacea9f44be70da43472f701, type: 3}
+ - {fileID: 5777664804669422655, guid: ef9a54b8dacea9f44be70da43472f701, type: 3}
+ - {fileID: -3258750942226492355, guid: ef9a54b8dacea9f44be70da43472f701, type: 3}
+ - {fileID: 4985089394248351555, guid: ef9a54b8dacea9f44be70da43472f701, type: 3}
+ - {fileID: 7116303992264550, guid: ef9a54b8dacea9f44be70da43472f701, type: 3}
diff --git a/Assets/Materials/Thrusters.mat b/Assets/Materials/Thrusters.mat
new file mode 100644
index 000000000..f9b21ae83
--- /dev/null
+++ b/Assets/Materials/Thrusters.mat
@@ -0,0 +1,87 @@
+%YAML 1.1
+%TAG !u! tag:unity3d.com,2011:
+--- !u!21 &2100000
+Material:
+ serializedVersion: 6
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_Name: Thrusters
+ m_Shader: {fileID: 4800000, guid: d69ef48273708ef4680762f5cdcfc860, type: 3}
+ m_ShaderKeywords:
+ m_LightmapFlags: 4
+ m_EnableInstancingVariants: 0
+ m_DoubleSidedGI: 0
+ m_CustomRenderQueue: -1
+ stringTagMap: {}
+ disabledShaderPasses: []
+ m_SavedProperties:
+ serializedVersion: 3
+ m_TexEnvs:
+ - _BumpMap:
+ m_Texture: {fileID: -812895718602229137, guid: b7e648471e9dfc44490bd41973711541,
+ type: 3}
+ m_Scale: {x: 8, y: 8}
+ m_Offset: {x: 0, y: 0}
+ - _DetailAlbedoMap:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _DetailMask:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _DetailNormalMap:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _EmissionMap:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _MainTex:
+ m_Texture: {fileID: -6057190860509678031, guid: 2b42584452fe0cc4fa4e8a115230b156,
+ type: 3}
+ m_Scale: {x: 8, y: 8}
+ m_Offset: {x: 0, y: 0}
+ - _MetallicGlossMap:
+ m_Texture: {fileID: -894214952450941493, guid: 2b42584452fe0cc4fa4e8a115230b156,
+ type: 3}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _OcclusionMap:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _ParallaxMap:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ m_Floats:
+ - _BumpPower: 2
+ - _BumpScale: 1
+ - _Cutoff: 0.5
+ - _DetailNormalMapScale: 1
+ - _DstBlend: 0
+ - _Emission: 0
+ - _EmissionFresnel: 1
+ - _EmissionRoughnessFresnelPower: 0.5
+ - _GlossMapScale: 1
+ - _Glossiness: 1
+ - _GlossyReflections: 1
+ - _Metallic: 0
+ - _Mode: 0
+ - _OcclusionStrength: 1
+ - _Parallax: 0.02
+ - _ReverseRim: 0
+ - _Rotation: 0
+ - _SmoothnessTextureChannel: 0
+ - _SpecularHighlights: 1
+ - _SrcBlend: 1
+ - _UVSec: 0
+ - _ZWrite: 1
+ m_Colors:
+ - _Color: {r: 1, g: 1, b: 1, a: 1}
+ - _EmissionColor: {r: 0.7112653, g: 0.4292453, b: 1, a: 1}
+ m_BuildTextureStacks: []
diff --git a/Assets/Materials/Thrusters.mat.meta b/Assets/Materials/Thrusters.mat.meta
new file mode 100644
index 000000000..5fd79a1be
--- /dev/null
+++ b/Assets/Materials/Thrusters.mat.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 616adaf59c64a444f8249cc7cf13c527
+NativeFormatImporter:
+ externalObjects: {}
+ mainObjectFileID: 0
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Materials/Pickup Trim.mat b/Assets/Models/Discobolus/Discobolus Bronze.mat
similarity index 64%
rename from Assets/Materials/Pickup Trim.mat
rename to Assets/Models/Discobolus/Discobolus Bronze.mat
index 0cea43f4f..30697d42a 100644
--- a/Assets/Materials/Pickup Trim.mat
+++ b/Assets/Models/Discobolus/Discobolus Bronze.mat
@@ -2,34 +2,25 @@
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
- serializedVersion: 8
+ serializedVersion: 6
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
- m_Name: Pickup Trim
- m_Shader: {fileID: 4800000, guid: ddff0b48b92c991499817d2a0f5d5059, type: 3}
- m_Parent: {fileID: 0}
- m_ModifiedSerializedProperties: 0
- m_ValidKeywords: []
- m_InvalidKeywords:
- - _MAINTEX
- - _METALLICGLOSSMAP
- - _NORMALMAP
- - _OCCLUSIONMAP
- - _PARALLAXMAP
+ m_Name: Discobolus Bronze
+ m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
+ m_ShaderKeywords: _METALLICGLOSSMAP _NORMALMAP
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
- m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
- m_Texture: {fileID: 0}
+ m_Texture: {fileID: 2800000, guid: 9863db663524d9a4eab030a666b1f2da, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
@@ -46,41 +37,35 @@ Material:
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
- m_Scale: {x: 16, y: 16}
- m_Offset: {x: 0, y: 0}
- - _FadeTex:
- m_Texture: {fileID: 2800000, guid: df0632a08c5f1a1498fa325c755dc459, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
- m_Texture: {fileID: 0}
- m_Scale: {x: 16, y: 16}
+ m_Texture: {fileID: -1863473678134789185, guid: 9fc901afb8a434e46b9405eaec2df5a4,
+ type: 3}
+ m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
- m_Texture: {fileID: 0}
+ m_Texture: {fileID: 6214616473909614744, guid: 9fc901afb8a434e46b9405eaec2df5a4,
+ type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
- m_Texture: {fileID: 0}
+ m_Texture: {fileID: 2800000, guid: d60207b632e464d4b884dded41db5b9b, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- m_Ints: []
m_Floats:
- _BumpScale: 1
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- - _Fade: 1
- - _FadeEdge: 0.1
- - _FadeSharpness: 16
- _GlossMapScale: 1
- - _Glossiness: 0.7
+ - _Glossiness: 0.5
- _GlossyReflections: 1
- - _Metallic: 0.6
+ - _Metallic: 0
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.005
@@ -90,8 +75,6 @@ Material:
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- - _Color: {r: 0, g: 0.605881, b: 1, a: 1}
- - _EdgeColor: {r: 6.0235295, g: 6.0235295, b: 24.094118, a: 1}
+ - _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
m_BuildTextureStacks: []
- m_AllowLocking: 1
diff --git a/Assets/Materials/Pickup Trim.mat.meta b/Assets/Models/Discobolus/Discobolus Bronze.mat.meta
similarity index 79%
rename from Assets/Materials/Pickup Trim.mat.meta
rename to Assets/Models/Discobolus/Discobolus Bronze.mat.meta
index d57d829c2..4ca3a3b46 100644
--- a/Assets/Materials/Pickup Trim.mat.meta
+++ b/Assets/Models/Discobolus/Discobolus Bronze.mat.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: bebc82079e5d4e578a73c3ab48d2c2da
+guid: 45f1ac126982c314a8471da3d264210b
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
diff --git a/Assets/Models/Discobolus/Discobolus Marble.mat b/Assets/Models/Discobolus/Discobolus Marble.mat
index f4331ed09..3c862a22c 100644
--- a/Assets/Models/Discobolus/Discobolus Marble.mat
+++ b/Assets/Models/Discobolus/Discobolus Marble.mat
@@ -40,11 +40,13 @@ Material:
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
- m_Texture: {fileID: 0}
+ m_Texture: {fileID: -5564000130503291907, guid: ef9a54b8dacea9f44be70da43472f701,
+ type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
- m_Texture: {fileID: 0}
+ m_Texture: {fileID: -3258750942226492355, guid: ef9a54b8dacea9f44be70da43472f701,
+ type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
@@ -61,7 +63,7 @@ Material:
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _GlossMapScale: 1
- - _Glossiness: 0.45
+ - _Glossiness: 0.5
- _GlossyReflections: 1
- _Metallic: 0
- _Mode: 0
@@ -73,6 +75,6 @@ Material:
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- - _Color: {r: 0.7, g: 0.654348, b: 0.525, a: 1}
+ - _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
m_BuildTextureStacks: []
diff --git a/Assets/Models/Zenith_Blender.fbx.meta b/Assets/Models/Zenith_Blender.fbx.meta
index 6f719ce83..2094752dc 100644
--- a/Assets/Models/Zenith_Blender.fbx.meta
+++ b/Assets/Models/Zenith_Blender.fbx.meta
@@ -8,7 +8,8 @@ ModelImporter:
type: UnityEngine:Material
assembly: UnityEngine.CoreModule
name: Black
- second: {fileID: 2100000, guid: b9f65861b71050b4a84fe0007bedbba9, type: 2}
+ second: {fileID: 3720744386649352057, guid: 1c858fec5b74c7c46b1712494192b6b5,
+ type: 3}
- first:
type: UnityEngine:Material
assembly: UnityEngine.CoreModule
@@ -18,7 +19,8 @@ ModelImporter:
type: UnityEngine:Material
assembly: UnityEngine.CoreModule
name: White
- second: {fileID: 2100000, guid: 39af4e3978df92f40a55e2a114aa242a, type: 2}
+ second: {fileID: -741235592913766832, guid: 885e680924fc12c439a842a2142d4b78,
+ type: 3}
materials:
materialImportMode: 1
materialName: 0
diff --git a/Assets/Plugins/GPU Noise/ClassicNoise2D.cginc b/Assets/Plugins/GPU Noise/ClassicNoise2D.cginc
new file mode 100644
index 000000000..ef6b2e96c
--- /dev/null
+++ b/Assets/Plugins/GPU Noise/ClassicNoise2D.cginc
@@ -0,0 +1,129 @@
+//
+// Noise Shader Library for Unity - https://github.com/keijiro/NoiseShader
+//
+// Original work (webgl-noise) Copyright (C) 2011 Stefan Gustavson
+// Translation and modification was made by Keijiro Takahashi.
+//
+// This shader is based on the webgl-noise GLSL shader. For further details
+// of the original shader, please see the following description from the
+// original source code.
+//
+
+//
+// GLSL textureless classic 2D noise "cnoise",
+// with an RSL-style periodic variant "pnoise".
+// Author: Stefan Gustavson (stefan.gustavson@liu.se)
+// Version: 2011-08-22
+//
+// Many thanks to Ian McEwan of Ashima Arts for the
+// ideas for permutation and gradient selection.
+//
+// Copyright (c) 2011 Stefan Gustavson. All rights reserved.
+// Distributed under the MIT license. See LICENSE file.
+// https://github.com/ashima/webgl-noise
+//
+
+float4 mod(float4 x, float4 y)
+{
+ return x - y * floor(x / y);
+}
+
+float4 mod289(float4 x)
+{
+ return x - floor(x / 289.0) * 289.0;
+}
+
+float4 permute(float4 x)
+{
+ return mod289(((x*34.0)+1.0)*x);
+}
+
+float4 taylorInvSqrt(float4 r)
+{
+ return (float4)1.79284291400159 - r * 0.85373472095314;
+}
+
+float2 fade(float2 t) {
+ return t*t*t*(t*(t*6.0-15.0)+10.0);
+}
+
+// Classic Perlin noise
+float cnoise(float2 P)
+{
+ float4 Pi = floor(P.xyxy) + float4(0.0, 0.0, 1.0, 1.0);
+ float4 Pf = frac (P.xyxy) - float4(0.0, 0.0, 1.0, 1.0);
+ Pi = mod289(Pi); // To avoid truncation effects in permutation
+ float4 ix = Pi.xzxz;
+ float4 iy = Pi.yyww;
+ float4 fx = Pf.xzxz;
+ float4 fy = Pf.yyww;
+
+ float4 i = permute(permute(ix) + iy);
+
+ float4 gx = frac(i / 41.0) * 2.0 - 1.0 ;
+ float4 gy = abs(gx) - 0.5 ;
+ float4 tx = floor(gx + 0.5);
+ gx = gx - tx;
+
+ float2 g00 = float2(gx.x,gy.x);
+ float2 g10 = float2(gx.y,gy.y);
+ float2 g01 = float2(gx.z,gy.z);
+ float2 g11 = float2(gx.w,gy.w);
+
+ float4 norm = taylorInvSqrt(float4(dot(g00, g00), dot(g01, g01), dot(g10, g10), dot(g11, g11)));
+ g00 *= norm.x;
+ g01 *= norm.y;
+ g10 *= norm.z;
+ g11 *= norm.w;
+
+ float n00 = dot(g00, float2(fx.x, fy.x));
+ float n10 = dot(g10, float2(fx.y, fy.y));
+ float n01 = dot(g01, float2(fx.z, fy.z));
+ float n11 = dot(g11, float2(fx.w, fy.w));
+
+ float2 fade_xy = fade(Pf.xy);
+ float2 n_x = lerp(float2(n00, n01), float2(n10, n11), fade_xy.x);
+ float n_xy = lerp(n_x.x, n_x.y, fade_xy.y);
+ return 2.3 * n_xy;
+}
+
+// Classic Perlin noise, periodic variant
+float pnoise(float2 P, float2 rep)
+{
+ float4 Pi = floor(P.xyxy) + float4(0.0, 0.0, 1.0, 1.0);
+ float4 Pf = frac (P.xyxy) - float4(0.0, 0.0, 1.0, 1.0);
+ Pi = mod(Pi, rep.xyxy); // To create noise with explicit period
+ Pi = mod289(Pi); // To avoid truncation effects in permutation
+ float4 ix = Pi.xzxz;
+ float4 iy = Pi.yyww;
+ float4 fx = Pf.xzxz;
+ float4 fy = Pf.yyww;
+
+ float4 i = permute(permute(ix) + iy);
+
+ float4 gx = frac(i / 41.0) * 2.0 - 1.0 ;
+ float4 gy = abs(gx) - 0.5 ;
+ float4 tx = floor(gx + 0.5);
+ gx = gx - tx;
+
+ float2 g00 = float2(gx.x,gy.x);
+ float2 g10 = float2(gx.y,gy.y);
+ float2 g01 = float2(gx.z,gy.z);
+ float2 g11 = float2(gx.w,gy.w);
+
+ float4 norm = taylorInvSqrt(float4(dot(g00, g00), dot(g01, g01), dot(g10, g10), dot(g11, g11)));
+ g00 *= norm.x;
+ g01 *= norm.y;
+ g10 *= norm.z;
+ g11 *= norm.w;
+
+ float n00 = dot(g00, float2(fx.x, fy.x));
+ float n10 = dot(g10, float2(fx.y, fy.y));
+ float n01 = dot(g01, float2(fx.z, fy.z));
+ float n11 = dot(g11, float2(fx.w, fy.w));
+
+ float2 fade_xy = fade(Pf.xy);
+ float2 n_x = lerp(float2(n00, n01), float2(n10, n11), fade_xy.x);
+ float n_xy = lerp(n_x.x, n_x.y, fade_xy.y);
+ return 2.3 * n_xy;
+}
diff --git a/Assets/Plugins/GPU Noise/ClassicNoise2D.cginc.meta b/Assets/Plugins/GPU Noise/ClassicNoise2D.cginc.meta
new file mode 100644
index 000000000..ff437e70a
--- /dev/null
+++ b/Assets/Plugins/GPU Noise/ClassicNoise2D.cginc.meta
@@ -0,0 +1,5 @@
+fileFormatVersion: 2
+guid: e1b0b5fd6a4e44923b40d856017562e1
+ShaderImporter:
+ defaultTextures: []
+ userData:
diff --git a/Assets/Plugins/GPU Noise/ClassicNoise3D.cginc b/Assets/Plugins/GPU Noise/ClassicNoise3D.cginc
new file mode 100644
index 000000000..738f6d12a
--- /dev/null
+++ b/Assets/Plugins/GPU Noise/ClassicNoise3D.cginc
@@ -0,0 +1,194 @@
+//
+// Noise Shader Library for Unity - https://github.com/keijiro/NoiseShader
+//
+// Original work (webgl-noise) Copyright (C) 2011 Stefan Gustavson
+// Translation and modification was made by Keijiro Takahashi.
+//
+// This shader is based on the webgl-noise GLSL shader. For further details
+// of the original shader, please see the following description from the
+// original source code.
+//
+
+//
+// GLSL textureless classic 3D noise "cnoise",
+// with an RSL-style periodic variant "pnoise".
+// Author: Stefan Gustavson (stefan.gustavson@liu.se)
+// Version: 2011-10-11
+//
+// Many thanks to Ian McEwan of Ashima Arts for the
+// ideas for permutation and gradient selection.
+//
+// Copyright (c) 2011 Stefan Gustavson. All rights reserved.
+// Distributed under the MIT license. See LICENSE file.
+// https://github.com/ashima/webgl-noise
+//
+
+float3 mod(float3 x, float3 y)
+{
+ return x - y * floor(x / y);
+}
+
+float3 mod289(float3 x)
+{
+ return x - floor(x / 289.0) * 289.0;
+}
+
+float4 mod289(float4 x)
+{
+ return x - floor(x / 289.0) * 289.0;
+}
+
+float4 permute(float4 x)
+{
+ return mod289(((x*34.0)+1.0)*x);
+}
+
+float4 taylorInvSqrt(float4 r)
+{
+ return (float4)1.79284291400159 - r * 0.85373472095314;
+}
+
+float3 fade(float3 t) {
+ return t*t*t*(t*(t*6.0-15.0)+10.0);
+}
+
+// Classic Perlin noise
+float cnoise(float3 P)
+{
+ float3 Pi0 = floor(P); // Integer part for indexing
+ float3 Pi1 = Pi0 + (float3)1.0; // Integer part + 1
+ Pi0 = mod289(Pi0);
+ Pi1 = mod289(Pi1);
+ float3 Pf0 = frac(P); // Fractional part for interpolation
+ float3 Pf1 = Pf0 - (float3)1.0; // Fractional part - 1.0
+ float4 ix = float4(Pi0.x, Pi1.x, Pi0.x, Pi1.x);
+ float4 iy = float4(Pi0.y, Pi0.y, Pi1.y, Pi1.y);
+ float4 iz0 = (float4)Pi0.z;
+ float4 iz1 = (float4)Pi1.z;
+
+ float4 ixy = permute(permute(ix) + iy);
+ float4 ixy0 = permute(ixy + iz0);
+ float4 ixy1 = permute(ixy + iz1);
+
+ float4 gx0 = ixy0 / 7.0;
+ float4 gy0 = frac(floor(gx0) / 7.0) - 0.5;
+ gx0 = frac(gx0);
+ float4 gz0 = (float4)0.5 - abs(gx0) - abs(gy0);
+ float4 sz0 = step(gz0, (float4)0.0);
+ gx0 -= sz0 * (step((float4)0.0, gx0) - 0.5);
+ gy0 -= sz0 * (step((float4)0.0, gy0) - 0.5);
+
+ float4 gx1 = ixy1 / 7.0;
+ float4 gy1 = frac(floor(gx1) / 7.0) - 0.5;
+ gx1 = frac(gx1);
+ float4 gz1 = (float4)0.5 - abs(gx1) - abs(gy1);
+ float4 sz1 = step(gz1, (float4)0.0);
+ gx1 -= sz1 * (step((float4)0.0, gx1) - 0.5);
+ gy1 -= sz1 * (step((float4)0.0, gy1) - 0.5);
+
+ float3 g000 = float3(gx0.x,gy0.x,gz0.x);
+ float3 g100 = float3(gx0.y,gy0.y,gz0.y);
+ float3 g010 = float3(gx0.z,gy0.z,gz0.z);
+ float3 g110 = float3(gx0.w,gy0.w,gz0.w);
+ float3 g001 = float3(gx1.x,gy1.x,gz1.x);
+ float3 g101 = float3(gx1.y,gy1.y,gz1.y);
+ float3 g011 = float3(gx1.z,gy1.z,gz1.z);
+ float3 g111 = float3(gx1.w,gy1.w,gz1.w);
+
+ float4 norm0 = taylorInvSqrt(float4(dot(g000, g000), dot(g010, g010), dot(g100, g100), dot(g110, g110)));
+ g000 *= norm0.x;
+ g010 *= norm0.y;
+ g100 *= norm0.z;
+ g110 *= norm0.w;
+
+ float4 norm1 = taylorInvSqrt(float4(dot(g001, g001), dot(g011, g011), dot(g101, g101), dot(g111, g111)));
+ g001 *= norm1.x;
+ g011 *= norm1.y;
+ g101 *= norm1.z;
+ g111 *= norm1.w;
+
+ float n000 = dot(g000, Pf0);
+ float n100 = dot(g100, float3(Pf1.x, Pf0.y, Pf0.z));
+ float n010 = dot(g010, float3(Pf0.x, Pf1.y, Pf0.z));
+ float n110 = dot(g110, float3(Pf1.x, Pf1.y, Pf0.z));
+ float n001 = dot(g001, float3(Pf0.x, Pf0.y, Pf1.z));
+ float n101 = dot(g101, float3(Pf1.x, Pf0.y, Pf1.z));
+ float n011 = dot(g011, float3(Pf0.x, Pf1.y, Pf1.z));
+ float n111 = dot(g111, Pf1);
+
+ float3 fade_xyz = fade(Pf0);
+ float4 n_z = lerp(float4(n000, n100, n010, n110), float4(n001, n101, n011, n111), fade_xyz.z);
+ float2 n_yz = lerp(n_z.xy, n_z.zw, fade_xyz.y);
+ float n_xyz = lerp(n_yz.x, n_yz.y, fade_xyz.x);
+ return 2.2 * n_xyz;
+}
+
+// Classic Perlin noise, periodic variant
+float pnoise(float3 P, float3 rep)
+{
+ float3 Pi0 = mod(floor(P), rep); // Integer part, modulo period
+ float3 Pi1 = mod(Pi0 + (float3)1.0, rep); // Integer part + 1, mod period
+ Pi0 = mod289(Pi0);
+ Pi1 = mod289(Pi1);
+ float3 Pf0 = frac(P); // Fractional part for interpolation
+ float3 Pf1 = Pf0 - (float3)1.0; // Fractional part - 1.0
+ float4 ix = float4(Pi0.x, Pi1.x, Pi0.x, Pi1.x);
+ float4 iy = float4(Pi0.y, Pi0.y, Pi1.y, Pi1.y);
+ float4 iz0 = (float4)Pi0.z;
+ float4 iz1 = (float4)Pi1.z;
+
+ float4 ixy = permute(permute(ix) + iy);
+ float4 ixy0 = permute(ixy + iz0);
+ float4 ixy1 = permute(ixy + iz1);
+
+ float4 gx0 = ixy0 / 7.0;
+ float4 gy0 = frac(floor(gx0) / 7.0) - 0.5;
+ gx0 = frac(gx0);
+ float4 gz0 = (float4)0.5 - abs(gx0) - abs(gy0);
+ float4 sz0 = step(gz0, (float4)0.0);
+ gx0 -= sz0 * (step((float4)0.0, gx0) - 0.5);
+ gy0 -= sz0 * (step((float4)0.0, gy0) - 0.5);
+
+ float4 gx1 = ixy1 / 7.0;
+ float4 gy1 = frac(floor(gx1) / 7.0) - 0.5;
+ gx1 = frac(gx1);
+ float4 gz1 = (float4)0.5 - abs(gx1) - abs(gy1);
+ float4 sz1 = step(gz1, (float4)0.0);
+ gx1 -= sz1 * (step((float4)0.0, gx1) - 0.5);
+ gy1 -= sz1 * (step((float4)0.0, gy1) - 0.5);
+
+ float3 g000 = float3(gx0.x,gy0.x,gz0.x);
+ float3 g100 = float3(gx0.y,gy0.y,gz0.y);
+ float3 g010 = float3(gx0.z,gy0.z,gz0.z);
+ float3 g110 = float3(gx0.w,gy0.w,gz0.w);
+ float3 g001 = float3(gx1.x,gy1.x,gz1.x);
+ float3 g101 = float3(gx1.y,gy1.y,gz1.y);
+ float3 g011 = float3(gx1.z,gy1.z,gz1.z);
+ float3 g111 = float3(gx1.w,gy1.w,gz1.w);
+
+ float4 norm0 = taylorInvSqrt(float4(dot(g000, g000), dot(g010, g010), dot(g100, g100), dot(g110, g110)));
+ g000 *= norm0.x;
+ g010 *= norm0.y;
+ g100 *= norm0.z;
+ g110 *= norm0.w;
+ float4 norm1 = taylorInvSqrt(float4(dot(g001, g001), dot(g011, g011), dot(g101, g101), dot(g111, g111)));
+ g001 *= norm1.x;
+ g011 *= norm1.y;
+ g101 *= norm1.z;
+ g111 *= norm1.w;
+
+ float n000 = dot(g000, Pf0);
+ float n100 = dot(g100, float3(Pf1.x, Pf0.y, Pf0.z));
+ float n010 = dot(g010, float3(Pf0.x, Pf1.y, Pf0.z));
+ float n110 = dot(g110, float3(Pf1.x, Pf1.y, Pf0.z));
+ float n001 = dot(g001, float3(Pf0.x, Pf0.y, Pf1.z));
+ float n101 = dot(g101, float3(Pf1.x, Pf0.y, Pf1.z));
+ float n011 = dot(g011, float3(Pf0.x, Pf1.y, Pf1.z));
+ float n111 = dot(g111, Pf1);
+
+ float3 fade_xyz = fade(Pf0);
+ float4 n_z = lerp(float4(n000, n100, n010, n110), float4(n001, n101, n011, n111), fade_xyz.z);
+ float2 n_yz = lerp(n_z.xy, n_z.zw, fade_xyz.y);
+ float n_xyz = lerp(n_yz.x, n_yz.y, fade_xyz.x);
+ return 2.2 * n_xyz;
+}
diff --git a/Assets/Plugins/GPU Noise/ClassicNoise3D.cginc.meta b/Assets/Plugins/GPU Noise/ClassicNoise3D.cginc.meta
new file mode 100644
index 000000000..b4dd551ab
--- /dev/null
+++ b/Assets/Plugins/GPU Noise/ClassicNoise3D.cginc.meta
@@ -0,0 +1,5 @@
+fileFormatVersion: 2
+guid: 3ba1abd1cb44c47b68fbb577c6c4ba3e
+ShaderImporter:
+ defaultTextures: []
+ userData:
diff --git a/Assets/Plugins/GPU Noise/SimplexNoise3D.cginc b/Assets/Plugins/GPU Noise/SimplexNoise3D.cginc
new file mode 100644
index 000000000..0b7add240
--- /dev/null
+++ b/Assets/Plugins/GPU Noise/SimplexNoise3D.cginc
@@ -0,0 +1,114 @@
+//
+// Noise Shader Library for Unity - https://github.com/keijiro/NoiseShader
+//
+// Original work (webgl-noise) Copyright (C) 2011 Ashima Arts.
+// Translation and modification was made by Keijiro Takahashi.
+//
+// This shader is based on the webgl-noise GLSL shader. For further details
+// of the original shader, please see the following description from the
+// original source code.
+//
+
+//
+// Description : Array and textureless GLSL 2D/3D/4D simplex
+// noise functions.
+// Author : Ian McEwan, Ashima Arts.
+// Maintainer : ijm
+// Lastmod : 20110822 (ijm)
+// License : Copyright (C) 2011 Ashima Arts. All rights reserved.
+// Distributed under the MIT License. See LICENSE file.
+// https://github.com/ashima/webgl-noise
+//
+
+float3 mod289(float3 x)
+{
+ return x - floor(x / 289.0) * 289.0;
+}
+
+float4 mod289(float4 x)
+{
+ return x - floor(x / 289.0) * 289.0;
+}
+
+float4 permute(float4 x)
+{
+ return mod289((x * 34.0 + 1.0) * x);
+}
+
+float4 taylorInvSqrt(float4 r)
+{
+ return 1.79284291400159 - r * 0.85373472095314;
+}
+
+float snoise(float3 v)
+{
+ const float2 C = float2(1.0 / 6.0, 1.0 / 3.0);
+
+ // First corner
+ float3 i = floor(v + dot(v, C.yyy));
+ float3 x0 = v - i + dot(i, C.xxx);
+
+ // Other corners
+ float3 g = step(x0.yzx, x0.xyz);
+ float3 l = 1.0 - g;
+ float3 i1 = min(g.xyz, l.zxy);
+ float3 i2 = max(g.xyz, l.zxy);
+
+ // x1 = x0 - i1 + 1.0 * C.xxx;
+ // x2 = x0 - i2 + 2.0 * C.xxx;
+ // x3 = x0 - 1.0 + 3.0 * C.xxx;
+ float3 x1 = x0 - i1 + C.xxx;
+ float3 x2 = x0 - i2 + C.yyy;
+ float3 x3 = x0 - 0.5;
+
+ // Permutations
+ i = mod289(i); // Avoid truncation effects in permutation
+ float4 p =
+ permute(permute(permute(i.z + float4(0.0, i1.z, i2.z, 1.0))
+ + i.y + float4(0.0, i1.y, i2.y, 1.0))
+ + i.x + float4(0.0, i1.x, i2.x, 1.0));
+
+ // Gradients: 7x7 points over a square, mapped onto an octahedron.
+ // The ring size 17*17 = 289 is close to a multiple of 49 (49*6 = 294)
+ float4 j = p - 49.0 * floor(p / 49.0); // mod(p,7*7)
+
+ float4 x_ = floor(j / 7.0);
+ float4 y_ = floor(j - 7.0 * x_); // mod(j,N)
+
+ float4 x = (x_ * 2.0 + 0.5) / 7.0 - 1.0;
+ float4 y = (y_ * 2.0 + 0.5) / 7.0 - 1.0;
+
+ float4 h = 1.0 - abs(x) - abs(y);
+
+ float4 b0 = float4(x.xy, y.xy);
+ float4 b1 = float4(x.zw, y.zw);
+
+ //float4 s0 = float4(lessThan(b0, 0.0)) * 2.0 - 1.0;
+ //float4 s1 = float4(lessThan(b1, 0.0)) * 2.0 - 1.0;
+ float4 s0 = floor(b0) * 2.0 + 1.0;
+ float4 s1 = floor(b1) * 2.0 + 1.0;
+ float4 sh = -step(h, 0.0);
+
+ float4 a0 = b0.xzyw + s0.xzyw * sh.xxyy;
+ float4 a1 = b1.xzyw + s1.xzyw * sh.zzww;
+
+ float3 g0 = float3(a0.xy, h.x);
+ float3 g1 = float3(a0.zw, h.y);
+ float3 g2 = float3(a1.xy, h.z);
+ float3 g3 = float3(a1.zw, h.w);
+
+ // Normalise gradients
+ float4 norm = taylorInvSqrt(float4(dot(g0, g0), dot(g1, g1), dot(g2, g2), dot(g3, g3)));
+ g0 *= norm.x;
+ g1 *= norm.y;
+ g2 *= norm.z;
+ g3 *= norm.w;
+
+ // Mix final noise value
+ float4 m = max(0.6 - float4(dot(x0, x0), dot(x1, x1), dot(x2, x2), dot(x3, x3)), 0.0);
+ m = m * m;
+ m = m * m;
+
+ float4 px = float4(dot(x0, g0), dot(x1, g1), dot(x2, g2), dot(x3, g3));
+ return 42.0 * dot(m, px);
+}
diff --git a/Assets/Plugins/GPU Noise/SimplexNoise3D.cginc.meta b/Assets/Plugins/GPU Noise/SimplexNoise3D.cginc.meta
new file mode 100644
index 000000000..612bd9ef0
--- /dev/null
+++ b/Assets/Plugins/GPU Noise/SimplexNoise3D.cginc.meta
@@ -0,0 +1,9 @@
+fileFormatVersion: 2
+guid: b577a94f58a1398409bfcfe9cd5dbf99
+timeCreated: 1448788105
+licenseType: Pro
+ShaderImporter:
+ defaultTextures: []
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Plugins/GPU Noise/SimplexNoiseGrad3D.cginc b/Assets/Plugins/GPU Noise/SimplexNoiseGrad3D.cginc
new file mode 100644
index 000000000..4cfef835a
--- /dev/null
+++ b/Assets/Plugins/GPU Noise/SimplexNoiseGrad3D.cginc
@@ -0,0 +1,118 @@
+//
+// Noise Shader Library for Unity - https://github.com/keijiro/NoiseShader
+//
+// Original work (webgl-noise) Copyright (C) 2011 Ashima Arts.
+// Translation and modification was made by Keijiro Takahashi.
+//
+// This shader is based on the webgl-noise GLSL shader. For further details
+// of the original shader, please see the following description from the
+// original source code.
+//
+
+//
+// Description : Array and textureless GLSL 2D/3D/4D simplex
+// noise functions.
+// Author : Ian McEwan, Ashima Arts.
+// Maintainer : ijm
+// Lastmod : 20110822 (ijm)
+// License : Copyright (C) 2011 Ashima Arts. All rights reserved.
+// Distributed under the MIT License. See LICENSE file.
+// https://github.com/ashima/webgl-noise
+//
+
+float3 mod289(float3 x)
+{
+ return x - floor(x / 289.0) * 289.0;
+}
+
+float4 mod289(float4 x)
+{
+ return x - floor(x / 289.0) * 289.0;
+}
+
+float4 permute(float4 x)
+{
+ return mod289((x * 34.0 + 1.0) * x);
+}
+
+float4 taylorInvSqrt(float4 r)
+{
+ return 1.79284291400159 - r * 0.85373472095314;
+}
+
+float3 snoise_grad(float3 v)
+{
+ const float2 C = float2(1.0 / 6.0, 1.0 / 3.0);
+
+ // First corner
+ float3 i = floor(v + dot(v, C.yyy));
+ float3 x0 = v - i + dot(i, C.xxx);
+
+ // Other corners
+ float3 g = step(x0.yzx, x0.xyz);
+ float3 l = 1.0 - g;
+ float3 i1 = min(g.xyz, l.zxy);
+ float3 i2 = max(g.xyz, l.zxy);
+
+ // x1 = x0 - i1 + 1.0 * C.xxx;
+ // x2 = x0 - i2 + 2.0 * C.xxx;
+ // x3 = x0 - 1.0 + 3.0 * C.xxx;
+ float3 x1 = x0 - i1 + C.xxx;
+ float3 x2 = x0 - i2 + C.yyy;
+ float3 x3 = x0 - 0.5;
+
+ // Permutations
+ i = mod289(i); // Avoid truncation effects in permutation
+ float4 p =
+ permute(permute(permute(i.z + float4(0.0, i1.z, i2.z, 1.0))
+ + i.y + float4(0.0, i1.y, i2.y, 1.0))
+ + i.x + float4(0.0, i1.x, i2.x, 1.0));
+
+ // Gradients: 7x7 points over a square, mapped onto an octahedron.
+ // The ring size 17*17 = 289 is close to a multiple of 49 (49*6 = 294)
+ float4 j = p - 49.0 * floor(p / 49.0); // mod(p,7*7)
+
+ float4 x_ = floor(j / 7.0);
+ float4 y_ = floor(j - 7.0 * x_); // mod(j,N)
+
+ float4 x = (x_ * 2.0 + 0.5) / 7.0 - 1.0;
+ float4 y = (y_ * 2.0 + 0.5) / 7.0 - 1.0;
+
+ float4 h = 1.0 - abs(x) - abs(y);
+
+ float4 b0 = float4(x.xy, y.xy);
+ float4 b1 = float4(x.zw, y.zw);
+
+ //float4 s0 = float4(lessThan(b0, 0.0)) * 2.0 - 1.0;
+ //float4 s1 = float4(lessThan(b1, 0.0)) * 2.0 - 1.0;
+ float4 s0 = floor(b0) * 2.0 + 1.0;
+ float4 s1 = floor(b1) * 2.0 + 1.0;
+ float4 sh = -step(h, 0.0);
+
+ float4 a0 = b0.xzyw + s0.xzyw * sh.xxyy;
+ float4 a1 = b1.xzyw + s1.xzyw * sh.zzww;
+
+ float3 g0 = float3(a0.xy, h.x);
+ float3 g1 = float3(a0.zw, h.y);
+ float3 g2 = float3(a1.xy, h.z);
+ float3 g3 = float3(a1.zw, h.w);
+
+ // Normalise gradients
+ float4 norm = taylorInvSqrt(float4(dot(g0, g0), dot(g1, g1), dot(g2, g2), dot(g3, g3)));
+ g0 *= norm.x;
+ g1 *= norm.y;
+ g2 *= norm.z;
+ g3 *= norm.w;
+
+ // Compute gradient of noise function at P
+ float4 m = max(0.6 - float4(dot(x0, x0), dot(x1, x1), dot(x2, x2), dot(x3, x3)), 0.0);
+ float4 m2 = m * m;
+ float4 m3 = m2 * m;
+ float4 m4 = m2 * m2;
+ float3 grad =
+ -6.0 * m3.x * x0 * dot(x0, g0) + m4.x * g0 +
+ -6.0 * m3.y * x1 * dot(x1, g1) + m4.y * g1 +
+ -6.0 * m3.z * x2 * dot(x2, g2) + m4.z * g2 +
+ -6.0 * m3.w * x3 * dot(x3, g3) + m4.w * g3;
+ return 42.0 * grad;
+}
diff --git a/Assets/Plugins/GPU Noise/SimplexNoiseGrad3D.cginc.meta b/Assets/Plugins/GPU Noise/SimplexNoiseGrad3D.cginc.meta
new file mode 100644
index 000000000..250b646fa
--- /dev/null
+++ b/Assets/Plugins/GPU Noise/SimplexNoiseGrad3D.cginc.meta
@@ -0,0 +1,9 @@
+fileFormatVersion: 2
+guid: a7111eafc2463224faacf7be3bddb9a4
+timeCreated: 1449292284
+licenseType: Pro
+ShaderImporter:
+ defaultTextures: []
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Prefabs/RPG/Pickups/Dodecahedron.prefab b/Assets/Prefabs/RPG/Pickups/Dodecahedron.prefab
index 7be70840f..7a65a0864 100644
--- a/Assets/Prefabs/RPG/Pickups/Dodecahedron.prefab
+++ b/Assets/Prefabs/RPG/Pickups/Dodecahedron.prefab
@@ -103,8 +103,8 @@ MeshRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- - {fileID: 2100000, guid: bebc82079e5d4e578a73c3ab48d2c2da, type: 2}
- - {fileID: 2100000, guid: b9f65861b71050b4a84fe0007bedbba9, type: 2}
+ - {fileID: 3720744386649352057, guid: c00b5a4f1e4743a4ca59b8030251f900, type: 3}
+ - {fileID: 3720744386649352057, guid: 26a894e543f3ed44893b1620707ca62c, type: 3}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
diff --git a/Assets/Prefabs/RPG/Pickups/Hexahedron.prefab b/Assets/Prefabs/RPG/Pickups/Hexahedron.prefab
index 4a8609c7c..f9a477cda 100644
--- a/Assets/Prefabs/RPG/Pickups/Hexahedron.prefab
+++ b/Assets/Prefabs/RPG/Pickups/Hexahedron.prefab
@@ -103,8 +103,8 @@ MeshRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- - {fileID: 2100000, guid: bebc82079e5d4e578a73c3ab48d2c2da, type: 2}
- - {fileID: 2100000, guid: b9f65861b71050b4a84fe0007bedbba9, type: 2}
+ - {fileID: 3720744386649352057, guid: c00b5a4f1e4743a4ca59b8030251f900, type: 3}
+ - {fileID: 3720744386649352057, guid: 26a894e543f3ed44893b1620707ca62c, type: 3}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
diff --git a/Assets/Prefabs/RPG/Pickups/Icosahedron.prefab b/Assets/Prefabs/RPG/Pickups/Icosahedron.prefab
index b80967c41..4252e74cc 100644
--- a/Assets/Prefabs/RPG/Pickups/Icosahedron.prefab
+++ b/Assets/Prefabs/RPG/Pickups/Icosahedron.prefab
@@ -103,8 +103,8 @@ MeshRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- - {fileID: 2100000, guid: bebc82079e5d4e578a73c3ab48d2c2da, type: 2}
- - {fileID: 2100000, guid: b9f65861b71050b4a84fe0007bedbba9, type: 2}
+ - {fileID: 3720744386649352057, guid: c00b5a4f1e4743a4ca59b8030251f900, type: 3}
+ - {fileID: 3720744386649352057, guid: 26a894e543f3ed44893b1620707ca62c, type: 3}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
diff --git a/Assets/Prefabs/RPG/Pickups/Octahedron.prefab b/Assets/Prefabs/RPG/Pickups/Octahedron.prefab
index 9cabd7b79..099083195 100644
--- a/Assets/Prefabs/RPG/Pickups/Octahedron.prefab
+++ b/Assets/Prefabs/RPG/Pickups/Octahedron.prefab
@@ -103,8 +103,8 @@ MeshRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- - {fileID: 2100000, guid: bebc82079e5d4e578a73c3ab48d2c2da, type: 2}
- - {fileID: 2100000, guid: b9f65861b71050b4a84fe0007bedbba9, type: 2}
+ - {fileID: 3720744386649352057, guid: c00b5a4f1e4743a4ca59b8030251f900, type: 3}
+ - {fileID: 3720744386649352057, guid: 26a894e543f3ed44893b1620707ca62c, type: 3}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
diff --git a/Assets/Prefabs/RPG/Pickups/Tetrahedron.prefab b/Assets/Prefabs/RPG/Pickups/Tetrahedron.prefab
index 20f8073a7..6dad19967 100644
--- a/Assets/Prefabs/RPG/Pickups/Tetrahedron.prefab
+++ b/Assets/Prefabs/RPG/Pickups/Tetrahedron.prefab
@@ -103,8 +103,8 @@ MeshRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- - {fileID: 2100000, guid: bebc82079e5d4e578a73c3ab48d2c2da, type: 2}
- - {fileID: 2100000, guid: b9f65861b71050b4a84fe0007bedbba9, type: 2}
+ - {fileID: 3720744386649352057, guid: c00b5a4f1e4743a4ca59b8030251f900, type: 3}
+ - {fileID: 3720744386649352057, guid: 26a894e543f3ed44893b1620707ca62c, type: 3}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
diff --git a/Assets/Resources/Settings.asset b/Assets/Resources/Settings.asset
index c12d32c99..46bee7272 100644
--- a/Assets/Resources/Settings.asset
+++ b/Assets/Resources/Settings.asset
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:711ded55b95c512e3803df7682e44f0a9bb83ad36a384432781dc12dc5dadf0a
-size 12630
+oid sha256:7f09c54dfdb87dffd76fa92365d62c53ce333457b89ccf8ead09093ffffedc42
+size 12525
diff --git a/Assets/Resources/Sprites/Attribution.txt b/Assets/Resources/Sprites/Attribution.txt
index 8ca89fb1b..666742406 100644
--- a/Assets/Resources/Sprites/Attribution.txt
+++ b/Assets/Resources/Sprites/Attribution.txt
@@ -2,7 +2,8 @@ Noun Project
Tornado by Bart Laubsch
Alien Abduction by Bart Laubsch
-Hurricane by icon 54 from Smashicons Space by Ben Davis
+Hurricane by icon 54 from
+Smashicons Space by Ben Davis
Space 2 - Solid by Ben Davis
Filter by Karthik Aathis
Search by il Capitano
diff --git a/Assets/Scenes/ARPG.unity b/Assets/Scenes/ARPG.unity
index f583a38ec..4d5b15473 100644
--- a/Assets/Scenes/ARPG.unity
+++ b/Assets/Scenes/ARPG.unity
@@ -21236,7 +21236,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
- m_IsActive: 1
+ m_IsActive: 0
--- !u!224 &1396909587
RectTransform:
m_ObjectHideFlags: 0
@@ -24703,7 +24703,26 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
- m_text: ""
+ m_text: "What the fuck did you just fucking type about me, you little bitch? I\u2019ll
+ have you know I graduated top of my class at MIT, and I\u2019ve been involved
+ in numerous secret raids with Anonymous, and I have over 300 confirmed DDoSes.\n\nI
+ am trained in online trolling and I\u2019m the top hacker in the entire world.
+ You are nothing to me but just another virus host. I will wipe you the fuck out
+ with precision the likes of which has never been seen before on the Internet,
+ mark my fucking words. You think you can get away with typing that shit to me
+ over the Internet? Think again, fucker.\n\nAs we chat over IRC I am tracing your
+ IP with my damn bare hands so you better prepare for the storm, maggot. The storm
+ that wipes out the pathetic little thing you call your computer. You\u2019re
+ fucking dead, kid. I can be anywhere, anytime, and I can hack into your files
+ in over seven hundred ways, and that\u2019s just with my bare hands.\n\nNot only
+ am I extensively trained in hacking, but I have access to the entire arsenal
+ of every piece of malware ever created and I will use it to its full extent to
+ wipe your miserable ass off the face of the world wide web, you little shit.
+ If only you could have known what unholy retribution your little \u201Cclever\u201D
+ comment was about to bring down upon you, maybe you would have held your fucking
+ fingers. But you couldn\u2019t, you didn\u2019t, and now you\u2019re paying the
+ price, you goddamn idiot. I will shit code all over you and you will drown in
+ it.\n\nYou\u2019re fucking dead, kiddo."
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 53555f7a2d5e745428813f1b1118734f, type: 2}
m_sharedMaterial: {fileID: -2804126062856497447, guid: 53555f7a2d5e745428813f1b1118734f,
diff --git a/Assets/Scripts/Editor/ShipPrefabAuthoring.cs b/Assets/Scripts/Editor/ShipPrefabAuthoring.cs
index 45bbc8609..d2937b79d 100644
--- a/Assets/Scripts/Editor/ShipPrefabAuthoring.cs
+++ b/Assets/Scripts/Editor/ShipPrefabAuthoring.cs
@@ -112,7 +112,6 @@ public static class ShipPrefabAuthoring
case "Thruster":
var emitter = DirectChild(node, "Emitter")?.GetComponent();
if (emitter == null) throw new InvalidOperationException($"{name} needs an Emitter mesh child");
- ShipModShips.Hide(emitter, invisible);
AddOrGet(node.gameObject).Emitter = emitter;
thrusters.Add(node.GetComponent());
break;
diff --git a/Assets/Scripts/Editor/ShipPrefabAuthoringSmoke.cs b/Assets/Scripts/Editor/ShipPrefabAuthoringSmoke.cs
index 5342eb352..9f740f557 100644
--- a/Assets/Scripts/Editor/ShipPrefabAuthoringSmoke.cs
+++ b/Assets/Scripts/Editor/ShipPrefabAuthoringSmoke.cs
@@ -28,8 +28,6 @@ public static class ShipPrefabAuthoringSmoke
ShipPrefabAuthoring.Configure(root);
var ship = root.GetComponent();
Require(ship != null && ship.ThrusterHardpoints.Length == 1 && ship.ThrusterHardpoints[0].Emitter != null, "thruster emitter");
- Require(Array.TrueForAll(ship.ThrusterHardpoints[0].Emitter.sharedMaterials, material => material == ship.InvisibleMaterial),
- "thruster emitter drawn with the invisible material only");
Require(ship.WeaponHardpoints.Length == 1 && ship.WeaponHardpoints[0].FiringPoint.Length == 2, "weapon muzzles");
Require(ship.WeaponHardpoints[0].FiringPoint[0].name == "Muzzle.0", "numeric muzzle order");
Require(ship.RadiatorHardpoints.Length == 1 && ship.RadiatorHardpoints[0].Mesh != null, "radiator mesh");
diff --git a/Assets/Scripts/EventLog.cs b/Assets/Scripts/EventLog.cs
index 967653b1d..54db8dd57 100644
--- a/Assets/Scripts/EventLog.cs
+++ b/Assets/Scripts/EventLog.cs
@@ -13,8 +13,7 @@ public class EventLog : MonoBehaviour
private SizedQueue LogMessages;
private StringBuilder LogText;
- // Awake, not Start: a message can arrive in the frame the parent activates, before Start would run.
- private void Awake()
+ private void Start()
{
LogMessages = new SizedQueue(LineCount);
LogText = new StringBuilder();
diff --git a/Assets/Scripts/Gameplay/ActionGameManager.cs b/Assets/Scripts/Gameplay/ActionGameManager.cs
index a47577d38..62105a711 100644
--- a/Assets/Scripts/Gameplay/ActionGameManager.cs
+++ b/Assets/Scripts/Gameplay/ActionGameManager.cs
@@ -106,9 +106,6 @@ public class ActionGameManager : MonoBehaviour
}
public static Galaxy CurrentGalaxy;
- // Whether a run is live: a failed start and a finished run both clear the galaxy, and the scene's update paths (this
- // manager's, the renderer's) step and draw nothing without one.
- public static bool RunLive => CurrentGalaxy != null;
// The scenario a new run starts from: MainMenu.Launch sets it, and StartGame's new-run branch consumes it once.
public static Scenario PendingScenario;
@@ -593,24 +590,12 @@ public class ActionGameManager : MonoBehaviour
}
var generator = new LoadoutGenerator(ref ItemManager.Random, ItemManager, CurrentGalaxy, Zone.GalaxyZone, null, 2);
var pack = generator.GenerateShipLoadout(data => string.Equals(data.Name, hullName, StringComparison.InvariantCultureIgnoreCase));
- Ship ship;
- if (pack != null) ship = (Ship) EntitySerializer.Unpack(ItemManager, Zone, pack);
- else
+ if (pack == null)
{
- // An unoffered hull is drawn by nobody; it reaches a ship only through a Loadout (ruling off-market-is-general).
- var failures = new List();
- var loadout = ItemManager.ItemData.GetAll().FirstOrDefault(l =>
- ItemManager.ItemData.Get(l.Hull) is { HullType: HullType.Ship } hull &&
- string.Equals(hull.Name, hullName, StringComparison.InvariantCultureIgnoreCase));
- ship = loadout == null ? null : Loadouts.Materialize(ItemManager, Zone, loadout, generator.ChooseProduct, failures) as Ship;
- if (ship == null)
- {
- ConsoleController.Instance.AppendLogLine(failures.Count > 0
- ? $"Cannot build \"{hullName}\": {string.Join("; ", failures)}"
- : $"No ship hull named \"{hullName}\" that a maker offers or a Loadout fits");
- return;
- }
+ ConsoleController.Instance.AppendLogLine($"No ship hull named \"{hullName}\"");
+ return;
}
+ var ship = (Ship) EntitySerializer.Unpack(ItemManager, Zone, pack);
ship.IsPlayerShip = true;
ship.Direction = _currentEntity.Direction;
ship.Position.xz = _currentEntity.Position.xz + _currentEntity.Direction.Rotate(ItemRotation.Clockwise) * 30;
@@ -857,12 +842,21 @@ public class ActionGameManager : MonoBehaviour
var scenario = PendingScenario;
PendingScenario = null;
var failures = new List();
- var staged = RunStart.Launch(() => RunSave.Replace(CultCache, () =>
+ RunStart.Staged staged = null;
+ try
{
- RunStart.GenerateArena(ItemManager, Settings.ZoneSettings, Settings.PlanetSettings, CurrentGalaxy, scenario);
- PopulateLevel(CurrentGalaxy.Entrance);
- return RunStart.Stage(ItemManager, Zone, scenario, Settings.StartingHullName, Settings.TutorialGenerationSettings, failures);
- }), failures, Debug.LogException);
+ staged = RunSave.Replace(CultCache, () =>
+ {
+ RunStart.GenerateArena(ItemManager, Settings.ZoneSettings, Settings.PlanetSettings, CurrentGalaxy, scenario);
+ PopulateLevel(CurrentGalaxy.Entrance);
+ return RunStart.Stage(ItemManager, Zone, scenario, Settings.StartingHullName, Settings.TutorialGenerationSettings, failures);
+ });
+ }
+ catch (Exception exception)
+ {
+ Debug.LogException(exception);
+ failures.Add(exception.Message);
+ }
if (staged == null)
{
@@ -1086,12 +1080,6 @@ public class ActionGameManager : MonoBehaviour
_shipSubscriptions.Add(CurrentEntity.Zone.ShotResolved
.Where(outcome => outcome.Source == CurrentEntity)
.Subscribe(outcome => _debugLastShots[outcome.Weapon] = outcome));
- _shipSubscriptions.Add(CurrentEntity.Zone.CargoGained
- .Where(gain => gain.Taker == CurrentEntity)
- .Subscribe(gain =>
- {
- if (EventLog != null) EventLog.LogMessage(HaulFeed.Line(gain, ItemManager), gain.Adrift > 0 ? Color.yellow : Color.white);
- }));
FollowCamera.LookAt = ZoneRenderer.EntityInstances[CurrentEntity].LookAtPoint;
FollowCamera.Follow = ZoneRenderer.EntityInstances[CurrentEntity].transform;
@@ -1342,7 +1330,6 @@ public class ActionGameManager : MonoBehaviour
void Update()
{
- if (!RunLive) return;
if(!_paused)
{
_time += Time.deltaTime;
diff --git a/Assets/Scripts/Gameplay/ShipModShips.cs b/Assets/Scripts/Gameplay/ShipModShips.cs
index 33f09f590..89106a6b7 100644
--- a/Assets/Scripts/Gameplay/ShipModShips.cs
+++ b/Assets/Scripts/Gameplay/ShipModShips.cs
@@ -6,10 +6,9 @@ using GameCult.Caching;
using UnityEngine;
using Object = UnityEngine.Object;
-// Mod ships in the running game. Compose (Bind) is the one verdict on whether a mod hull exists, from the package's files;
-// Preload only builds a prototype for each, keyed by the hull's record key, into an inactive assembled copy that Instantiate
-// clones synchronously, so LoadEntity never loads async. ImportFault reports what the Unity importer made of a composed hull:
-// a composed hull Preload cannot build is an import fault: Loading faults with ImportFault, naming every such hull's package.
+// Mod ships in the running game. Compose decides which mod hulls exist; Preload builds a prototype for each, keyed by the
+// hull's record key, into an inactive assembled copy that Instantiate clones synchronously, so LoadEntity never loads async.
+// A composed hull Preload cannot build is an import fault: Loading faults with ImportFault, naming every such hull's package.
// The prototypes are cache-only: rebuilt every boot from the catalog, the mod GLBs and the template.
public static class ShipModShips
{
@@ -102,7 +101,6 @@ public static class ShipModShips
node.name = id;
return node;
}
- // An importer report, not a verdict: Bind has already judged the file.
MeshRenderer Renderer(string id)
{
var found = Node(id).GetComponentInChildren(true);
@@ -132,6 +130,9 @@ public static class ShipModShips
var surface = AddOrGet(hullNode.gameObject);
var shieldMarker = Node(plan.Shield);
+ var scale = shieldMarker.localScale;
+ if (!(scale.x > 0 && scale.y > 0 && scale.z > 0))
+ throw new InvalidOperationException($"{ship.Id}: the shield anchor scale must have three positive radii.");
var shield = Object.Instantiate(template.Shield.GetComponent(), shieldMarker, false);
Reset(shield.transform);
AddOrGet(shield.gameObject);
diff --git a/Assets/Scripts/ServerShared/Behaviors/Behaviors.cs b/Assets/Scripts/ServerShared/Behaviors/Behaviors.cs
index 300229d3f..6b899ee35 100644
--- a/Assets/Scripts/ServerShared/Behaviors/Behaviors.cs
+++ b/Assets/Scripts/ServerShared/Behaviors/Behaviors.cs
@@ -6,7 +6,6 @@ using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
-using GameCult.Caching;
using MessagePack;
using Newtonsoft.Json;
using CultMath;
@@ -213,7 +212,4 @@ public abstract class BehaviorData
{
return base.ToString().FormatTypeName();
}
-
- // Element identity: minted by the cache on write; "" means unset.
- [Key(37)] [CultElementId] public string Id = "";
}
\ No newline at end of file
diff --git a/Assets/Scripts/ServerShared/Behaviors/ConstantWeapon.cs b/Assets/Scripts/ServerShared/Behaviors/ConstantWeapon.cs
index 8e44075ed..b90a124da 100644
--- a/Assets/Scripts/ServerShared/Behaviors/ConstantWeapon.cs
+++ b/Assets/Scripts/ServerShared/Behaviors/ConstantWeapon.cs
@@ -46,7 +46,6 @@ public class ConstantWeapon : Weapon, IProgressBehavior, IEventBehavior, IPowerC
{
get => _ammo;
}
- public override bool HasMagazine => false;
public float Progress
{
diff --git a/Assets/Scripts/ServerShared/Behaviors/InstantWeapon.cs b/Assets/Scripts/ServerShared/Behaviors/InstantWeapon.cs
index 96cdc330e..da23bc107 100644
--- a/Assets/Scripts/ServerShared/Behaviors/InstantWeapon.cs
+++ b/Assets/Scripts/ServerShared/Behaviors/InstantWeapon.cs
@@ -133,13 +133,13 @@ public class InstantWeapon : Weapon, IProgressBehavior, IEventBehavior, IPowerCo
public InstantWeapon(InstantWeaponData data, EquippedItem item) : base(data, item)
{
_data = data;
- _ammo = Magazine;
+ _ammo = data.MagazineSize;
}
public InstantWeapon(InstantWeaponData data, ConsumableItemEffect item) : base(data, item)
{
_data = data;
- _ammo = Magazine;
+ _ammo = data.MagazineSize;
}
protected void Trigger()
@@ -229,9 +229,9 @@ public class InstantWeapon : Weapon, IProgressBehavior, IEventBehavior, IPowerCo
if (!_coolingDown || !(_cooldown < 0)) return false;
_overshoot = min(-_cooldown * CountdownSpan, dt);
_coolingDown = false;
- if (Magazine > 0 && _ammo == 0 && TakeReloadRound())
+ if (_data.MagazineSize > 0 && _ammo == 0)
{
- _ammo = Magazine;
+ _ammo = _data.MagazineSize;
OnReloadComplete?.Invoke();
}
else
@@ -239,18 +239,7 @@ public class InstantWeapon : Weapon, IProgressBehavior, IEventBehavior, IPowerCo
return true;
}
- // A reload pays a round (ruling ballistics-real-ammo): one unit of the weapon's AmmoType leaves the cargo as the magazine refills,
- // and with none to take the magazine stays empty. A weapon with no AmmoType reloads free.
- private bool TakeReloadRound()
- {
- if (!_data.AmmoType.IsSet()) return true;
- var cargo = Entity.FindItemInCargo(_data.AmmoType.Key);
- if (cargo == null) return false;
- if (cargo.ItemsOfType[_data.AmmoType.Key][0] is SimpleCommodity simpleCommodity) cargo.Remove(simpleCommodity, 1);
- return true;
- }
-
- private float CountdownSpan => max(ShortestCycle, Magazine > 0 && _ammo == 0 ? _data.ReloadTime : Cooldown);
+ private float CountdownSpan => max(ShortestCycle, _data.MagazineSize > 0 && _ammo == 0 ? _data.ReloadTime : Cooldown);
// A countdown that starts outside a round (a charge failing) carries the last one's overshoot like every restart.
protected void StartCountdown()
@@ -266,13 +255,9 @@ public class InstantWeapon : Weapon, IProgressBehavior, IEventBehavior, IPowerCo
return overshoot;
}
- // A weapon that names an AmmoType is magazine-fed whatever MagazineSize says: its magazine is at least one round, every round
- // leaves it and the reload takes a crate. A weapon with no AmmoType and a magazine of one or none fires free.
- private int Magazine => _data.AmmoType.IsSet() ? max(1, _data.MagazineSize) : _data.MagazineSize;
-
private bool UseAmmo(float dt)
{
- if (!_data.AmmoType.IsSet() && _data.MagazineSize <= 1) return true;
+ if (_data.MagazineSize <= 1) return true;
if (_ammo > 0)
{
@@ -280,8 +265,18 @@ public class InstantWeapon : Weapon, IProgressBehavior, IEventBehavior, IPowerCo
return true;
}
- // The reload starts only if a round is there to load; FinishCountdown takes it.
- var hasAmmo = !_data.AmmoType.IsSet() || Entity.CountItemsInCargo(_data.AmmoType.Key) > 0;
+ var hasAmmo = true;
+ if (_data.AmmoType.IsSet())
+ {
+ var cargo = Entity.FindItemInCargo(_data.AmmoType.Key);
+ if (cargo != null)
+ {
+ var item = cargo.ItemsOfType[_data.AmmoType.Key][0];
+ if (item is SimpleCommodity simpleCommodity)
+ cargo.Remove(simpleCommodity, 1);
+ }
+ else hasAmmo = false;
+ }
if(hasAmmo)
{
OnReloadBegin?.Invoke();
diff --git a/Assets/Scripts/ServerShared/Behaviors/Weapon.cs b/Assets/Scripts/ServerShared/Behaviors/Weapon.cs
index 52b69d196..cb42d6bd4 100644
--- a/Assets/Scripts/ServerShared/Behaviors/Weapon.cs
+++ b/Assets/Scripts/ServerShared/Behaviors/Weapon.cs
@@ -102,16 +102,6 @@ public abstract class Weapon : ActivatedBehavior
public abstract float DamagePerSecond { get; }
public abstract float RangeDamagePerSecond(float range);
public abstract int Ammo { get; }
- // Rounds in the ship's cargo that reload this weapon's magazine: crates of AmmoType, 0 when the weapon draws none.
- public int Reserve => _data.AmmoType.IsSet() ? Entity.CountItemsInCargo(_data.AmmoType.Key) : 0;
- // Whether Ammo counts a magazine. A weapon that names an AmmoType and fires from one (InstantWeapon) does; a beam (ConstantWeapon) draws one
- // crate per AmmoInterval straight from the cargo and has none.
- public virtual bool HasMagazine => true;
- // What the HUD's ammunition label shows: "magazine/reserve" for a magazine weapon, the reserve alone for one without a magazine, empty when
- // the weapon draws no ammunition. The one rule the HUD reads, so the label cannot show a magazine a weapon does not have.
- public string AmmoReadout => !ShowsAmmoReadout ? "" : HasMagazine ? $"{Ammo}/{Reserve}" : Reserve.ToString();
- // Whether the HUD shows the ammunition label at all (and not the infinite-ammunition icon): the weapon names an AmmoType.
- public bool ShowsAmmoReadout => _data.AmmoType.IsSet();
public WeaponData WeaponData => _data;
public float RangeFactor(float at) => WeaponData.RangeFactor(MinRange, EffectiveRange, Range, _data.DamageAtMaxRange, at);
diff --git a/Assets/Scripts/ServerShared/Corporations.cs b/Assets/Scripts/ServerShared/Corporations.cs
index 080f42aac..3b676aef4 100644
--- a/Assets/Scripts/ServerShared/Corporations.cs
+++ b/Assets/Scripts/ServerShared/Corporations.cs
@@ -47,7 +47,14 @@ public class Faction
[Inspectable, CultReference(typeof(Faction), many: true), CultInspectorRange(0, 1), JsonProperty("allegiance"), Key(12)]
public Dictionary, float> Allegiance = new Dictionary, float>();
- // Keys 13 to 15 (overworldMusic, combatMusic, bossMusic) held Wwise ids; retired, never reuse them.
+ [Inspectable, JsonProperty("overworldMusic"), Key(13)]
+ public uint OverworldMusic;
+
+ [Inspectable, JsonProperty("combatMusic"), Key(14)]
+ public uint CombatMusic;
+
+ [Inspectable, JsonProperty("bossMusic"), Key(15)]
+ public uint BossMusic;
// Key 16 is reserved for Relations (operator ruling faction-relations-field).
@@ -84,8 +91,5 @@ public class FactionPlace
// treats an invalid entry as absent; AetherDb place-names refuses a table that holds one.
public static bool IsValidName(string name) =>
!string.IsNullOrEmpty(name) && name == name.Trim() && !name.StartsWith("EAC-", StringComparison.OrdinalIgnoreCase);
-
- // Element identity: minted by the cache on write; "" means unset.
- [Key(2)] [CultElementId] public string Id = "";
}
diff --git a/Assets/Scripts/ServerShared/Credits.cs b/Assets/Scripts/ServerShared/Credits.cs
deleted file mode 100644
index 9b7ac4226..000000000
--- a/Assets/Scripts/ServerShared/Credits.cs
+++ /dev/null
@@ -1,189 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-
-// The third-party attributions the shipped game must show the player. One list, owned here: the credits screen only
-// renders it, and CreditsTests holds it against the licence files in Assets. Unity-free so the headless build checks it.
-public class Credit
-{
- public string Name;
- public string Licence;
- // What the licence requires shown: copyright holders, and any change notice.
- public string Notice;
- // The licence file in the repo that carries the full text and that this entry answers for.
- public string LicenceFile;
-}
-
-public static class Credits
-{
- public const string TwemojiFile = "Assets/Fonts/Emoji/LICENSE.txt";
- public const string PlaydeadFile = "Assets/Plugins/Playdead/LICENSE.txt";
- public const string NounProjectFile = "Assets/Resources/Sprites/Attribution.txt";
- public const string LiberationFile = "Assets/TextMesh Pro/Fonts/LiberationSans - OFL.txt";
- // Fonts state their holder and licence in their own name tables; the licence texts shipped beside them are these.
- public const string UbuntuLicenceFile = "Assets/Fonts/Ubuntu/UFL-1.0.txt";
- public const string MontserratLicenceFile = "Assets/Fonts/Ubuntu/Montserrat-OFL-1.1.txt";
- public const string UniRxFile = "Assets/Plugins/UniRx/ReadMe.txt";
- public const string AmbientCgFile = "Assets/Materials/PBR/SOURCES.md";
- public const string KdTreeFile = "Assets/Scripts/ServerShared/NIH/KDTree/KDTree.cs";
- public const string SimplexNoiseFile = "Assets/Plugins/GPU Noise/SimplexNoise2D.cginc";
- // Works whose notice is only a source-file header; each answers through the file whose header states it.
- public const string UnityShaderFile = "Assets/Shaders/Particle Standard Unlit.shader";
- public const string AdditiveUiFile = "Assets/Shaders/AdditiveUI.shader";
- public const string AcesFile = "Assets/Shaders/CustomDoF/ACES.hlsl";
- public const string BezierPathFile = "Assets/Plugins/com.unity.uiextensions/Runtime/Scripts/Utilities/BezierPath.cs";
- public const string ClassicNoiseFile = "Assets/Plugins/Celestial Body/Scripts/Shaders/Includes/SimplexNoise2.cginc";
- // The first line of the attribution file; the icon credits are the lines after it.
- public const string NounProjectHeading = "Noun Project";
- // Where the player build loads the Noun Project credit lines from (Resources path, no extension).
- public const string NounProjectResource = "Sprites/Attribution";
-
- // The full list. The Noun Project icon credits are the lines of its attribution file, whose text the caller supplies
- // (Unity reads it as a Resources TextAsset; tests read it from disk), so the file stays the one copy of those names.
- public static IReadOnlyList All(string nounProjectAttribution)
- {
- var credits = new List
- {
- new Credit
- {
- Name = "Twemoji",
- Licence = "CC BY 4.0",
- Notice = "Copyright (c) 2022-present Jason Sofonia & Justine De Caires; copyright (c) 2014-2021 Twitter. " +
- "Graphics licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). " +
- "Converted to a colour font; the artwork itself is not edited.",
- LicenceFile = TwemojiFile
- },
- new Credit
- {
- Name = "Playdead temporal anti-aliasing",
- Licence = "MIT",
- Notice = "Copyright (c) 2015 Playdead",
- LicenceFile = PlaydeadFile
- },
- new Credit
- {
- Name = "Liberation Sans",
- Licence = "SIL Open Font License 1.1",
- Notice = "Digitized data copyright (c) 2010 Google Corporation with Reserved Font Arimo, Tinos and Cousine. " +
- "Copyright (c) 2012 Red Hat, Inc. with Reserved Font Name Liberation.",
- LicenceFile = LiberationFile
- },
- new Credit
- {
- Name = "Ubuntu and Ubuntu Mono fonts",
- Licence = "Ubuntu Font Licence 1.0",
- Notice = "Copyright 2011 Canonical Ltd.",
- LicenceFile = UbuntuLicenceFile
- },
- new Credit
- {
- Name = "Montserrat",
- Licence = "SIL Open Font License 1.1",
- Notice = "Copyright(c) 2014 by Julieta Ulanovsky",
- LicenceFile = MontserratLicenceFile
- },
- new Credit
- {
- Name = "UniRx",
- Licence = "MIT",
- Notice = "Created by Yoshifumi Kawai (neuecc)",
- LicenceFile = UniRxFile
- },
- new Credit
- {
- Name = "KDTree",
- Licence = "MIT",
- Notice = "Copyright (c) 2018 Vili Volčini / viliwonka",
- LicenceFile = KdTreeFile
- },
- new Credit
- {
- Name = "webgl-noise simplex noise",
- Licence = "MIT",
- Notice = "Copyright (C) 2011 Ashima Arts. Author: Ian McEwan, Ashima Arts " +
- "(https://github.com/ashima/webgl-noise). Translated to Unity shaders and modified by Keijiro Takahashi " +
- "(https://github.com/keijiro/NoiseShader).",
- LicenceFile = SimplexNoiseFile
- },
- new Credit
- {
- Name = "Celestial Body noise shaders",
- Licence = "MIT",
- Notice = "Copyright (C) 2011 Ashima Arts. Copyright (C) 2011 by Ashima Arts (Simplex noise). " +
- "Copyright (C) 2011 by Stefan Gustavson (Classic noise).",
- LicenceFile = ClassicNoiseFile
- },
- new Credit
- {
- Name = "Unity built-in shaders",
- Licence = "MIT",
- Notice = "Copyright (c) 2016 Unity Technologies. Shader source adapted from Unity's built-in shaders " +
- "(Particle Standard Unlit, StretchedSkybox, MaskedWorldSpaceUI, MaskedWorldSpaceAdditiveUI).",
- LicenceFile = UnityShaderFile
- },
- new Credit
- {
- Name = "AdditiveUI shaders",
- Licence = "MIT for the Unity Technologies portion; the Supyrb portion states no licence",
- Notice = "Copyright (c) 2017 Supyrb. All rights reserved. Author: Johannes Deml. " +
- "Built on Unity's built-in UI shader, copyright (c) 2016 Unity Technologies, MIT.",
- LicenceFile = AdditiveUiFile
- },
- new Credit
- {
- Name = "ACES colour transforms",
- Licence = "Academy Color Encoding System licence",
- Notice = "Copyright 2015 Academy of Motion Picture Arts and Sciences (A.M.P.A.S.). " +
- "Portions contributed by others as indicated. All rights reserved. " +
- "Source: https://github.com/ampas/aces-dev",
- LicenceFile = AcesFile
- },
- new Credit
- {
- Name = "Bezier path (UI Extensions)",
- Licence = "No named licence; permissive grant in the file header",
- Notice = "Author: Herman Tulleken, dev.mag.org.za (http://devmag.org.za/2011/04/05/bzier-curves-a-tutorial/). " +
- "Use this code as you wish, at your own risk.",
- LicenceFile = BezierPathFile
- },
- new Credit
- {
- Name = "ambientCG PBR materials",
- Licence = "CC0 1.0 Universal",
- Notice = "Texture sets from ambientCG (https://ambientcg.com), public domain",
- LicenceFile = AmbientCgFile
- },
- new Credit
- {
- Name = "Noun Project icons",
- Licence = "Noun Project attribution licence",
- Notice = string.Join("\n", NounProjectLines(nounProjectAttribution)),
- LicenceFile = NounProjectFile
- }
- };
- Validate(credits);
- return credits;
- }
-
- // The icon credit lines of the attribution file: everything after its "Noun Project" heading, one line per icon (the
- // file's "Other" sub-heading and its lines follow in the same list). A file that does not open with the heading is
- // refused rather than having its first line dropped.
- public static IEnumerable NounProjectLines(string attribution)
- {
- var lines = (attribution ?? "").Split('\n').Select(line => line.Trim()).Where(line => line.Length > 0).ToArray();
- if (lines.Length < 2 || lines[0] != NounProjectHeading)
- throw new InvalidOperationException($"{NounProjectFile} must open with the heading '{NounProjectHeading}' followed by icon credits");
- return lines.Skip(1);
- }
-
- // Throws on an entry a player-facing screen could not honestly show.
- public static void Validate(IReadOnlyList credits)
- {
- foreach (var credit in credits)
- if (string.IsNullOrWhiteSpace(credit.Name) || string.IsNullOrWhiteSpace(credit.Licence) ||
- string.IsNullOrWhiteSpace(credit.Notice) || string.IsNullOrWhiteSpace(credit.LicenceFile))
- throw new InvalidOperationException($"Credit '{credit.Name}' is missing its name, licence, notice or licence file");
- var duplicate = credits.GroupBy(credit => credit.LicenceFile).FirstOrDefault(group => group.Count() > 1);
- if (duplicate != null) throw new InvalidOperationException($"Licence file {duplicate.Key} is credited twice");
- }
-}
diff --git a/Assets/Scripts/ServerShared/Credits.cs.meta b/Assets/Scripts/ServerShared/Credits.cs.meta
deleted file mode 100644
index e88730bb6..000000000
--- a/Assets/Scripts/ServerShared/Credits.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: b3333d3c0203441fbadd64fad27b60e5
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Scripts/ServerShared/Entity.cs b/Assets/Scripts/ServerShared/Entity.cs
index 2f3062ff2..2394a6134 100644
--- a/Assets/Scripts/ServerShared/Entity.cs
+++ b/Assets/Scripts/ServerShared/Entity.cs
@@ -1525,8 +1525,7 @@ public abstract class Entity
// Check whether the given item will fit when its origin is placed at the given coordinate. For hardpoint gear,
// hardpoint is the one hardpoint the item would occupy there (HardpointAt); Tool gear occupies none.
- private bool ItemFits(EquippableItemData itemData, HullData hullData, EquippableItem item, int2 hullCoord, out HardpointData hardpoint,
- EquippedItem moving = null)
+ private bool ItemFits(EquippableItemData itemData, HullData hullData, EquippableItem item, int2 hullCoord, out HardpointData hardpoint)
{
hardpoint = null;
// Items without specific hardpoints on the ship can be freely rotated and placed anywhere
@@ -1539,64 +1538,49 @@ public abstract class Entity
// general gear may take it until hardpoint gear claims it, which is the same rule
// UnoccupiedSpace reports, so what generation is offered and what equipping accepts agree.
var itemCoord = hullCoord + itemData.Shape.Rotate(i, item.Rotation);
- if (!hullData.InteriorCells[itemCoord] || !IsFree(itemCoord.x, itemCoord.y, moving))
+ if (!hullData.InteriorCells[itemCoord] || GearOccupancy[itemCoord.x, itemCoord.y] != null)
return false;
}
}
else
{
- hardpoint = HardpointAt(itemData, hullData, hullCoord, item.Rotation, moving);
+ hardpoint = HardpointAt(itemData, hullData, hullCoord);
if (hardpoint == null) return false;
+ item.Rotation = hardpoint.Rotation;
}
return true;
}
- // A cell is free when no gear occupies it, or when the only occupant is the item being moved: a re-place of
- // equipped gear is judged against the hull minus that item's own cells (the caller unequips, then equips).
- private bool IsFree(int x, int y, EquippedItem moving) => GearOccupancy[x, y] == null || GearOccupancy[x, y] == moving;
-
// The one placement rule for hardpoint gear. At this origin the item lies within a hardpoint of its type, turned to
// that hardpoint's rotation (HardpointData.TakesAt, the fit rule); its own cells are free, since a hardpoint's
// leftover cells may hold general gear (operator, 2026-09-30: "saving slots in a hardpoint can be a valid tradeoff
- // for crowded ships"); and that hardpoint holds no other hardpoint item, since it holds one at most. Where several hardpoints accept the origin, the
- // one whose rotation equals the item's own (saved) rotation is preferred, so reload seats gear where it was; an item whose
- // rotation names none of them takes the first (stable order).
- private HardpointData HardpointAt(EquippableItemData itemData, HullData hullData, int2 hullCoord, ItemRotation seated, EquippedItem moving)
+ // for crowded ships"); and that hardpoint holds no other hardpoint item, since it holds one at most.
+ private HardpointData HardpointAt(EquippableItemData itemData, HullData hullData, int2 hullCoord)
{
- foreach (var hardpoint in hullData.Hardpoints.OrderBy(h => h.Rotation == seated ? 0 : 1))
+ foreach (var hardpoint in hullData.Hardpoints)
{
if (!hardpoint.TakesAt(itemData, hullCoord - hardpoint.Position)) continue;
var ownCellsFree = itemData.Shape.Coordinates
.Select(v => hullCoord + itemData.Shape.Rotate(v, hardpoint.Rotation))
- .All(c => IsFree(c.x, c.y, moving));
+ .All(c => GearOccupancy[c.x, c.y] == null);
var holdsAnother = hardpoint.Shape.Coordinates
.Select(v => GearOccupancy[hardpoint.Position.x + v.x, hardpoint.Position.y + v.y])
- .Any(occupant => occupant != null && occupant != moving && occupant.Data.HardpointType != HardpointType.Tool);
+ .Any(occupant => occupant != null && occupant.Data.HardpointType != HardpointType.Tool);
if (ownCellsFree && !holdsAnother) return hardpoint;
}
return null;
}
- // Check whether the given item will fit when its origin is placed at the given coordinate on the hull. An item that
- // is already equipped here is judged without its own cells, so a gun can be moved within its own hardpoint;
- // TryEquip stays strict (it never sees an item as its own occupant), so equipping an equipped item twice is refused.
- public bool ItemFits(EquippableItem item, int2 hullCoord) => ItemFits(item, hullCoord, out _);
-
- // As above, and reports the rotation TryEquip would seat the item at: its hardpoint's for hardpoint gear, otherwise
- // its own. A probe never writes item.Rotation; TryEquip is the only seat.
- public bool ItemFits(EquippableItem item, int2 hullCoord, out ItemRotation seated)
+ // Check whether the given item will fit when its origin is placed at the given coordinate on the hull
+ public bool ItemFits(EquippableItem item, int2 hullCoord)
{
- seated = item.Rotation;
// Don't allow equipping while deployed
if (_active) return false;
var itemData = ItemManager.GetData(item);
var hullData = ItemManager.GetData(Hull) as HullData;
- if (!ItemFits(itemData, hullData, item, hullCoord, out var hardpoint, Equipment.FirstOrDefault(e => e.EquippableItem == item)))
- return false;
- seated = hardpoint?.Rotation ?? item.Rotation;
- return true;
+ return ItemFits(itemData, hullData, item, hullCoord, out _);
}
public bool TryFindSpace(EquippableItem item, out int2 hullCoord)
@@ -1669,9 +1653,7 @@ public abstract class Entity
var hullData = ItemManager.GetData(Hull) as HullData;
if (!ItemFits(itemData, hullData, item, hullCoord, out var hardpoint)) return false;
- // The one seat of hardpoint gear's rotation, before EquippedItem's ctor reads it.
- if (hardpoint != null) item.Rotation = hardpoint.Rotation;
-
+
EquippedItem equippedItem;
if (itemData.HardpointType == HardpointType.Tool)
{
@@ -2476,7 +2458,7 @@ public class EquippedCargoBay : EquippedItem
// For simple commodities, search for existing item stacks to add to
foreach (var cargoItem in Cargo.Keys)
{
- if (!item.Data.Key.Equals(cargoItem.Data.Key) || item.Lot != cargoItem.Lot) continue;
+ if (!item.Data.Key.Equals(cargoItem.Data.Key)) continue;
var cargoCommodity = (SimpleCommodity) cargoItem;
if (cargoCommodity.Quantity >= itemData.MaxStack) continue;
@@ -2574,7 +2556,7 @@ public class EquippedCargoBay : EquippedItem
ItemsOfType[item.Data.Key] = new List();
ItemsOfType[item.Data.Key].Add(item);
}
- else if (Occupancy[cargoCoord.x, cargoCoord.y] is SimpleCommodity cargoCommodity && cargoCommodity.Data.Key.Equals(item.Data.Key) && cargoCommodity.Lot == item.Lot)
+ else if (Occupancy[cargoCoord.x, cargoCoord.y] is SimpleCommodity cargoCommodity && cargoCommodity.Data.Key.Equals(item.Data.Key))
{
if (cargoCommodity.Quantity + item.Quantity <= itemData.MaxStack)
{
@@ -2654,7 +2636,7 @@ public class EquippedCargoBay : EquippedItem
item.Quantity -= quantity;
Mass -= itemData.Mass * quantity;
ThermalMass -= itemData.Mass * itemData.SpecificHeat * quantity;
- return new SimpleCommodity{Data = item.Data, Lot = item.Lot, Quantity = quantity, Rotation = item.Rotation};
+ return new SimpleCommodity{Data = item.Data, Quantity = quantity, Rotation = item.Rotation};
}
public void Remove(CraftedItemInstance item)
diff --git a/Assets/Scripts/ServerShared/EntitySerializer.cs b/Assets/Scripts/ServerShared/EntitySerializer.cs
index 73656b87e..7f0f04ebd 100644
--- a/Assets/Scripts/ServerShared/EntitySerializer.cs
+++ b/Assets/Scripts/ServerShared/EntitySerializer.cs
@@ -60,8 +60,8 @@ public static class EntitySerializer
&& itemManager.GetData(commodity).MaxStack >= 1)
{
var maxStack = itemManager.GetData(commodity).MaxStack;
- var first = new SimpleCommodity { Data = commodity.Data, Lot = commodity.Lot, Rotation = commodity.Rotation, Quantity = maxStack };
- var rest = new SimpleCommodity { Data = commodity.Data, Lot = commodity.Lot, Rotation = commodity.Rotation, Quantity = commodity.Quantity - maxStack };
+ var first = new SimpleCommodity { Data = commodity.Data, Rotation = commodity.Rotation, Quantity = maxStack };
+ var rest = new SimpleCommodity { Data = commodity.Data, Rotation = commodity.Rotation, Quantity = commodity.Quantity - maxStack };
if (!bay.TryStore(first, position)) rest.Quantity += first.Quantity;
spill.Add((bay, rest));
return;
@@ -82,7 +82,7 @@ public static class EntitySerializer
var remaining = rest.Quantity;
while (remaining > 0)
{
- var chunk = new SimpleCommodity { Data = rest.Data, Lot = rest.Lot, Rotation = rest.Rotation, Quantity = Math.Min(remaining, maxStack) };
+ var chunk = new SimpleCommodity { Data = rest.Data, Rotation = rest.Rotation, Quantity = Math.Min(remaining, maxStack) };
var placed = home.TryStore(chunk) || bays.Where(b => b != home).Any(b => b.TryStore(chunk));
// A refused store may still have topped up a stack; what is left in the chunk found no room.
remaining -= Math.Min(remaining, maxStack) - (placed ? 0 : chunk.Quantity);
@@ -294,7 +294,4 @@ public abstract class EntityPack
return _price;
}
-
- // Element identity: minted by the cache on write; "" means unset.
- [Key(23)] [CultElementId] public string Id = "";
}
diff --git a/Assets/Scripts/ServerShared/Extensions.cs b/Assets/Scripts/ServerShared/Extensions.cs
index 6ac7b5186..97433a299 100644
--- a/Assets/Scripts/ServerShared/Extensions.cs
+++ b/Assets/Scripts/ServerShared/Extensions.cs
@@ -32,13 +32,16 @@ public static class Extensions
// Every loadable type assignable to this one. An assembly whose dependencies are missing (a Unity plugin
// referencing UnityEngine outside Unity) still yields the types that do load.
- // Read from parallel loaders (catalog validation, parallel tests), so the memo is concurrent.
- private static readonly System.Collections.Concurrent.ConcurrentDictionary ChildClasses = new System.Collections.Concurrent.ConcurrentDictionary();
- public static Type[] GetAllChildClasses(this Type type) => ChildClasses.GetOrAdd(type, t => AppDomain.CurrentDomain.GetAssemblies().SelectMany(assembly =>
+ private static readonly Dictionary ChildClasses = new Dictionary();
+ public static Type[] GetAllChildClasses(this Type type)
{
- try { return assembly.GetTypes(); }
- catch (ReflectionTypeLoadException e) { return e.Types.Where(x => x != null); }
- }).Where(t.IsAssignableFrom).ToArray());
+ if (ChildClasses.TryGetValue(type, out var children)) return children;
+ return ChildClasses[type] = AppDomain.CurrentDomain.GetAssemblies().SelectMany(assembly =>
+ {
+ try { return assembly.GetTypes(); }
+ catch (ReflectionTypeLoadException e) { return e.Types.Where(t => t != null); }
+ }).Where(type.IsAssignableFrom).ToArray();
+ }
public static string SplitCamelCase(this string str) =>
Regex.Replace(Regex.Replace(str, @"(\P{Ll})(\P{Ll}\p{Ll})", "$1 $2"), @"(\p{Ll})(\P{Ll})", "$1 $2");
diff --git a/Assets/Scripts/ServerShared/FactionProduct.cs b/Assets/Scripts/ServerShared/FactionProduct.cs
index 87ac72f7d..14f7af57d 100644
--- a/Assets/Scripts/ServerShared/FactionProduct.cs
+++ b/Assets/Scripts/ServerShared/FactionProduct.cs
@@ -61,9 +61,6 @@ public class ProductRole
[Inspectable, JsonProperty("standardDeviation"), Key(2)]
public float StandardDeviation = .15f;
-
- // Element identity: minted by the cache on write; "" means unset.
- [Key(3)] [CultElementId] public string Id = "";
}
// A bin of one of the maker's lines (ruling maker-design-tiers-allowed): the line it bins (the same design and maker, itself
diff --git a/Assets/Scripts/ServerShared/FireControl.cs b/Assets/Scripts/ServerShared/FireControl.cs
index 9102b16eb..1581e3457 100644
--- a/Assets/Scripts/ServerShared/FireControl.cs
+++ b/Assets/Scripts/ServerShared/FireControl.cs
@@ -7,7 +7,6 @@ using System.Buffers;
using System.Collections.Generic;
using System.Linq;
using CultMath;
-using GameCult.Caching;
using static CultMath.math;
using float2 = CultMath.float2;
using float3 = CultMath.float3;
@@ -85,10 +84,10 @@ public static class FireControl
// Whether the shooter's next round from this weapon is refused: the weapons ask before they spend anything, so
// a refused round costs no ammo, energy, sound, heat, wear or visibility (operator ruling 2026-09-30). The
// answer is Solve's own -- there is no second copy of the arming test.
- public static bool Refuses(Weapon weapon, Entity shooter) => Refuses(weapon, shooter, shooter.Target.Value);
+ public static bool Refuses(Weapon weapon, Entity shooter) => Refuses(weapon, shooter, shooter.Target.Value.Entity);
// The same answer against a target the shooter's pilot has commanded but not yet applied.
- public static bool Refuses(Weapon weapon, Entity shooter, TargetRef target) =>
+ public static bool Refuses(Weapon weapon, Entity shooter, Entity target) =>
!IsMineLayer(weapon) && Solve(weapon, weapon.Item, shooter, target).Outcome == FireOutcome.Refused;
// A mine layer lays a body, not a round: it is never refused, never arc-gated, and Fire routes it to Lay.
@@ -140,18 +139,27 @@ public static class FireControl
// The one owner of a gun's solution against its subject (the designated target; ruling controls-solution-subject).
// Bears: the gun can engage the subject, so the player fires on it without the aim. Free: the aim is inside the
// arc, so the gun can fire along it. Direction: where a round from this gun travels and where its barrel points --
- // the subject's intercept when it bears (a rock's too), else the arc-clamped aim. Subject is null for a rock. Derived on every read and never stored: turrets
+ // the subject's intercept when it bears, else the arc-clamped aim. A chunk subject bears through its pose and
+ // flies the aim, as an untargeted round (Subject is null for it). Derived on every read and never stored: turrets
// traverse instantly in the simulation. Traverse is the weapon's Tracking (ruling mount-arc-gun-traverse), priced in
// TrackingRate; this holds no slew state, and a rig's slew is presentation. It never prices; HitProbability is the one price.
public static GunSolution Solution(Weapon weapon, Entity shooter, TargetRef subject)
{
- var bears = Bears(weapon, shooter, subject, out _);
+ var bears = false;
+ if (subject.Entity != null) bears = Bears(weapon, shooter, subject.Entity, out _);
+ else if (subject.Chunk is ChunkId chunk)
+ {
+ var at = shooter.Zone.ChunkPose(chunk.Field, chunk.Index).xy;
+ bears = InArc(weapon.Item, float3(at.x, 0, at.y) - shooter.Position);
+ }
return new GunSolution
{
Subject = subject.Entity,
Bears = bears,
Free = InArc(weapon.Item, shooter.Aim),
- Direction = bears ? TravelDirection(weapon, shooter, subject) : AimDirection(weapon.Item, shooter)
+ Direction = bears && subject.Entity != null
+ ? TravelDirection(weapon, shooter, subject.Entity)
+ : AimDirection(weapon.Item, shooter)
};
}
@@ -216,8 +224,8 @@ public static class FireControl
return degrees(abs(offset.x * relativeVelocity.y - offset.y * relativeVelocity.x) / (range * range));
}
- public static float AngularVelocity(Entity source, TargetRef target) =>
- AngularVelocity((PositionOf(source, target) - source.Position).xz, VelocityOf(source, target) - source.Velocity);
+ public static float AngularVelocity(Entity source, Entity target) =>
+ AngularVelocity((target.Position - source.Position).xz, target.Velocity - source.Velocity);
// The gun's rate times the ship's gear over the unaided baseline (ruling tracking-per-gun, "gun times ship"): the
// one product of the two. An unauthored gun is +infinity and so is its rate whatever the gear reads: a mount with no
@@ -233,31 +241,14 @@ public static class FireControl
// be judged against another. This is the one function; CombatState (and FireControl.Fire below) both call
// it instead of touching CultMath.first_order_intercept directly. Planar: source velocity is never fed in
// (no shooter here leads its own motion into the shot), matching every existing call site this replaces.
- // Mining Cut 4b: a target is an entity or a rock; its position and velocity come from PositionOf and VelocityOf.
- public static float3 PredictedIntercept(Weapon weapon, Entity source, TargetRef target)
+ public static float3 PredictedIntercept(Weapon weapon, Entity source, Entity target)
{
- var position = PositionOf(source, target);
- var velocity = VelocityOf(source, target);
+ var targetVelocity = float3(target.Velocity.x, 0, target.Velocity.y);
return weapon.Velocity > .01f
- ? first_order_intercept(source.Position, float3.zero, weapon.Velocity, position, float3(velocity.x, 0, velocity.y))
- : position;
+ ? first_order_intercept(source.Position, float3.zero, weapon.Velocity, target.Position, targetVelocity)
+ : target.Position;
}
- // Where a target is now: an entity's position, a rock's pose at the shooter's height (everything here is planar).
- private static float3 PositionOf(Entity source, TargetRef target)
- {
- if (target.Chunk is ChunkId chunk)
- {
- var at = source.Zone.ChunkPose(chunk.Field, chunk.Index).xy;
- return float3(at.x, source.Position.y, at.y);
- }
- return target.Entity.Position;
- }
-
- // How fast a target moves: an entity's velocity, a rock's from Zone.ChunkVelocity, the one owner.
- private static float2 VelocityOf(Entity source, TargetRef target) =>
- target.Chunk is ChunkId chunk ? source.Zone.ChunkVelocity(chunk) : target.Entity.Velocity;
-
// Cut 3, R1/R3: the targeting solution (0b table) -- pure, no draw, recomputed fresh on every call. AI
// reads this to decide whether a shot is worth taking; the HUD reads it to draw a number; Fire below reads
// it once, at the instant the trigger is pulled, and freezes the result into the shot (R10, Q6). Two reads
@@ -272,13 +263,13 @@ public static class FireControl
// freezes (R10), gated exactly as HitProbability gates. Nothing about the target's facing or silhouette
// enters here; that is Silhouette's and PSpread's job, priced fresh by HitProbability below and again,
// live, by Commit at the commit tick. 0 the moment any gate closes.
- private static float PFire(Weapon weapon, Entity source, TargetRef target) => PFire(weapon, source, target, out _, out _, out _);
+ private static float PFire(Weapon weapon, Entity source, Entity target) => PFire(weapon, source, target, out _, out _, out _);
// The `out range` overload is HitProbability's own gate call -- one computation of `target.Position -
// source.Position`, not two. HitProbability used to recompute its own copy for PSpread, which is exactly
// the kind of split authority Cut 3 named as the risk (two places computing the same vector, free to
// drift or to have their subtraction order flipped in only one of them).
- private static float PFire(Weapon weapon, Entity source, TargetRef target, out float range) =>
+ private static float PFire(Weapon weapon, Entity source, Entity target, out float range) =>
PFire(weapon, source, target, out range, out _, out _);
// The one answer to "does the shooter hold valid targeting data on this target": visible, in range and locked
@@ -288,29 +279,25 @@ public static class FireControl
// visible, out of range) already denies the target. Planar (R7: the simulation is 2D): the range gate, the
// burst reach and the range clamp all measure the same distance, so a target's height never moves one of
// them without the others.
- // Mining Cut 4b: a rock is designated by the same range gates, seen when Entity.ChunkVisible says so; a
- // LockWeapon (a launcher) is never designated on a rock (ruling Q12 = A, 2026-09-30).
- public static bool Designated(Weapon weapon, Entity source, TargetRef target, out float range)
+ public static bool Designated(Weapon weapon, Entity source, Entity target, out float range)
{
range = 0f;
- if (target.IsNone) return false;
- range = length((PositionOf(source, target) - source.Position).xz);
- var inRange = range >= weapon.MinRange && range <= weapon.Range;
- if (target.Chunk is ChunkId chunk) return inRange && !(weapon is LockWeapon) && source.ChunkVisible(chunk);
- return source.VisibleEntities.Contains(target.Entity) && inRange &&
+ if (target == null) return false;
+ range = length((target.Position - source.Position).xz);
+ return source.VisibleEntities.Contains(target) && range >= weapon.MinRange && range <= weapon.Range &&
!(weapon is LockWeapon lockWeapon && !lockWeapon.IsLocked);
}
// Whether this gun can engage this target: designated and inside the arc. The one test of it; PFire prices a shot
// at zero unless it holds, and Solution reads it to decide whether the gun fires on the target. `designated` is
// the answer above, kept apart for Solve's burst flight: a designated target out of arc still sets the burst range.
- public static bool Bears(Weapon weapon, Entity source, TargetRef target, out float range) =>
+ public static bool Bears(Weapon weapon, Entity source, Entity target, out float range) =>
Bears(weapon, source, target, out range, out _);
- private static bool Bears(Weapon weapon, Entity source, TargetRef target, out float range, out bool designated)
+ private static bool Bears(Weapon weapon, Entity source, Entity target, out float range, out bool designated)
{
designated = Designated(weapon, source, target, out range);
- return designated && InArc(weapon.Item, PositionOf(source, target) - source.Position);
+ return designated && InArc(weapon.Item, target.Position - source.Position);
}
// `designated` is the answer above. `inArc` is Bears, asked only once a target is designated.
@@ -318,14 +305,13 @@ public static class FireControl
// (operator rulings 2026-09-30): without valid data it has no target and bursts at max range; with data but
// out of arc it bursts at the target's range, along the aim. The HUD reads Designated and the
// arc from Solve and Inspect and decides nothing.
- private static float PFire(Weapon weapon, Entity source, TargetRef target, out float range, out bool designated, out bool inArc)
+ private static float PFire(Weapon weapon, Entity source, Entity target, out float range, out bool designated, out bool inArc)
{
inArc = Bears(weapon, source, target, out range, out designated);
if (!inArc) return 0f;
var settings = source.ItemManager.GameplaySettings;
- var info = target.Chunk is ChunkId chunk ? source.ChunkInfo(chunk)
- : source.EntityInfoGathered.TryGetValue(target.Entity, out var gathered) ? gathered : 0f;
+ var info = source.EntityInfoGathered.TryGetValue(target, out var gathered) ? gathered : 0f;
return Accuracy(source) * PSensor(settings, Resolution(source), info);
}
@@ -378,33 +364,22 @@ public static class FireControl
return (sil, pSpread, evasion);
}
- public static float HitProbability(Weapon weapon, Entity source, TargetRef target) =>
+ public static float HitProbability(Weapon weapon, Entity source, Entity target) =>
HitProbability(weapon, source, target, (AimTarget?) null);
// Priced on `aim` rather than the source's aim slot: the aim its pilot commands this step.
- public static float HitProbability(Weapon weapon, Entity source, TargetRef target, AimTarget aim) =>
+ public static float HitProbability(Weapon weapon, Entity source, Entity target, AimTarget aim) =>
HitProbability(weapon, source, target, (AimTarget?) aim);
// A null aim reads source.ResolvedAim, after the gate, so a gated-out shot reads nothing more.
- // Mining Cut 4b: a rock is priced by the same factors as a ship at equal range, precision and info -- its disc
- // through the same integrator, its evasion 0 (a rock is not a Ship), and no aim point: the disc is aimed at.
- private static float HitProbability(Weapon weapon, Entity source, TargetRef target, AimTarget? aim)
+ private static float HitProbability(Weapon weapon, Entity source, Entity target, AimTarget? aim)
{
var pFire = PFire(weapon, source, target, out var range);
if (pFire <= 0f) return 0f;
- var pMount = PMount(AngularVelocity(source, target), TrackingRate(weapon, source));
- if (target.Chunk is ChunkId chunk)
- {
- var mass = RockMass(source.Zone, chunk, Precision(source), out var span);
- var pSpreadRock = PSpread(weapon.Spread, span, range, source.ItemManager.GameplaySettings.SchematicCellSize);
- return pFire * pMount * pSpreadRock * mass * PDeviation(0f, Tracking(source));
- }
-
- var entity = target.Entity;
- var targetHull = source.ItemManager.GetData(entity.Hull) as HullData;
- var (sil, pSpread, evasion) = Forecast(weapon, source, entity, targetHull, Precision(source), range, aim ?? source.ResolvedAim);
- return pFire * pMount * pSpread * sil.POnHull * PDeviation(evasion, Tracking(source));
+ var targetHull = source.ItemManager.GetData(target.Hull) as HullData;
+ var (sil, pSpread, evasion) = Forecast(weapon, source, target, targetHull, Precision(source), range, aim ?? source.ResolvedAim);
+ return pFire * PMount(AngularVelocity(source, target), TrackingRate(weapon, source)) * pSpread * sil.POnHull * PDeviation(evasion, Tracking(source));
}
// Presentation only: the debug HUD's view of exactly the factors HitProbability multiplies. It computes
@@ -482,7 +457,7 @@ public static class FireControl
// at Fire (R10); HitProbability and Inspect recompute it fresh, at the current source/target positions,
// for their forecast. Below a length of 1e-6 (point-blank, source and intercept coincide) it falls back
// to world +z, the same fallback Apply used before this cut (`:463`).
- public static float2 TravelDirection(Weapon weapon, Entity source, TargetRef target)
+ public static float2 TravelDirection(Weapon weapon, Entity source, Entity target)
{
var toIntercept = (PredictedIntercept(weapon, source, target) - source.Position).xz;
return lengthsq(toIntercept) < 1e-6f ? float2(0, 1) : normalize(toIntercept);
@@ -530,21 +505,12 @@ public static class FireControl
// The commit price's deviation: what the target has already moved off the frozen forecast, plus what it can and
// does move off the line of fire (Evasion). The second part applies at any flight time, so an instant weapon
// (flight time 0, realized deviation 0) still feels a jinking target.
- // Mining Cut 4b: a rock's deviation is where its pose is now against that projection, with no evasion; its
- // zone is the shooter's (a shot that outlives its shooter is resolved by Step, which passes the zone it runs in).
- public static float DeviationProbability(PendingShot shot, float now, out float deviation) =>
- DeviationProbability(shot.Source?.Zone, shot, now, out deviation);
-
- private static float DeviationProbability(Zone zone, PendingShot shot, float now, out float deviation)
+ public static float DeviationProbability(PendingShot shot, float now, out float deviation)
{
- deviation = 0f;
- if (shot.Target == null && shot.Chunk == null) return 1f;
var elapsed = now - shot.FireTime;
var predicted = shot.FireTargetPosition + shot.FireTargetVelocity * elapsed;
- deviation = shot.Chunk is ChunkId chunk
- ? length(zone.ChunkPose(chunk.Field, chunk.Index).xy - predicted.xz)
- : length((shot.Target.Position - predicted).xz) + Evasion(shot.Target, shot.TravelDirection);
- return PDeviation(deviation, shot.Tracking);
+ deviation = shot.Target == null ? 0f : length((shot.Target.Position - predicted).xz) + Evasion(shot.Target, shot.TravelDirection);
+ return shot.Target == null ? 1f : PDeviation(deviation, shot.Tracking);
}
// How far a target can and does move off the line of fire in the solution window: the term DeviationProbability
@@ -642,7 +608,7 @@ public static class FireControl
// BurstReach the planar distance from the shooter at which the payload is delivered (a direct round's target, a fused
// round's burst point, 0 for an untargeted direct round), which Fire's range factor reads for every outcome. Refused: a fused round whose blast
// radius (its arming distance) exceeds the weapon's Range; it cannot be fired.
- public static FireSolution Solve(Weapon weapon, EquippedItem item, Entity source, TargetRef target)
+ public static FireSolution Solve(Weapon weapon, EquippedItem item, Entity source, Entity target)
{
var pFire = PFire(weapon, source, target, out var fireRange, out var designated, out var inArc);
@@ -673,14 +639,14 @@ public static class FireControl
// that leaves the zone cancels it like any other. A round whose Range is shorter than the arming distance
// cannot be fired at all: it is refused, per round, where Range is read after Execute refreshed it (a
// burst's later rounds and a power-starved Range included).
- var engaged = fuse != null && !(designated && inArc) ? TargetRef.None : target;
+ var engaged = fuse != null && !(designated && inArc) ? null : target;
var origin = source.Position;
var travelDirection = Solution(weapon, source, target).Direction;
var arming = fuse != null ? blastRadius : 0f;
- var burstPosition = !engaged.IsNone ? PositionOf(source, engaged) : origin;
+ var burstPosition = engaged != null ? engaged.Position : origin;
var flightDistance = 0f;
- if (fuse != null && !engaged.IsNone)
+ if (fuse != null && engaged != null)
{
// Nothing bursts beyond max range: an intercept a receding target leads the round past Range is
// pulled back along its own line to Range.
@@ -696,7 +662,7 @@ public static class FireControl
burstPosition = Armed(origin, travelDirection, arming, origin + float3(travelDirection.x, 0, travelDirection.y) * reach);
flightDistance = max(reach, arming);
}
- else if (!engaged.IsNone) flightDistance = fireRange;
+ else if (engaged != null) flightDistance = fireRange;
var solution = new FireSolution
{
@@ -744,7 +710,8 @@ public static class FireControl
Lay(weapon, item, source);
return 0;
}
- var target = source.Target.Value;
+ // Mining Cut 3: a chunk target fires as an untargeted round until Cut 4 routes shots at chunks.
+ var target = source.Target.Value.Entity;
var now = zone.Time - age;
// R1's engage gate and the shooter-side probability, evaluated now and frozen: nothing at commit time
@@ -754,7 +721,7 @@ public static class FireControl
var solution = Solve(weapon, item, source, target);
if (solution.Outcome == FireOutcome.Refused) return 0;
// The mount factor is frozen with the shooter-side probability: nothing at commit time re-reads the sweep.
- var pFire = solution.PFire * (!solution.Engaged.IsNone ? PMount(AngularVelocity(source, solution.Engaged), TrackingRate(weapon, source)) : 1f);
+ var pFire = solution.PFire * (solution.Engaged != null ? PMount(AngularVelocity(source, solution.Engaged), TrackingRate(weapon, source)) : 1f);
var fireRange = solution.FireRange;
var engaged = solution.Engaged;
var travelDirection = solution.TravelDirection;
@@ -765,11 +732,10 @@ public static class FireControl
var targetVelocity = float3.zero;
var targetPosition = origin;
- if (!engaged.IsNone)
+ if (engaged != null)
{
- var velocity = VelocityOf(source, engaged);
- targetVelocity = float3(velocity.x, 0, velocity.y);
- targetPosition = PositionOf(source, engaged) - targetVelocity * age;
+ targetVelocity = float3(engaged.Velocity.x, 0, engaged.Velocity.y);
+ targetPosition = engaged.Position - targetVelocity * age;
}
var flightTime = weapon.Velocity > .01f ? solution.FlightDistance / weapon.Velocity : 0f;
@@ -780,8 +746,7 @@ public static class FireControl
{
ShotId = zone.NextShotId(),
Source = source,
- Target = engaged.Entity,
- Chunk = engaged.Chunk,
+ Target = engaged,
Weapon = item,
Aimed = aim.Item,
AimedMount = aim.Mount,
@@ -808,7 +773,7 @@ public static class FireControl
// The commit horizon exists so the target's facing can be read late (Bearing timing). A round fired at
// nothing has no facing to read, so it commits at Fire: its burst point is decided from the poses of
// the moment it leaves, and a Contact round short of max range can arrive as early as it truly does.
- CommitTime = fuse != null && engaged.IsNone ? now : now + max(0f, flightTime - commitHorizon),
+ CommitTime = fuse != null && engaged == null ? now : now + max(0f, flightTime - commitHorizon),
BurstPosition = burstPosition,
Fuse = fuse,
BlastRadius = blastRadius,
@@ -896,7 +861,7 @@ public static class FireControl
{
var shot = shots[i];
- var targetGone = TargetGone(zone, shot);
+ var targetGone = shot.Target != null && !zone.Entities.Contains(shot.Target);
if (targetGone)
{
// Cut 11 (Soul C4): a shot whose target has left the zone resolves as a miss whichever
@@ -943,7 +908,7 @@ public static class FireControl
if (i < 0) continue;
var shot = shots[i];
- var targetGone = TargetGone(zone, shot);
+ var targetGone = shot.Target != null && !zone.Entities.Contains(shot.Target);
if (targetGone)
{
// As in the commit walk: a shot whose target left the zone in this step resolves as a miss.
@@ -965,10 +930,6 @@ public static class FireControl
}
}
- // A shot's target has left the zone, or a rock it flies at no longer exists (broken in flight): the shot is a miss.
- private static bool TargetGone(Zone zone, PendingShot shot) =>
- (shot.Target != null && !zone.Entities.Contains(shot.Target)) || (shot.Chunk is ChunkId chunk && !zone.ChunkExists(chunk));
-
// R3/R4: the one roll. p_base was frozen at fire, PFire carrying the mount factor; the only thing measured live is how far the target has
// actually strayed, by now, from where a straight-line projection of its fire-time velocity said it would
// be -- forgiven by the targeting system's Tracking, likewise frozen at fire.
@@ -984,25 +945,15 @@ public static class FireControl
// (bearing) -- is read live, here, at the commit tick. The Cut 7 guard extends to cover the new factors:
// when PFire x pDeviation is already 0, no Silhouette is built. Shared by Commit's own roll and by the
// debug HUD's forecast (TheHudEstimateIsTheCommitPrice) -- one function, one commit-time price.
- public static float CommitProbability(PendingShot shot, float now, out Silhouette sil) =>
- CommitProbability(shot.Source?.Zone, shot, now, out sil);
-
- // Mining Cut 4b: a rock's price is PFire x PDeviation x PSpread(span 2R) x the disc's mass; it reads no hull.
- private static float CommitProbability(Zone zone, PendingShot shot, float now, out Silhouette sil)
+ public static float CommitProbability(PendingShot shot, float now, out Silhouette sil)
{
sil = default;
- if (shot.Target == null && shot.Chunk == null) return 0f;
+ if (shot.Target == null) return 0f;
- var pDeviation = DeviationProbability(zone, shot, now, out _);
+ var pDeviation = DeviationProbability(shot, now, out _);
var p = shot.PFire * pDeviation;
if (p <= 0f) return 0f;
- if (shot.Chunk is ChunkId chunk)
- {
- var mass = RockMass(zone, chunk, shot.Precision, out var span);
- return p * PSpread(shot.Spread, span, shot.FireRange, zone.SchematicCellSize) * mass;
- }
-
var bearing = Bearing(shot.Target, shot.TravelDirection);
var hullData = shot.Target.ItemManager.GetData(shot.Target.Hull) as HullData;
sil = Silhouette(shot.Target, hullData, shot.Aimed, bearing, shot.Precision, null, shot.AimedMount);
@@ -1033,7 +984,7 @@ public static class FireControl
// drawing once is the documented way to get a correlated first output, and a follow-up to give
// CultMath.Random a mixed-seed entry point of its own is recorded for a separate CultLib cut.
var random = new Random(SimulationDice.Mix((zone.CombatSeed * 2654435761u) ^ (uint) shot.ShotId | 1u));
- var p = CommitProbability(zone, shot, now, out var sil);
+ var p = CommitProbability(shot, now, out var sil);
var hit = p > 0f && random.NextFloat() < p;
var cell = int2.zero;
@@ -1042,8 +993,7 @@ public static class FireControl
var shielded = false;
var shieldBroken = false;
- // A rock hit has no lane and no shield: Cell, Bearing and Lateral stay zero (Apply wears the rock).
- if (hit && shot.Chunk == null)
+ if (hit)
{
// Cut 12.2: the same silhouette pOnHull drew its mass from -- same bearing (live, at this commit
// tick), same sigma (the frozen Precision). A shot that passed the roll always lands on metal (R3:
@@ -1235,13 +1185,7 @@ public static class FireControl
// Detonate is still the one blast path.
if (shot.Outcome.Result == ShotResult.Burst || shot.Fuse == WeaponFuse.Proximity)
{
- Detonate(zone, shot.Outcome.BurstPoint, shot.BlastRadius, shot.Damage, shot.DamageType, shot);
- return;
- }
-
- if (shot.Chunk is ChunkId rock)
- {
- ApplyRockHit(zone, shot, rock);
+ Detonate(zone, shot.Outcome.BurstPoint, shot.BlastRadius, shot.Damage, shot.DamageType);
return;
}
@@ -1257,28 +1201,6 @@ public static class FireControl
}
}
- // Mining Cut 4b: a committed hit on a rock. A round without a fuse wears the rock by its Damage (the falloff was
- // read at Fire) and publishes one absorb on the zone's ChunkCapabilities (through Publish, at height 0 like a blast's), at the
- // rock's surface facing the shot and before the wear shrinks it. A contact or delayed round detonates at the rock's centre as it arrives (the
- // arming rule kept), through Detonate, the one area owner.
- private static void ApplyRockHit(Zone zone, PendingShot shot, ChunkId rock)
- {
- if (!shot.Outcome.Hit) return;
-
- var centre = zone.ChunkPose(rock.Field, rock.Index).xy;
- if (shot.Fuse == null)
- {
- var direction = float3(shot.TravelDirection.x, 0, shot.TravelDirection.y);
- var surface = centre - shot.TravelDirection * zone.ChunkRadius(rock);
- Publish(zone.ChunkCapabilities, AbsorbLayer.Hull, float3(surface.x, 0f, surface.y), direction, shot.Damage, shot.DamageType);
- var absorbed = zone.Wear(rock, shot.Damage);
- Extract(zone, rock, absorbed, shot.Source, SimulationDice.For(zone.DropSeed, SimulationDice.OreStream, (uint) shot.ShotId));
- return;
- }
- var point = Armed(shot.FireOrigin, shot.TravelDirection, shot.BlastRadius, float3(centre.x, shot.FireOrigin.y, centre.y)).xz;
- Detonate(zone, point, shot.BlastRadius, shot.Damage, shot.DamageType, shot);
- }
-
// Cut 12.3 (docs/fire-control-cut.md, "How a direct hit travels"): replaces Entity.ApplyHit's 0.5-step
// march and Entity.DamageSchematic's even split over the whole hit shape. Spread is width (Q12-2 = A):
// 2n+1 parallel lanes, sharing the shot's damage evenly over whichever lanes actually meet metal -- the
@@ -1299,7 +1221,7 @@ public static class FireControl
if (shot.Outcome.Shielded)
{
- Publish(shot.Target.Capabilities, AbsorbLayer.Shield, ImpactPoint(shot.Target, shot.Outcome.Cell),
+ Publish(shot.Target, AbsorbLayer.Shield, ImpactPoint(shot.Target, shot.Outcome.Cell),
float3(shot.TravelDirection.x, 0, shot.TravelDirection.y), shot.Damage, shot.DamageType);
shot.Target.Shield.TakeHit(shot.DamageType, shot.Damage);
return;
@@ -1344,7 +1266,7 @@ public static class FireControl
for (var li = 0; li < laneCount; li++) ArrayPool.Shared.Return(buffers[li]);
- Publish(target.Capabilities, AbsorbLayer.Hull, ImpactPoint(target, shot.Outcome.Cell),
+ Publish(target, AbsorbLayer.Hull, ImpactPoint(target, shot.Outcome.Cell),
float3(shot.TravelDirection.x, 0, shot.TravelDirection.y), shot.Damage, shot.DamageType);
target.DamageHull(hullDamage);
}
@@ -1356,18 +1278,17 @@ public static class FireControl
return float3(world.x, target.Position.y, world.y);
}
- // The one publisher of an absorbed impact: once per receiver, on its CapabilityEvents (an entity's, or the zone's
- // for a rock), before the damage it reports.
- private static void Publish(CapabilityEvents receiver, AbsorbLayer layer, float3 position, float3 direction, float magnitude, DamageType damageType) =>
- receiver.PublishAbsorb(new AbsorbEvent(position, direction, magnitude, damageType, layer));
+ // The one publisher of an absorbed impact: once per receiver, on its Capabilities, before the damage it reports.
+ private static void Publish(Entity receiver, AbsorbLayer layer, float3 position, float3 direction, float magnitude, DamageType damageType) =>
+ receiver.Capabilities.PublishAbsorb(new AbsorbEvent(position, direction, magnitude, damageType, layer));
- // A blast's impact on one receiver: at the blast point (at the receiver's height), travelling from the blast out
- // through the receiver's planar centre, or zero when they coincide. An entity and a rock go through it alike.
- private static void PublishBlast(CapabilityEvents receiver, float2 centre, float height, float2 blast, AbsorbLayer layer, float magnitude, DamageType damageType)
+ // A blast's impact on one entity: at the blast point (on the entity's height), travelling from the blast out through
+ // the entity's centre, or zero when they coincide.
+ private static void PublishBlast(Entity entity, float2 blast, AbsorbLayer layer, float magnitude, DamageType damageType)
{
- var away = centre - blast;
+ var away = entity.Position.xz - blast;
var direction = lengthsq(away) > 0f ? normalize(away) : float2.zero;
- Publish(receiver, layer, float3(blast.x, height, blast.y), float3(direction.x, 0, direction.y), magnitude, damageType);
+ Publish(entity, layer, float3(blast.x, entity.Position.y, blast.y), float3(direction.x, 0, direction.y), magnitude, damageType);
}
// Cut 12.4(b) (docs/fire-control-cut.md, "Where P is"): a contact or delayed blast needs a committed hit --
@@ -1415,7 +1336,7 @@ public static class FireControl
// the muzzle than the blast radius is detonated on at the radius, along the round's own flight line.
var hullPoint = target.ToWorldPoint(schematicPoint);
var worldPoint = Armed(shot.FireOrigin, shot.TravelDirection, shot.BlastRadius, float3(hullPoint.x, shot.FireOrigin.y, hullPoint.y)).xz;
- Detonate(target.Zone, worldPoint, shot.BlastRadius, shot.Damage, shot.DamageType, shot);
+ Detonate(target.Zone, worldPoint, shot.BlastRadius, shot.Damage, shot.DamageType);
}
// Cut 12.4(b) (docs/fire-control-cut.md, "The penetrator", Q12-8): the one penetration-reach owner, moved
@@ -1672,7 +1593,6 @@ public static class FireControl
ShotId = shot.ShotId,
Source = shot.Source,
Target = shot.Target,
- Chunk = shot.Chunk,
Weapon = shot.Weapon,
Result = result,
Shielded = shielded,
@@ -1687,13 +1607,7 @@ public static class FireControl
// Cut 12.4(b) (docs/fire-control-cut.md, "Area, per entity"): the one owner of blast damage -- a blast is
// an area, not a bundle of rays (Q12-7 dissolved the ray model's remainder question along with the rays
- // themselves). Splash's signature with the point made planar (R7). Callers: Apply's three fuse branches and
- // Zone's mine step. Nothing draws: every candidate entity in radius takes its share, unconditionally.
- //
- // Mining cut 4a (docs/mining-cut-refresh.md, Q10 = A): this is also the one owner of blast area over rocks.
- // After the entity pass, every unbroken rock whose disc the blast disc overlaps takes its lens share of the
- // damage -- damage * lens / (pi r^2), the cells' own normaliser -- through Zone.Wear, and publishes one absorb
- // on Zone.ChunkCapabilities first. Overlapping bodies each take their own overlap; shares off every body are lost.
+ // themselves). Splash's signature with the point made planar (R7). Callers: Apply's three fuse branches. Nothing draws: every candidate entity in radius takes its share, unconditionally.
//
// For each candidate (an entity whose centre lies within radius plus half its own hull diagonal --
// CandidatesIncludeHullsWhoseCentreIsOutsideTheRadius, which Splash's centre-distance cull could not pass):
@@ -1717,7 +1631,7 @@ public static class FireControl
// call: doing so would buy no behaviour, per ProbeC in the cut doc). Leftovers -- unoccupied-cell shares,
// and whatever an item's pool does not absorb -- join one entity-wide hull total, applied through one
// DamageHull call.
- public static void Detonate(Zone zone, float2 worldPlanar, float radius, float damage, DamageType damageType, PendingShot? shot = null)
+ public static void Detonate(Zone zone, float2 worldPlanar, float radius, float damage, DamageType damageType)
{
// No distance prefilter: RectDiskOverlap is the one decider of whether the disc touches a hull. A
// prefilter measured from Position (the centre of mass) with the bounding box's half-diagonal is not a
@@ -1759,7 +1673,7 @@ public static class FireControl
{
if (shield.CanTakeHit(damageType, totalShare))
{
- PublishBlast(entity.Capabilities, entity.Position.xz, entity.Position.y, worldPlanar, AbsorbLayer.Shield, totalShare, damageType);
+ PublishBlast(entity, worldPlanar, AbsorbLayer.Shield, totalShare, damageType);
shield.TakeHit(damageType, totalShare);
continue;
}
@@ -1789,112 +1703,11 @@ public static class FireControl
for (var i = 0; i < amounts.Length; i++) hullTotal += amounts[i];
}
- PublishBlast(entity.Capabilities, entity.Position.xz, entity.Position.y, worldPlanar, AbsorbLayer.Hull, totalShare, damageType);
+ PublishBlast(entity, worldPlanar, AbsorbLayer.Hull, totalShare, damageType);
entity.DamageHull(hullTotal);
}
-
- if (!(radius > 0f) || zone.AsteroidBelts.Count == 0) return; // no area, or no rocks to cover
- // Rocks, through the targeting index (no observer: entities stay out of it). Reach is exact on a rock's
- // centre, so it is the blast radius plus the widest any rock can be. Walked in (field, index) order so the
- // order of wear -- and any later dice on it -- is fixed.
- var rocks = _rockScratch ??= new List();
- zone.Targets.Within(new TargetSearch(worldPlanar, radius + Zone.LargestChunkRadius(zone.Settings)), rocks);
- rocks.RemoveAll(c => !c.Target.Chunk.HasValue);
- rocks.Sort((a, b) =>
- {
- var byField = string.CompareOrdinal(a.Target.Chunk.Value.Field.Value, b.Target.Chunk.Value.Field.Value);
- return byField != 0 ? byField : a.Target.Chunk.Value.Index.CompareTo(b.Target.Chunk.Value.Index);
- });
- var discArea = PI * radius * radius;
- // Mining Cut 5a: a shot's blast pays its Source for the rocks it wears, from the shot's own dice, once for the
- // blast, drawn in the rock order above. A mine (no shot) wears rocks and yields nothing.
- var dice = shot != null ? SimulationDice.For(zone.DropSeed, SimulationDice.OreStream, (uint) shot.Value.ShotId) : default;
- foreach (var rock in rocks)
- {
- var chunk = rock.Target.Chunk.Value;
- if (!zone.ChunkExists(chunk)) continue;
- var centre = zone.ChunkPose(chunk.Field, chunk.Index).xy;
- var share = damage * CircleCircleOverlap(length(centre - worldPlanar), radius, zone.ChunkRadius(chunk)) / discArea;
- if (!(share > 0f)) continue;
- PublishBlast(zone.ChunkCapabilities, centre, 0f, worldPlanar, AbsorbLayer.Hull, share, damageType);
- var absorbed = zone.Wear(chunk, share);
- if (shot != null) Extract(zone, chunk, absorbed, shot.Value.Source, dice);
- }
}
- // Mining Cut 5a: the one loot owner of a rock. A worn rock pays the shooter at the wear site, at arrival or detonation,
- // from the shot's own dice: the damage it absorbed is that fraction of its hitpoints, and the same fraction of the
- // units its size authors (AsteroidYield), so a rock pays its whole yield however many hits break it. Whole units, and
- // one Bernoulli draw on the fraction. Each unit draws an ore by weight: the belt's yields for this province, scaled by
- // exp(variance x g), g a stable hash of (field, index, ore) in [-1, 1) -- a rock's composition, derived here every call
- // and never stored. A shot with no Source (a mine) yields nothing. The units go to the shooter's cargo bays in
- // stacks; what does not fit, or everything when the shooter has left the zone, floats at the rock (ruling
- // mining-overflow-floats).
- // Draw order: the Bernoulli, then one draw per unit.
- public static void Extract(Zone zone, ChunkId chunk, float absorbed, Entity shooter, Random dice)
- {
- if (shooter == null || !(absorbed > 0f)) return;
- var settings = zone.Settings;
- var belt = zone.AsteroidBelts[chunk.Field];
- var catalog = shooter.ItemManager.ItemData;
- var ores = FieldKinds.Yield(belt.Data.Kind, zone.GalaxyZone?.Province?.Type ?? default, catalog);
- if (ores.Length == 0) return;
-
- var size = belt.Data.Asteroids[chunk.Index].Size;
- var owed = absorbed / settings.AsteroidHitpoints.Evaluate(size) * settings.AsteroidYield.Evaluate(size);
- var units = (int) floor(owed);
- if (dice.NextFloat() < owed - units) units++;
- if (units == 0) return;
-
- var weights = new float[ores.Length];
- var total = 0f;
- for (var i = 0; i < ores.Length; i++)
- {
- var g = $"{chunk.Field.Value}:{chunk.Index}:{ores[i].Commodity.Key.Value}".StableHash() / 2147483648.0 - 1.0;
- total += weights[i] = ores[i].Amount * (float) Math.Exp(settings.ChunkCompositionVariance * g);
- }
- var counts = new int[ores.Length];
- for (var unit = 0; unit < units; unit++)
- {
- var pick = dice.NextFloat() * total;
- var ore = 0;
- while (ore < ores.Length - 1 && pick >= weights[ore]) pick -= weights[ore++];
- counts[ore]++;
- }
-
- var at = zone.ChunkPose(chunk.Field, chunk.Index).xy;
- var velocity = zone.ChunkVelocity(chunk);
- var zoneIndex = zone.Galaxy?.Zones == null ? -1 : Array.IndexOf(zone.Galaxy.Zones, zone.GalaxyZone);
- var present = zone.Entities.Contains(shooter);
- for (var i = 0; i < ores.Length; i++)
- {
- var key = ores[i].Commodity.Key;
- var commodity = (SimpleCommodityData) catalog.Get(ores[i].Commodity);
- var maxStack = Math.Max(1, commodity.MaxStack);
- var lot = counts[i] > 0 ? shooter.ItemManager.ExtractedLot(zoneIndex, chunk.Field, commodity) : 0;
- var adrift = 0;
- for (var left = counts[i]; left > 0; left -= maxStack)
- {
- var stack = new SimpleCommodity { Data = new CultRecordRef(key), Lot = lot, Quantity = Math.Min(left, maxStack) };
- // A partial store leaves the remainder in Quantity and returns false, so the next bay is offered the rest.
- var stored = false;
- if (present) foreach (var bay in shooter.CargoBays) if (stored = bay.TryStore(stack)) break;
- if (!stored)
- {
- adrift += stack.Quantity;
- zone.Release(stack, at, velocity);
- }
- }
- if (counts[i] > 0)
- zone.CargoGained.OnNext(new CargoGain
- {
- Taker = shooter, Design = new CultRecordRef(key), Lot = lot, Stored = counts[i] - adrift, Adrift = adrift, Kind = GainKind.Mined
- });
- }
- }
-
- [ThreadStatic] private static List _rockScratch;
-
// Whether the disc reaches any occupied hull cell of the entity: Detonate's own coverage test (the same
// ToSchematicPoint, SchematicCellSize and CircleSquareOverlap), so what triggers a mine and what its blast
// reaches are one geometry.
@@ -1908,19 +1721,6 @@ public static class FireControl
return false;
}
- // Mining cut 4a: the exact area shared by two discs at centre distance d -- the lens. Exactly zero when they are
- // disjoint or tangent, and the smaller disc's whole area when one contains the other.
- public static float CircleCircleOverlap(float d, float r1, float r2)
- {
- if (r1 <= 0f || r2 <= 0f || d >= r1 + r2) return 0f;
- var small = min(r1, r2);
- if (d <= abs(r1 - r2)) return PI * small * small;
- var a = (d * d + r1 * r1 - r2 * r2) / (2f * d * r1);
- var b = (d * d + r2 * r2 - r1 * r1) / (2f * d * r2);
- var k = (-d + r1 + r2) * (d + r1 - r2) * (d - r1 + r2) * (d + r1 + r2);
- return r1 * r1 * acos(clamp(a, -1f, 1f)) + r2 * r2 * acos(clamp(b, -1f, 1f)) - .5f * sqrt(max(0f, k));
- }
-
// Cut 12.4(b) (docs/fire-control-cut.md, "Exact overlap, in float"): the exact area of a unit square,
// centred on `cell` (the unit square centred on its integer coordinate, the same convention every other
// frame rule uses), that lies inside a disc of radius `r` centred at `diskCentre` -- both in the same
@@ -2076,7 +1876,9 @@ public static class FireControl
var aimPoint = ResolveAimPoint(target, hull, aimed, mount);
var a = dot(aimPoint, ell);
- var pOnHull = Mass(new ReadOnlySpan(intervals, 0, count), a, sigma);
+ var pOnHull = 0f;
+ for (var i = 0; i < count; i++)
+ pOnHull += Phi((intervals[i].Hi - a) / sigma) - Phi((intervals[i].Lo - a) / sigma);
var span = count > 0 ? intervals[count - 1].Hi - intervals[0].Lo : 0f;
@@ -2092,27 +1894,6 @@ public static class FireControl
};
}
- // The one Gaussian integrator: the mass a normal of `sigma` about `aim` puts inside the merged, disjoint
- // `intervals`. A hull's shadow and a rock's disc (one interval about its aim) both read it.
- private static float Mass(ReadOnlySpan intervals, float aim, float sigma)
- {
- var mass = 0f;
- foreach (var interval in intervals)
- mass += Phi((interval.Hi - aim) / sigma) - Phi((interval.Lo - aim) / sigma);
- return mass;
- }
-
- // A rock is a disc of radius R schematic cells aimed at its centre: one interval [-R, R] about the aim, span 2R.
- // The one price of it, read by HitProbability's forecast and by Commit, at the rock's radius now.
- private static float RockMass(Zone zone, ChunkId chunk, float precision, out float span)
- {
- var radius = zone.ChunkCells(chunk);
- span = 2f * radius;
- Span disc = stackalloc Interval[1];
- disc[0] = new Interval { Lo = -radius, Hi = radius };
- return saturate(Mass(disc, 0f, Sigma(precision)));
- }
-
// Phi(z) = 1/2 (1 + erf(z / sqrt(2))): the standard normal CDF, CultMath's erf the one function underneath
// every Gaussian-mass sum this cut computes.
private static float Phi(float z) => .5f * (1f + erf(z * (1f / SQRT2)));
@@ -2273,9 +2054,6 @@ public struct PendingShot
public int ShotId;
public Entity Source;
public Entity Target;
- // Mining Cut 4b: the rock a shot flies at, frozen at Fire; at most one of Target and Chunk is set. Unity reads
- // Target only, so a rock shot draws untargeted until the Unity follow-up (mining-unity-chunk-presentation).
- public ChunkId? Chunk;
public EquippedItem Weapon;
public EquippedItem Aimed;
// The mount the aim was at, when it was at a mount rather than an item (Entity.ResolvedAim at Fire), frozen with Aimed:
@@ -2335,7 +2113,7 @@ public struct PendingShot
// A fused round with no target: where it bursts is decided at its commit (the first hull its aim line meets), so its
// damage reads the falloff there rather than at Fire.
- public bool DeliveredAtCommit => Fuse != null && Target == null && Chunk == null;
+ public bool DeliveredAtCommit => Fuse != null && Target == null;
}
// What a round does when fired (FireControl.Solve): Direct resolves against its target, Burst detonates at a
@@ -2369,7 +2147,7 @@ public struct FireSolution
public float FireRange;
// Whether the shooter holds valid targeting data on the target (Designated); the HUD and the agents read it here.
public bool Designated;
- public TargetRef Engaged;
+ public Entity Engaged;
public float2 TravelDirection;
public float3 BurstPosition;
public WeaponFuse? Fuse;
@@ -2535,7 +2313,6 @@ public sealed class ShotOutcome
public int ShotId;
public Entity Source;
public Entity Target;
- public ChunkId? Chunk;
public EquippedItem Weapon;
// What the commit decided, typed: a shot rolled and missed, rolled and hit, or was a fused round with no
// target and so burst without rolling, or a proximity round whose roll missed but which detonates anyway
diff --git a/Assets/Scripts/ServerShared/Galaxy.cs b/Assets/Scripts/ServerShared/Galaxy.cs
index 797e77764..08512f8af 100644
--- a/Assets/Scripts/ServerShared/Galaxy.cs
+++ b/Assets/Scripts/ServerShared/Galaxy.cs
@@ -58,14 +58,10 @@ public class Galaxy
Seed = savedGame.Seed;
Factions = savedGame.Factions.Select(faction => cultCache.Get(faction)).ToArray();
- if (savedGame.Standings != null)
- foreach (var standing in savedGame.Standings)
- FactionRelationships[cultCache.Get(standing.Faction)] = standing.Relationship;
- else
- // A save before Standings wrote Relationships in an order it did not record; it is right only for a
- // galaxy that never reordered, and is all that save holds.
- for (var i = 0; i < Factions.Length; i++)
- FactionRelationships[Factions[i]] = savedGame.Relationships[i];
+ for (var i = 0; i < Factions.Length; i++)
+ {
+ FactionRelationships[Factions[i]] = savedGame.Relationships[i];
+ }
var savedZones = savedGame.Zones.Select(zone => cultCache.Get(zone)).ToArray();
Zones = savedZones.Select(zone =>
diff --git a/Assets/Scripts/ServerShared/HaulFeed.cs b/Assets/Scripts/ServerShared/HaulFeed.cs
deleted file mode 100644
index b6f4055c8..000000000
--- a/Assets/Scripts/ServerShared/HaulFeed.cs
+++ /dev/null
@@ -1,47 +0,0 @@
-using System.Collections.Generic;
-using System.Linq;
-using GameCult.Caching;
-
-public enum GainKind { Mined, Collected }
-
-// One entry into a hold: what Extract stored (and let float) of one ore, or what a pickup collected. Stored plus Adrift is
-// the units; a pickup has Adrift 0. Published on Zone.CargoGained by its two writers and read by presentations only.
-public struct CargoGain
-{
- public Entity Taker;
- public CultRecordRef Design;
- public int Lot;
- public int Stored;
- public int Adrift;
- public GainKind Kind;
-}
-
-// The words for a cargo gain, and the taker's hold fill. Nothing here is stored: the line and the fill are derived on
-// every call.
-public static class HaulFeed
-{
- public static string Line(CargoGain gain, ItemManager items)
- {
- var name = items.ItemData.Get(gain.Design).Name;
- var (used, total) = HoldFill(gain.Taker?.CargoBays ?? Enumerable.Empty());
- var hold = $"(hold {used}/{total})";
- if (gain.Kind == GainKind.Collected) return $"Collected {gain.Stored} {name} {hold}";
- return gain.Adrift > 0
- ? $"+{gain.Stored} {name}, {gain.Adrift} adrift {hold}"
- : $"+{gain.Stored} {name} {hold}";
- }
-
- // Occupied cells over the bays' interiors, a multi-cell item counted per cell.
- public static (int used, int total) HoldFill(IEnumerable bays)
- {
- int used = 0, total = 0;
- foreach (var bay in bays)
- foreach (var v in bay.Data.InteriorShape.AllCoordinates)
- {
- if (!bay.Data.InteriorShape[v]) continue;
- total++;
- if (bay.Occupancy[v.x, v.y] != null) used++;
- }
- return (used, total);
- }
-}
diff --git a/Assets/Scripts/ServerShared/HaulFeed.cs.meta b/Assets/Scripts/ServerShared/HaulFeed.cs.meta
deleted file mode 100644
index b9b4b88b6..000000000
--- a/Assets/Scripts/ServerShared/HaulFeed.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 4d3ef606ec5240119cbb3d7dd51123d9
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Scripts/ServerShared/InputLayout.cs b/Assets/Scripts/ServerShared/InputLayout.cs
index 7e942c519..a688598b2 100644
--- a/Assets/Scripts/ServerShared/InputLayout.cs
+++ b/Assets/Scripts/ServerShared/InputLayout.cs
@@ -29,10 +29,7 @@ public class InputLayout
Union(0, typeof(InputLayoutRowSpacer)),
Union(1, typeof(InputLayoutKeyRow))
]
-public abstract class InputLayoutRow {
- // Element identity: minted by the cache on write; "" means unset.
- [Key(1)] [CultElementId] public string Id = "";
-}
+public abstract class InputLayoutRow { }
[MessagePackObject, JsonObject(MemberSerialization.OptIn)]
public class InputLayoutRowSpacer : InputLayoutRow
@@ -55,9 +52,6 @@ public class InputLayoutKeyRow : InputLayoutRow
public abstract class InputLayoutColumn
{
[Key(0), JsonProperty("width")] public float Width;
-
- // Element identity: minted by the cache on write; "" means unset.
- [Key(5)] [CultElementId] public string Id = "";
}
[MessagePackObject, JsonObject(MemberSerialization.OptIn)]
diff --git a/Assets/Scripts/ServerShared/ItemData.cs b/Assets/Scripts/ServerShared/ItemData.cs
index ab9c9dcfc..fe705b4f6 100644
--- a/Assets/Scripts/ServerShared/ItemData.cs
+++ b/Assets/Scripts/ServerShared/ItemData.cs
@@ -348,9 +348,6 @@ public class ItemRole
[Inspectable, JsonProperty("count"), Key(1)]
public int Count = 1;
-
- // Element identity: minted by the cache on write; "" means unset.
- [Key(2)] [CultElementId] public string Id = "";
}
[CultDocument("aetheria.compoundcommoditydata", "1"), Inspectable, MessagePackObject]
@@ -420,7 +417,11 @@ public abstract class EquippableItemData : CraftedItemData
[Inspectable, CultInspectorAssetGuid, JsonProperty("actionIcon"), Key(20)]
public string ActionBarIcon;
- // Keys 21 (soundBank) and 22 (audioStats) held Wwise ids; audio is native Unity plus AquaSynth now. Retired; never reuse them.
+ [Inspectable, JsonProperty("soundBank"), Key(21)]
+ public uint SoundBank;
+
+ [Inspectable, JsonProperty("audioStats"), Key(22)]
+ public List AudioStats = new List();
[IgnoreMember]
public abstract HardpointType HardpointType { get; }
@@ -454,6 +455,16 @@ public abstract class EquippableItemData : CraftedItemData
}
}
+[Inspectable, MessagePackObject, JsonObject(MemberSerialization.OptIn)]
+public class AudioStat
+{
+ [Inspectable, JsonProperty("parameter"), Key(0)]
+ public uint Parameter;
+
+ [Inspectable, JsonProperty("stat"), Key(1)]
+ public PerformanceStat Stat = new PerformanceStat();
+}
+
[CultDocument("aetheria.geardata", "1"), Inspectable, MessagePackObject, JsonObject(MemberSerialization.OptIn)]
public class GearData : EquippableItemData
{
@@ -638,9 +649,6 @@ public class HardpointData
}
private static Dictionary _tintColors;
-
- // Element identity: minted by the cache on write; "" means unset.
- [Key(8)] [CultElementId] public string Id = "";
}
// What a PerformanceStat reads to resolve one number: the lot it prices quality against, and the per-context
@@ -686,9 +694,6 @@ public class StatTerm
// The design role whose part quality this term reads; unset reads the item's effective quality (Lot.EffectiveQuality).
// Njordr states the same rule as a derivation over dimensions; this is that rule with one dimension.
[Inspectable, JsonProperty("role"), Key(2)] public string Role;
-
- // Element identity: minted by the cache on write; "" means unset.
- [Key(3)] [CultElementId] public string Id = "";
}
[MessagePackObject, JsonObject(MemberSerialization.OptIn)]
diff --git a/Assets/Scripts/ServerShared/ItemInstance.cs b/Assets/Scripts/ServerShared/ItemInstance.cs
index a16553b9f..80a891666 100644
--- a/Assets/Scripts/ServerShared/ItemInstance.cs
+++ b/Assets/Scripts/ServerShared/ItemInstance.cs
@@ -24,11 +24,6 @@ public abstract class ItemInstance
{
[JsonProperty("data"), Key(0)] public CultRecordRef Data;
[JsonProperty("rotation"), Key(1)] public ItemRotation Rotation;
-
- // The lot this unit was minted or mined from: crafted units' design, provenance, workmanship and role fills all
- // live there; a mined SimpleCommodity names its Extracted lot (zone, belt, ore). Lot 0 is no lot: bought, staged
- // and loadout commodities, and every save from before the field reached SimpleCommodity.
- [JsonProperty("lot"), Key(11)] public int Lot;
}
[Union(0, typeof(CompoundCommodity)),
@@ -38,7 +33,9 @@ public abstract class ItemInstance
public abstract class CraftedItemInstance : ItemInstance
{
// Keys 2 (Quality), 9 (Ingredients) and 10 (Product) belonged to fields moved to Lot; do not reuse them.
- // Key 11 (Lot) lives on ItemInstance.
+
+ // The lot this unit was minted from: its design, provenance, workmanship and role fills all live there.
+ [JsonProperty("lot"), Key(11)] public int Lot;
}
[MessagePackObject, JsonObject(MemberSerialization.OptIn)]
diff --git a/Assets/Scripts/ServerShared/ItemManager.cs b/Assets/Scripts/ServerShared/ItemManager.cs
index c91568efd..090fe1545 100644
--- a/Assets/Scripts/ServerShared/ItemManager.cs
+++ b/Assets/Scripts/ServerShared/ItemManager.cs
@@ -25,11 +25,6 @@ public class ItemManager
public CultCache ItemData { get; }
public ProvenanceLedger Lots { get; }
-
- // (zone index, belt, commodity) -> the Extracted lot minted for it. Derived from Lots at construction and on mint,
- // never persisted: a reload rebuilds it from the ledger, so the same source finds the same lot.
- private readonly Dictionary<(int, CultRecordKey, CultRecordKey), int> _extracted =
- new Dictionary<(int, CultRecordKey, CultRecordKey), int>();
public GameplaySettings GameplaySettings { get; }
public ItemManager(uint seed, CultCache itemData, ProvenanceLedger lots, GameplaySettings settings, Action logger)
@@ -38,9 +33,6 @@ public class ItemManager
Random = new Random(seed);
ItemData = itemData;
Lots = lots;
- foreach (var (id, lot) in lots.Lots)
- if (lot.Origin is Extracted extracted)
- _extracted[(extracted.Zone, extracted.Body.Key, extracted.Commodity.Key)] = id;
GameplaySettings = settings;
_logger = logger;
}
@@ -80,9 +72,8 @@ public class ItemManager
};
}
- // The one resolution path from an instance to the lot it was minted or mined from. Lot 0 throws: a bought or
- // staged commodity has no lot, and the caller asks Lot != 0 first.
- public Lot GetLot(ItemInstance item) => Lots[item.Lot];
+ // The one resolution path from a crafted instance to the lot it was minted from.
+ public Lot GetLot(CraftedItemInstance item) => Lots[item.Lot];
// Returns stat when not equipped: a null-entity context with no heat, no power and no modifiers. It says so
// in its own name (UnequippedStatContext) rather than being a third quiet dialect of the arithmetic.
@@ -189,24 +180,6 @@ public class ItemManager
return Lots.Add(lot);
}
- // Mining Cut 5b: the lot of every unit mined from one commodity in one belt of one zone, found or minted. Unbranded
- // (Product unset) and unworked (Quality 1, no roles). FireControl.Extract is the only caller.
- public int ExtractedLot(int zone, CultRecordKey belt, SimpleCommodityData commodity)
- {
- var key = (zone, belt, ItemData.RefOf(commodity).Key);
- if (_extracted.TryGetValue(key, out var found)) return found;
- var id = Lots.Add(new Lot
- {
- Design = ItemData.RefOf(commodity),
- Origin = new Extracted
- {
- Zone = zone, Body = new CultRecordRef(belt), Commodity = ItemData.RefOf(commodity)
- },
- Quality = 1
- });
- return _extracted[key] = id;
- }
-
// The one writer of a crafted instance's Data: copied from the lot's design, never independently set.
public CraftedItemInstance CreateInstance(int lot)
{
diff --git a/Assets/Scripts/ServerShared/Loadout.cs b/Assets/Scripts/ServerShared/Loadout.cs
index b423eb1a0..b8b73a0ab 100644
--- a/Assets/Scripts/ServerShared/Loadout.cs
+++ b/Assets/Scripts/ServerShared/Loadout.cs
@@ -28,9 +28,6 @@ public class LoadoutSlot
[Key(1)] public ItemRotation Rotation;
[Key(2)] public CultRecordRef Design;
[Key(3)] public CultRecordRef Product; // unset: design-only, chosen at materialization
-
- // Element identity: minted by the cache on write; "" means unset.
- [Key(4)] [CultElementId] public string Id = "";
}
// Why a faction has no boss Loadout to build; see Loadouts.BossOf.
@@ -160,12 +157,11 @@ public static class Loadouts
// spawner is to pass LoadoutGenerator.ChooseProduct, with no fallback to any manufacturer; RunStart does, and so does the
// boss in ZoneGenerator, which is built here too from its faction's Loadout (Loadouts.BossOf). The hull's type
// picks the entity: a ship hull builds a Ship, a turret hull an OrbitalEntity with no orbit, which stays where it is
- // put; a station hull is refused. The entity is stocked with the crates its weapons draw (StockAmmunition) unless the caller
- // authors the cargo itself and passes stockAmmunition false. The entity always gets exactly WeaponGroupCount groups; a loadout with fewer is
+ // put; a station hull is refused. The entity always gets exactly WeaponGroupCount groups; a loadout with fewer is
// padded with empty groups. A stated quality mints every lot of the fit at it, drawing nothing (a scenario states
// one for a fit its checks rest on).
public static Entity Materialize(ItemManager itemManager, Zone liveZone, Loadout loadout,
- Func choose, List failures, float? quality = null, bool stockAmmunition = true)
+ Func choose, List failures, float? quality = null)
{
var cache = itemManager.ItemData;
var reported = failures.Count;
@@ -206,24 +202,9 @@ public static class Loadouts
built[g] = (items.Select(item => item.GetBehavior()).ToList(), items);
}
entity.WeaponGroups = built;
- if (stockAmmunition) StockAmmunition(itemManager, entity);
return entity;
}
- // The crates an entity's weapons reload from: LoadoutGenerator.AmmunitionCrates of each distinct AmmoType, stopping when no hold takes
- // another. The one owner of ammunition stock: every path that fits weapons onto a new entity (the generator, a Loadout's Materialize,
- // so a scenario's Fit, a boss, a console-built ship) ends here. A saved or packed entity is never stocked: its cargo is its own.
- // Draws nothing from the random stream, so adding it moves no other roll.
- public static void StockAmmunition(ItemManager itemManager, Entity entity)
- {
- foreach (var key in entity.Weapons.Select(weapon => weapon.WeaponData.AmmoType).Where(type => type.IsSet()).Select(type => type.Key).Distinct())
- {
- var crates = new SimpleCommodity { Data = new CultRecordRef(key), Quantity = LoadoutGenerator.AmmunitionCrates };
- if (!entity.CargoBays.Any(bay => bay.TryStore(crates)))
- itemManager.Log($"{entity.Name}: no room for {LoadoutGenerator.AmmunitionCrates} crates of {key.Value}.");
- }
- }
-
// The hull, then each slot's gear, made by the given builders and equipped to the loadout's cells: the one placement of
// a loadout, run once on the throwaway manager to decide the fit and once on the live one to build. Null with every
// misfit listed when any cell does not take its gear.
diff --git a/Assets/Scripts/ServerShared/LoadoutGenerator.cs b/Assets/Scripts/ServerShared/LoadoutGenerator.cs
index 62e8632a1..9f4829eee 100644
--- a/Assets/Scripts/ServerShared/LoadoutGenerator.cs
+++ b/Assets/Scripts/ServerShared/LoadoutGenerator.cs
@@ -24,10 +24,6 @@ public class LoadoutGenerator
public const float ShipConsumableChance = .1f;
public const int ShipConsumableUnits = 1;
- // Ammunition-fed weapons reload from cargo (ruling ballistics-real-ammo), so a generated ship carries this many crates of every
- // distinct AmmoType its weapons draw: enough to fight on past the first magazine, few enough to leave the rest of the hold.
- public const int AmmunitionCrates = 3;
-
public LoadoutGenerator(
ref Random random,
ItemManager itemManager,
@@ -60,7 +56,6 @@ public class LoadoutGenerator
OutfitEntity(entity);
EquipPickup(entity);
StockConsumables(entity, ShipConsumableChance, ShipConsumableUnits);
- Loadouts.StockAmmunition(ItemManager, entity);
return EntitySerializer.Pack(entity);
}
@@ -76,7 +71,6 @@ public class LoadoutGenerator
var entity = new OrbitalEntity(ItemManager, null, hull, default, ItemManager.GameplaySettings.DefaultEntitySettings);
entity.Faction = Faction;
OutfitEntity(entity);
- Loadouts.StockAmmunition(ItemManager, entity);
return EntitySerializer.Pack(entity) as OrbitalEntityPack;
}
@@ -257,11 +251,8 @@ public class LoadoutGenerator
// Whether a product is on the market at all (ruling off-market-is-unoffered-product). The one reader of NotOffered. A bin is
// offered only if both it and its line are (ruling bin-inherits-line-offered); the catalog read guarantees a bin's line exists.
- public static bool IsOffered(CultCache items, FactionProductData product) => IsOffered(product, line => items.Get(line));
-
- // The same reader for a caller whose bin lines are not all in one catalog yet (ShipModCatalog.MarketFault, over a package's own products).
- public static bool IsOffered(FactionProductData product, Func, FactionProductData> lineOf) =>
- !product.NotOffered && (product.Bin == null || !lineOf(product.Bin.Line).NotOffered);
+ public static bool IsOffered(CultCache items, FactionProductData product) =>
+ !product.NotOffered && (product.Bin == null || !items.Get(product.Bin.Line).NotOffered);
// How much this outfitter favors a product: its maker's preference times the product's share of it. The one weight of
// generation and of ChooseProduct. A bin takes the share of its maker's stock that would pass its floor and its line takes
diff --git a/Assets/Scripts/ServerShared/Provenance.cs b/Assets/Scripts/ServerShared/Provenance.cs
index 71c260496..4121332d6 100644
--- a/Assets/Scripts/ServerShared/Provenance.cs
+++ b/Assets/Scripts/ServerShared/Provenance.cs
@@ -92,9 +92,6 @@ public class Lot
foreach (var fill in Roles) sum += Math.Min(fill.Quality, Quality);
return sum / Roles.Count;
}
-
- // Element identity: minted by the cache on write; "" means unset.
- [Key(5)] [CultElementId] public string Id = "";
}
// One filled slot: the design's role name and how good the part that went into it turned out to be. Stats read it through
@@ -104,9 +101,6 @@ public class RoleFill
{
[Key(0)] public string Role;
[Key(1)] public float Quality;
-
- // Element identity: minted by the cache on write; "" means unset.
- [Key(2)] [CultElementId] public string Id = "";
}
// Who built a lot, where, and from what. Terminus mints Attributed placeholders; Produced and Extracted are the
@@ -137,8 +131,6 @@ public class Produced : Provenance
[MessagePackObject]
public class Extracted : Provenance
{
- // Zone is the zone's index in galaxy.Zones (SavedGame's convention), -1 with no galaxy; Body is the belt.
[Key(0)] public int Zone;
[Key(1)] public CultRecordRef Commodity;
- [Key(2)] public CultRecordRef Body;
}
diff --git a/Assets/Scripts/ServerShared/Recipes.cs b/Assets/Scripts/ServerShared/Recipes.cs
index f9aa3ee4a..e434a84a5 100644
--- a/Assets/Scripts/ServerShared/Recipes.cs
+++ b/Assets/Scripts/ServerShared/Recipes.cs
@@ -63,9 +63,6 @@ public class CommodityCount
[JsonProperty("count"), Key(1)]
public int Count = 1;
-
- // Element identity: minted by the cache on write; "" means unset.
- [Key(2)] [CultElementId] public string Id = "";
}
// A region gate's trade with the world beyond it: what the outside buys and sells, at what price and at most how fast.
@@ -99,9 +96,6 @@ public class OutsideMarketRow
[JsonProperty("ratePerHour"), Key(4)]
public float RatePerHour;
-
- // Element identity: minted by the cache on write; "" means unset.
- [Key(5)] [CultElementId] public string Id = "";
}
// The one reader of recipes: which recipe makes a good, a recipe's role slots (RoleInputsOf), which commodities fill a role, and
diff --git a/Assets/Scripts/ServerShared/RunStart.cs b/Assets/Scripts/ServerShared/RunStart.cs
index 4e6808859..20269e84c 100644
--- a/Assets/Scripts/ServerShared/RunStart.cs
+++ b/Assets/Scripts/ServerShared/RunStart.cs
@@ -30,21 +30,6 @@ public static class RunStart
itemManager, zoneSettings, planetSettings, galaxy, galaxy.Entrance, galaxy.IsPrelude, scenario.Ambient);
}
- // Runs a start and answers whether it produced a run: null, with the reason in `failures`, when `start` throws or
- // returns nothing. The caller shows the failure and clears its run; nothing past a null may run the game.
- public static Staged Launch(Func start, List failures, Action log = null)
- {
- Staged staged = null;
- try { staged = start(); }
- catch (Exception exception)
- {
- log?.Invoke(exception);
- failures.Add(exception.Message);
- }
- if (staged == null && failures.Count == 0) failures.Add("the start produced no run");
- return staged;
- }
-
// Runs the scenario's Stage, then admits its player and everything it placed: each entity's stance set both ways
// with the player, a pilot for each piloted one. Returns null, with every failure listed and the arena unchanged,
// unless the whole scenario staged.
@@ -59,7 +44,6 @@ public static class RunStart
if (!stage.PlayerPlaced)
failures.Add("player: the scenario places no player");
if (failures.Count > reported) return null;
- stage.StockUnauthoredAmmunition();
var player = stage.PlayerShip;
player.IsPlayerShip = true;
diff --git a/Assets/Scripts/ServerShared/SavedGame.cs b/Assets/Scripts/ServerShared/SavedGame.cs
index cf225ab8b..90ef03566 100644
--- a/Assets/Scripts/ServerShared/SavedGame.cs
+++ b/Assets/Scripts/ServerShared/SavedGame.cs
@@ -45,8 +45,6 @@ public class SavedGame
[Key(11)]
public bool IsTutorial;
- // Read only by a save written before Standings: its entries follow galaxy.Factions order, not Factions order, so
- // Galaxy trusts it only when the two orders cannot differ (see Galaxy's save constructor).
[Key(12)]
public FactionRelationship[] Relationships;
@@ -63,24 +61,6 @@ public class SavedGame
// gets Regions, Partition and Deal from its saved graph, boss zones, Exit and seed.
[Key(15)]
public List Provinces;
-
- // Each faction's standing, keyed by the faction itself so no list order can misplace it. Written by RunSave.Capture;
- // null in a save written before it, which then reads Relationships.
- [Key(16)]
- public List Standings;
-}
-
-[MessagePackObject]
-public class SavedStanding
-{
- [Key(0)]
- public CultRecordRef Faction;
-
- [Key(1)]
- public FactionRelationship Relationship;
-
- // Element identity: minted by the cache on write; "" means unset.
- [Key(2)] [CultElementId] public string Id = "";
}
[MessagePackObject]
@@ -91,9 +71,6 @@ public class SavedProvince
[Key(1)]
public CultRecordRef Type;
-
- // Element identity: minted by the cache on write; "" means unset.
- [Key(2)] [CultElementId] public string Id = "";
}
// The run's lifecycle over the run store. Only Commit creates SavedGame, SavedZone and ProvenanceLedger records;
@@ -110,8 +87,7 @@ public static class RunSave
DiscoveredZones = galaxy.DiscoveredZones.Select(dz => Array.IndexOf(galaxy.Zones, dz)).ToArray(),
Background = galaxy.Background,
Factions = factions.Select(f => cache.RefOf(f)).ToArray(),
- Standings = galaxy.Factions.Select(f => new SavedStanding
- {Faction = cache.RefOf(f), Relationship = galaxy.FactionRelationships[f]}).ToList(),
+ Relationships = galaxy.Factions.Select(f => galaxy.FactionRelationships[f]).ToArray(),
HomeZones = galaxy.HomeZones.ToDictionary(
x => Array.IndexOf(factions, x.Key),
x => Array.IndexOf(galaxy.Zones, x.Value)),
@@ -164,7 +140,7 @@ public static class RunSave
var named = designs.Where(key => key.IsSet()).Distinct()
.Where(key => cache.Get(key) == null)
.Select(key => key.Value).OrderBy(key => key, StringComparer.Ordinal).ToArray();
- if (named.Length == 0) { RequireLayouts(cache, game); return; }
+ if (named.Length == 0) return;
const string modHull = "mod-hull:";
var mods = named.Where(key => key.StartsWith(modHull, StringComparison.Ordinal)).Select(key => key.Substring(modHull.Length)).ToArray();
var others = named.Where(key => !key.StartsWith(modHull, StringComparison.Ordinal)).ToArray();
@@ -174,35 +150,6 @@ public static class RunSave
". Reinstall them, or start a new game.");
}
- // Continue's second gate: a hull's cells or hardpoints edited under a saved run must still hold what the run
- // equipped on it (a package edited in place keeps its key, so the design check above passes). Each saved piece of
- // gear must sit where equipping would accept it on the hull as the catalog holds it now, by the same rules
- // (HardpointData.TakesAt for hardpoint gear, interior cells for tools); occupancy is not rechecked, the save
- // carries only what equipping admitted.
- private static void RequireLayouts(CultCache cache, SavedGame game)
- {
- var moved = new SortedSet(StringComparer.Ordinal);
- void Check(EntityPack pack)
- {
- if (pack.Hull.Data.Key.IsSet() && cache.Get(pack.Hull.Data.Key) is HullData hull)
- foreach (var (position, item) in pack.Equipment.Concat(pack.CargoBays).Concat(pack.DockingBays))
- {
- if (!item.Data.Key.IsSet() || !(cache.Get(item.Data.Key) is EquippableItemData design)) continue;
- var fits = design.HardpointType == HardpointType.Tool
- ? design.Shape.Coordinates.All(cell => hull.InteriorCells[position + design.Shape.Rotate(cell, item.Rotation)])
- : hull.Hardpoints.Any(hardpoint => hardpoint.TakesAt(design, position - hardpoint.Position));
- if (!fits) moved.Add(hull.Name);
- }
- foreach (var child in pack.Children) Check(child);
- }
- foreach (var zoneRef in game.Zones ?? Array.Empty>())
- foreach (var pack in cache.Get(zoneRef).Contents?.Entities ?? new List())
- Check(pack);
- if (moved.Count > 0)
- throw new InvalidOperationException("This run's equipment no longer fits its hulls' layouts; changed hulls: " +
- string.Join(", ", moved) + ". Restore the earlier version of the mod, or start a new game.");
- }
-
private static InvalidOperationException MalformedSave(string where) =>
new InvalidOperationException($"This run's save is malformed: {where}. Start a new game.");
@@ -222,12 +169,10 @@ public static class RunSave
.Select(stored => stored.Key)
.ToArray();
game.Zones = keys.Select(key => new CultRecordRef(key)).ToArray();
- // Every crafted item roots, Lot 0 included: a crafted item with no lot is corruption and Reachable throws on it.
- // A SimpleCommodity roots only when it names a lot; Lot 0 is bought, staged or loadout stock.
var roots = zones
.SelectMany(zone => zone.Contents?.Entities ?? new List())
.SelectMany(EntitySerializer.Items)
- .Where(item => item != null && (item is CraftedItemInstance || item.Lot != 0))
+ .OfType()
.Select(item => item.Lot);
cache.Commit(batch =>
{
@@ -309,9 +254,6 @@ public class SavedZone
]
public abstract class SavedActionBarBinding
{
-
- // Element identity: minted by the cache on write; "" means unset.
- [Key(2)] [CultElementId] public string Id = "";
}
[MessagePackObject]
diff --git a/Assets/Scripts/ServerShared/ScenarioStage.cs b/Assets/Scripts/ServerShared/ScenarioStage.cs
index b7a19b87f..453ede8ec 100644
--- a/Assets/Scripts/ServerShared/ScenarioStage.cs
+++ b/Assets/Scripts/ServerShared/ScenarioStage.cs
@@ -18,10 +18,6 @@ public sealed class ScenarioStage
private readonly List _failures = new List();
private readonly List _placed = new List();
private int _placements;
- // The entities this stage built from a fit (a packed fit is a saved ship, whose cargo is its own) and those whose cargo the scenario
- // authored with Cargo: the rest are stocked with the crates their weapons draw when staging ends (StockUnauthoredAmmunition).
- private readonly HashSet _fitted = new HashSet();
- private readonly HashSet _cargoAuthored = new HashSet();
internal ScenarioStage(ItemManager items, Zone arena, string startingHull, TutorialGenerationSettings tutorialGenerationSettings)
{
@@ -44,14 +40,6 @@ public sealed class ScenarioStage
public int Credits { get; set; }
internal IReadOnlyList Failures => _failures;
-
- // Staging's last step: a fitted entity whose cargo the scenario did not author gets the crates its weapons draw, like every other
- // newly built armed entity (Loadouts.StockAmmunition). Draws nothing, so it moves no item roll.
- internal void StockUnauthoredAmmunition()
- {
- foreach (var entity in _fitted.Where(entity => !_cargoAuthored.Contains(entity)))
- Loadouts.StockAmmunition(_items, entity);
- }
internal bool PlayerPlaced { get; private set; }
internal Ship PlayerShip { get; private set; }
internal IReadOnlyList Placed => _placed;
@@ -168,23 +156,14 @@ public sealed class ScenarioStage
}
// Items in the entity's first cargo bay, one per name. A name is an equippable or consumable design (open: the stage
- // chooses its product) or a product of one (pinned), or a commodity (one unit: the crates an AmmoType weapon reloads
- // from); a name that is none of these is a failure.
+ // chooses its product) or a product of one (pinned); a name that is neither is a failure.
public void Cargo(Entity entity, params string[] names)
{
if (entity == null) return;
- _cargoAuthored.Add(entity);
var where = $"cargo of {entity.Name}";
var bay = entity.CargoBays.FirstOrDefault();
foreach (var name in names)
{
- var commodity = _items.ItemData.GetAll().FirstOrDefault(data => data.Name == name);
- if (commodity != null)
- {
- if (bay == null || !bay.TryStore(new SimpleCommodity { Data = new CultRecordRef(_items.ItemData.RefOf(commodity).Key), Quantity = 1 }))
- _failures.Add($"{where}: no room for {name}");
- continue;
- }
var (data, product) = NamedOrProduct(name, where, found => found is EquippableItemData || found is ConsumableItemData);
if (data == null) continue;
var build = Loadouts.Resolve(_items, _items.ItemData.RefOf(data),
@@ -204,8 +183,7 @@ public sealed class ScenarioStage
else
{
var failures = new List();
- entity = Loadouts.Materialize(_items, Arena, fit.Loadout, _choose, failures, fit.Quality, stockAmmunition: false);
- if (entity != null) _fitted.Add(entity);
+ entity = Loadouts.Materialize(_items, Arena, fit.Loadout, _choose, failures, fit.Quality);
_failures.AddRange(failures.Select(failure => $"{where} ({fit.Loadout.Name}): {failure}"));
if (entity == null) return null;
}
diff --git a/Assets/Scripts/ServerShared/Scenarios/Arcs.cs b/Assets/Scripts/ServerShared/Scenarios/Arcs.cs
index 8846d006b..f0c3f5553 100644
--- a/Assets/Scripts/ServerShared/Scenarios/Arcs.cs
+++ b/Assets/Scripts/ServerShared/Scenarios/Arcs.cs
@@ -1,4 +1,3 @@
-using System.Linq;
using static CultMath.math;
using static ItemRotation;
@@ -21,11 +20,6 @@ public sealed class Arcs : Scenario
public static readonly CultMath.float2 Bow = float2(0, 400), Stern = float2(0, -400), Turret = float2(600, 300),
Port = float2(-400, 0), Starboard = float2(400, 0);
- // Crates of ammunition each shooter's hold is stocked with: the measured draw over a run (ScenarioAmmunitionRunTests: at most ten minutes of play, and in
- // practice the ~260 s a shooter holding every gun down lasts before it dies of heat; a pilot who vents heat is unmeasured) plus half again and one. The turret drew 14 Ammo with the player in its range; the player drew 27 Ammo
- // holding every gun down. The guided launchers fire only on a lock, which that run cannot give them, so they carry the default three crates.
- public const int TurretAmmoCrates = 22, PlayerAmmoCrates = 42, PlayerMissileCrates = 3;
-
public override Galaxy Generate(GalaxyStage stage) => stage.Prelude();
public override void Stage(ScenarioStage stage)
@@ -46,8 +40,7 @@ public sealed class Arcs : Scenario
("not if i see you first", int2(5, 10), None), // Compact Sensor
("Panopticon Prime", int2(3, 6), Clockwise), // Fire Control Array
("🫳🔫", int2(8, 4), Clockwise), // Autocannon
- ("ChargeBlast SG", int2(0, 4), CounterClockwise), // Charged Scatter Blaster
- ("Store-All Plus", int2(4, 8), None)); // Cargo Bay: the only 2x2 the hull has free
+ ("ChargeBlast SG", int2(0, 4), CounterClockwise)); // Charged Scatter Blaster
var turret = stage.Fit("Turret",
("ClearPath", int2(1, 2), None), // Light Machine Gun
("ClearPath", int2(5, 2), None), // Light Machine Gun
@@ -56,15 +49,12 @@ public sealed class Arcs : Scenario
("Compact Reactor", int2(3, 3), None),
("Turret Control Module", int2(3, 5), None),
("not if i see you first", int2(4, 5), None), // Compact Sensor
- ("Panopticon Prime", int2(3, 6), None), // Fire Control Array
- ("Store-All Plus", int2(3, 1), None)); // Cargo Bay: the only 2x2 the turret hull has free
+ ("Panopticon Prime", int2(3, 6), None)); // Fire Control Array
- var player = stage.Player(fighter, float2(0, 0), facing: float2(0, 1));
- stage.Cargo(player, Enumerable.Repeat("Ammo", PlayerAmmoCrates).Concat(Enumerable.Repeat("Missiles", PlayerMissileCrates)).ToArray());
+ stage.Player(fighter, float2(0, 0), facing: float2(0, 1));
stage.Place(stage.Bare("Longinus"), Bow);
stage.Place(stage.Bare("Longinus"), Stern);
- // The turret's guns reload from its hold, a crate of Ammo per magazine.
- stage.Cargo(stage.Place(turret, Turret, stance: ScenarioStance.Hostile), Enumerable.Repeat("Ammo", TurretAmmoCrates).ToArray());
+ stage.Place(turret, Turret, stance: ScenarioStance.Hostile);
stage.Place(stage.Bare("Longinus"), Port);
stage.Place(stage.Bare("Longinus"), Starboard);
}
diff --git a/Assets/Scripts/ServerShared/Scenarios/Crossing.cs b/Assets/Scripts/ServerShared/Scenarios/Crossing.cs
index e77f50166..61529d6d9 100644
--- a/Assets/Scripts/ServerShared/Scenarios/Crossing.cs
+++ b/Assets/Scripts/ServerShared/Scenarios/Crossing.cs
@@ -6,8 +6,8 @@ public sealed class Crossing : Scenario
public override string Name => "Crossing";
public override string Id => "crossing";
public override string Brief => "A Lightning Projector at the starboard gun and a Cell Blaster at the port gun, an unpiloted Djinni coasting across the bow " +
- "close ahead and an unpiloted one waiting at range. The crosser is launched to port at 25 m/s and only coasts: nothing steers it, " +
- "a hull coasts at its launch speed below its top speed, and it does not shoot back. Make the pass coasting: give no throttle until the Djinni has crossed the bow, then fly freely " +
+ "close ahead and an unpiloted one waiting at range. The crosser is launched to port at 50 m/s and only coasts: nothing steers it, " +
+ "its hull drag slows it to about 25 m/s at the bow line, and it does not shoot back. Make the pass coasting: give no throttle until the Djinni has crossed the bow, then fly freely " +
"(thrusting from the start carries you past it). Verify: as the Djinni crosses close, FastBlast lands some and projector " +
"almost none; against the Djinni at range both land. Fly it again without the Fire Control Array: " +
"with it the small gun lands more.";
@@ -16,15 +16,13 @@ public sealed class Crossing : Scenario
// Where the Djinni sit: the player is at Origin facing +z. Origin is 250 m or more from every body, where the zone's
// pull is weakest (about 1.4 u/s^2; the sum of the wells never drops to nothing, and at the old origin the player sat on the star).
- // The crosser is unpiloted and placed moving at 25 m/s, well under the Djinni's 50 m/s top speed, so its pass is ballistic: a hull
- // coasts below its top speed (aetheria-gravity:ruling:no-drag-below-top-speed) and only the field bends it, so it reaches the
- // bow line at 25 m/s relative to the player, 3.6 s in, and nothing steers it. (Launched at the cap with drag slowing it to 25 m/s,
- // as this scenario was first tuned, it would now hold 50 m/s and cross in 2.6 s.)
+ // The crosser is unpiloted and placed moving at the Djinni's 50 m/s cap, so its pass is ballistic: bent by the field and slowed
+ // by hull drag (it reaches the bow line at about 25 m/s relative to the player, 3.6 s in), and nothing steers it.
// CrosserAt is the centre of the start window in which the pass holds: shifting it by 10 m along either axis keeps the pass
// inside the test's time and distance windows (CrossingHoldsAcrossTheStartWindow).
// The waiting Djinni sits inside the Lightning Projector's arc at 80% of its Range.
public static readonly CultMath.float2 Origin = float2(724, 124);
- public static readonly CultMath.float2 CrosserAt = Origin + float2(-90, 45), CrosserFacing = float2(1, 0), CrosserVelocity = float2(25, 0);
+ public static readonly CultMath.float2 CrosserAt = Origin + float2(-128, 45), CrosserFacing = float2(1, 0), CrosserVelocity = float2(50, 0);
// The fighter is staged at this quality, so its gear and the range below do not ride the item stream.
public const float StagedQuality = .6f;
// The Lightning Projector's Range in metres at the staged fit: 996.99 after the three seconds the test settles for
diff --git a/Assets/Scripts/ServerShared/Scenarios/Pursuit.cs b/Assets/Scripts/ServerShared/Scenarios/Pursuit.cs
index 2e490a2a6..d6d630a88 100644
--- a/Assets/Scripts/ServerShared/Scenarios/Pursuit.cs
+++ b/Assets/Scripts/ServerShared/Scenarios/Pursuit.cs
@@ -1,4 +1,3 @@
-using System.Linq;
using static CultMath.math;
using static ItemRotation;
@@ -8,11 +7,6 @@ public sealed class Pursuit : Scenario
// cloud breaking a sensor's lock, and well outside the 40 at which AStrongCloseSensorBurnsThrough shows a close
// sensor burning through.
private const float Astern = 300;
- // Crates each shooter's hold is stocked with: the measured draw over a run (ScenarioAmmunitionRunTests: at most ten minutes of play, and in
- // practice the ~250-270 s a shooter holding every gun down lasts before it dies of heat; a pilot who vents heat is unmeasured) plus half again and one where the hold has room. The player laid four crates of Mines and drew
- // 33 Ammo; its hold takes 54 crates after five consumables and Mines, so its Ammo stops at 39. The pursuer drew 31 Ammo and one Missiles. A launcher
- // that drew under a reload carries the default three crates.
- public const int MineCrates = 7, PlayerAmmoCrates = 39, PlayerMissileCrates = 3, PursuerAmmoCrates = 47, PursuerMissileCrates = 3;
public override string Name => "Pursuit";
public override string Id => "pursuit";
@@ -61,9 +55,7 @@ public sealed class Pursuit : Scenario
("Store-All Plus", int2(2, 8), None)); // Cargo Bay
var player = stage.Player(layer, float2(0, 0), facing: float2(0, 1));
- stage.Cargo(player, new[] { "Morning Fog", "Morning Fog", "Morning Fog", "send it", "send it" }
- .Concat(Enumerable.Repeat("Mines", MineCrates)).Concat(Enumerable.Repeat("Ammo", PlayerAmmoCrates)).Concat(Enumerable.Repeat("Missiles", PlayerMissileCrates)).ToArray());
- var hostile = stage.Place(pursuer, float2(0, -Astern), facing: float2(0, 1), stance: ScenarioStance.Hostile, piloted: true);
- stage.Cargo(hostile, Enumerable.Repeat("Ammo", PursuerAmmoCrates).Concat(Enumerable.Repeat("Missiles", PursuerMissileCrates)).ToArray());
+ stage.Cargo(player, "Morning Fog", "Morning Fog", "Morning Fog", "send it", "send it");
+ stage.Place(pursuer, float2(0, -Astern), facing: float2(0, 1), stance: ScenarioStance.Hostile, piloted: true);
}
}
diff --git a/Assets/Scripts/ServerShared/Settings.cs b/Assets/Scripts/ServerShared/Settings.cs
index 1d83bd692..8326f76da 100644
--- a/Assets/Scripts/ServerShared/Settings.cs
+++ b/Assets/Scripts/ServerShared/Settings.cs
@@ -29,11 +29,6 @@ public class PlanetSettings
public ExponentialLerp AsteroidSize;
public ExponentialLerp AsteroidHitpoints;
public ExponentialLerp AsteroidRespawnTime;
- // Units of ore a whole rock of normalized size s gives (FireControl.Extract), however many hits break it.
- public ExponentialLerp AsteroidYield;
- // How far a rock's mix of its belt's ores strays from the kind's ratio: each ore's weight is scaled by
- // exp(variance x g), g in [-1, 1) a stable hash of (rock, ore). Zero reads the kind's ratio.
- public float ChunkCompositionVariance;
public float SecureAreaRadiusMultiplier = .45f;
diff --git a/Assets/Scripts/ServerShared/ShipAuthoring.cs b/Assets/Scripts/ServerShared/ShipAuthoring.cs
index 8441d0332..3962fa468 100644
--- a/Assets/Scripts/ServerShared/ShipAuthoring.cs
+++ b/Assets/Scripts/ServerShared/ShipAuthoring.cs
@@ -33,9 +33,6 @@ public sealed class ShipJoint
[Key(2)] public float[] Axes;
[Key(3)] public float[] Min;
[Key(4)] public float[] Max;
-
- // Element identity, derived from the bone id so it never changes across rewrites.
- [Key(5)] [CultElementId(nameof(Id))] public string ElementId = "";
}
[MessagePackObject]
@@ -53,9 +50,6 @@ public sealed class ShipAnchor
[Key(4)] public int Order;
// On a weapon-mount anchor: the id of the nearest joint above its node in the model; null or empty is a fixed mount.
[Key(5)] public string Joint;
-
- // Element identity, derived from the anchor id so it never changes across rewrites.
- [Key(6)] [CultElementId(nameof(Id))] public string ElementId = "";
}
// Evaluated or baked Grease Pencil stroke coordinates in Blender's right-handed Z-up
@@ -70,9 +64,6 @@ public sealed class ShipPolyline
[Key(4)] public float[] Opacities;
[Key(5)] public bool Cyclic;
[Key(6)] public float[] Color;
-
- // Element identity: minted by the cache on write; "" means unset.
- [Key(7)] [CultElementId] public string Id = "";
}
public static class ShipAuthoringStore
diff --git a/Assets/Scripts/ServerShared/ShipModCatalog.cs b/Assets/Scripts/ServerShared/ShipModCatalog.cs
index 0e5bd801c..e9ed613a2 100644
--- a/Assets/Scripts/ServerShared/ShipModCatalog.cs
+++ b/Assets/Scripts/ServerShared/ShipModCatalog.cs
@@ -110,7 +110,6 @@ public static class ShipModCatalog
if (shipIds.Contains(ship.Id))
Exclude(directory, $"ship ID collides with an existing catalog ship authoring record.");
if (StationKinds.HullKindFault(cache, hull) is { } kindFault) Exclude(directory, kindFault);
- if (MarketFault(cache, ship, package.Products) is { } marketFault) Exclude(directory, marketFault);
foreach (var product in package.Products)
{
if (!factionKeys.Contains(product.Manufacturer.Key))
@@ -158,26 +157,6 @@ public static class ShipModCatalog
}
}
- // Why a package's products cannot join the catalog, or null; the one judgement Compose and `ship-authoring validate` share.
- // `items` is the shipped catalog. A product's bin may name only a product line the shipped catalog holds or one of the
- // package's own products (and that line must not be a bin itself): the catalog read refuses any other bin, and a line in
- // another package is no promise, since packages compose independently. With every bin resolved, a hull offered through any of its
- // products is drawn on the map and the schematic by its lines (ShipModVisual.BuildLineMesh builds nothing from none), so an
- // offered hull without any is refused; an unoffered stand-in is left alone. Offered is LoadoutGenerator.IsOffered, the one
- // reader of NotOffered (ruling off-market-is-unoffered-product), resolving a line among the package's own products too.
- public static string MarketFault(CultCache items, ShipAuthoring ship, FactionProductData[] products)
- {
- var own = new Dictionary();
- foreach (var product in products) own[ProductKey(ship.Id, product.Manufacturer.Key)] = product;
- FactionProductData LineOf(CultRecordRef line) => items.Get(line) ?? (own.TryGetValue(line.Key, out var found) ? found : null);
- foreach (var product in products.Where(product => product.Bin != null))
- if (LineOf(product.Bin.Line) is not { } line || line.Bin != null)
- return $"{ship.Id}: product '{product.Name}' bins a line that is neither an unbinned shipped product nor an unbinned product of this package.";
- if (ship.SchematicLines != null && ship.SchematicLines.Any(line => line?.Points != null && line.Points.Length > 0)) return null;
- return products.Any(product => LoadoutGenerator.IsOffered(product, LineOf))
- ? $"{ship.Id}: the hull is offered on the market but has no schematic lines." : null;
- }
-
public static Package ReadPackage(string shipPath)
{
var path = Path.GetFullPath(shipPath);
@@ -272,15 +251,14 @@ public static class ShipModCatalog
foreach (var anchor in ship.Anchors)
if (!modelNodes.ContainsKey(anchor.ModelNodeId))
throw new InvalidOperationException($"{ship.Id}: model has no node with aetheria.id={anchor.ModelNodeId} for anchor {anchor.Id}.");
- // Assemble reads a renderer or collider mesh from these anchors' nodes, and the shield node's scale as three positive
- // radii (ruling thrusters-radiators-are-meshes). These refusals cover everything the package's files say about whether
- // the importer can build a node (skin, dangling or empty mesh, not only "names a mesh") and are Assemble's only judge,
- // so a package Compose includes is one the importer's assembler can build; the exhaust emission surface and the
- // glowing radiator are meshes by that same ruling. A weapon mount and a tractor may be empties.
+ // Assemble reads a renderer or collider mesh from these anchors' nodes and refuses without one, and reads the shield
+ // node's scale as three positive radii (ruling thrusters-radiators-are-meshes). These refusals stand in for Assemble's
+ // throws, so a package Compose includes is one the importer's assembler can build; the exhaust emission surface and
+ // the glowing radiator are meshes by that same ruling. A weapon mount and a tractor may be empties.
foreach (var anchor in ship.Anchors)
if ((anchor.Role == "thruster-emitter" || anchor.Role == "radiator-mesh" || anchor.Role == "map-icon" || anchor.Role == "hull-collider") &&
!modelNodes[anchor.ModelNodeId].HasMesh)
- throw new InvalidOperationException($"{ship.Id}: {anchor.Role} anchor {anchor.Id} needs a mesh, but model node {anchor.ModelNodeId} has none the importer can build.");
+ throw new InvalidOperationException($"{ship.Id}: {anchor.Role} anchor {anchor.Id} needs a mesh, but model node {anchor.ModelNodeId} has none.");
foreach (var anchor in ship.Anchors)
if (anchor.Role == "shield" && !modelNodes[anchor.ModelNodeId].PositiveScale)
throw new InvalidOperationException($"{ship.Id}: shield anchor {anchor.Id} needs three positive scale radii on model node {anchor.ModelNodeId}, with no matrix.");
@@ -331,23 +309,7 @@ public static class ShipModCatalog
private static bool PositiveScale(JObject node) =>
node["matrix"] == null && (node["scale"] == null || node["scale"].Select(component => (double)component).All(component => component > 0));
- // A mesh the importer builds as a plain mesh node: no skin (glTFast makes a skinned node a SkinnedMeshRenderer, which
- // Assemble's MeshRenderer/MeshFilter reads cannot see), a mesh index inside meshes, at least one primitive, and every
- // primitive with POSITION and a mode absent or 4 (triangles). Geometry accessors and buffers are not read.
- private static bool BuildsMesh(JObject json, JObject node)
- {
- if (node["skin"] != null && node["skin"].Type != JTokenType.Null) return false;
- var meshes = json["meshes"] as JArray;
- if (node["mesh"] == null || node["mesh"].Type != JTokenType.Integer || meshes == null) return false;
- var index = (long)node["mesh"];
- if (index < 0 || index >= meshes.Count) return false;
- var primitives = (meshes[(int)index] as JObject)?["primitives"] as JArray;
- return primitives != null && primitives.Count > 0 && primitives.All(primitive =>
- primitive is JObject p && p["attributes"]?["POSITION"] != null &&
- (p["mode"] == null || (p["mode"].Type == JTokenType.Integer && (int)p["mode"] == 4)));
- }
-
- // GLB is the xenos asset boundary. Only its node extras, whether each node carries a mesh the importer builds as a plain mesh node, and its nearest identified ancestor's node index
+ // GLB is the xenos asset boundary. Only its node extras, whether each node names a mesh, and its nearest identified ancestor's node index
// (-1 for none) are read here, plus whether the node's scale is three positive radii with no matrix; geometry belongs to the runtime importer.
public static Dictionary ReadNodeIds(string path)
{
@@ -371,7 +333,7 @@ public static class ShipModCatalog
{
var id = (string)node["extras"]?["aetheria.id"];
if (string.IsNullOrEmpty(id)) { index++; continue; }
- if (!ids.TryAdd(id, (index, BuildsMesh(json, node), IdentifiedAncestor(parents, nodes, (int)index), PositiveScale(node))))
+ if (!ids.TryAdd(id, (index, node["mesh"] != null && node["mesh"].Type != JTokenType.Null, IdentifiedAncestor(parents, nodes, (int)index), PositiveScale(node))))
throw new InvalidOperationException($"{path}: duplicate GLB node aetheria.id={id}.");
index++;
}
diff --git a/Assets/Scripts/ServerShared/SimulationDice.cs b/Assets/Scripts/ServerShared/SimulationDice.cs
index c8cb9e759..adc440299 100644
--- a/Assets/Scripts/ServerShared/SimulationDice.cs
+++ b/Assets/Scripts/ServerShared/SimulationDice.cs
@@ -18,9 +18,6 @@ public static class SimulationDice
// seed (CombatSeed): the run seed feeds drops and mines only (ruling run-seed-drops-only), and placement never rides
// ItemManager.Random.
public const uint ScatterStream = 5;
- // The ore a shot's wear of rocks pays, ordinal the shot's ShotId, on the zone's DropSeed (mined ore is a drop):
- // FireControl.Extract is the one reader.
- public const uint OreStream = 6;
// 9.1 (docs/fire-control-cut.md): fmix32, MurmurHash3's 32-bit finalizer -- xor-shift, multiply,
// xor-shift, multiply, xor-shift. Diffuses a structured seed (a zone seed XORed with a small,
diff --git a/Assets/Scripts/ServerShared/StationKinds.cs b/Assets/Scripts/ServerShared/StationKinds.cs
index eb2662eee..dad1ce2aa 100644
--- a/Assets/Scripts/ServerShared/StationKinds.cs
+++ b/Assets/Scripts/ServerShared/StationKinds.cs
@@ -35,9 +35,6 @@ public class StationKindStandIn
// The kind whose model this faction builds in place of the owning kind's.
[JsonProperty("kind"), Key(1)]
public CultRecordRef Kind;
-
- // Element identity: minted by the cache on write; "" means unset.
- [Key(2)] [CultElementId] public string Id = "";
}
// The one owner of which kinds a faction builds, which kind a station gets, and which hull kind stands in.
diff --git a/Assets/Scripts/ServerShared/StationServices.cs b/Assets/Scripts/ServerShared/StationServices.cs
index dace9288e..153fc595d 100644
--- a/Assets/Scripts/ServerShared/StationServices.cs
+++ b/Assets/Scripts/ServerShared/StationServices.cs
@@ -94,50 +94,19 @@ public static class StationServices
public static int BuyableQuantity(ItemManager items, SimpleCommodity stock, int typed, int credits) =>
Math.Max(1, Math.Min(Math.Min(typed, credits / BuyPrice(items, stock)), stock.Quantity));
- // The sale: the item leaves the bay and the station pays SellPrice. A crafted item goes to one of the station's
- // cargo bays; false, with the item in its bay and the credits unchanged, when no bay can take it. A simple
- // commodity always sells (aetheria-release:ruling:station-market-absorbs-sold-commodity): the bays take as much of
- // the stack as fits and the market absorbs the rest, at the full price.
+ // The sale: the item leaves the bay for one of the station's cargo bays and the station pays SellPrice. False,
+ // with the item in its bay and the credits unchanged, when no station bay can take it.
public static bool TrySell(EquippedCargoBay from, Entity station, ItemInstance item, ref int credits)
{
var price = SellPrice(station.ItemManager, item);
- if (item is SimpleCommodity commodity)
- {
- if (!from.Cargo.ContainsKey(commodity)) return false;
- var offered = commodity.Quantity;
- for (var quantity = offered; quantity >= 1; quantity--)
- if (station.CargoBays.Any(bay => from.TryTransferItem(bay, commodity, quantity))) break;
- if (from.Cargo.ContainsKey(commodity)) from.Remove(commodity, commodity.Quantity);
- }
- else if (!station.CargoBays.Any(bay => from.TryTransferItem(bay, (CraftedItemInstance) item))) return false;
+ var moved = item is SimpleCommodity commodity
+ ? station.CargoBays.Any(bay => from.TryTransferItem(bay, commodity, commodity.Quantity))
+ : station.CargoBays.Any(bay => from.TryTransferItem(bay, (CraftedItemInstance) item));
+ if (!moved) return false;
credits += price;
return true;
}
- // The mined stacks of the bays: simple commodities with a lot whose origin is Extracted. Ammunition and consumables are
- // simple commodities too, and a bought or staged commodity has Lot 0, which GetLot cannot resolve.
- private static ItemInstance[] OreStacks(ItemManager items, IEnumerable bays) =>
- bays.SelectMany(bay => bay.Cargo.Keys.OfType().Where(stack => stack.Lot != 0 && items.GetLot(stack).Origin is Extracted).Select(stack => (ItemInstance) stack)).ToArray();
-
- // What the station pays for every mined stack of the bays: the sum of SellPrice over the stacks TrySellOre sells.
- public static int OreValue(ItemManager items, IEnumerable bays) =>
- (int) Math.Min(OreStacks(items, bays).Sum(stack => (long) SellPrice(items, stack)), int.MaxValue);
-
- // Sells every mined stack of the bays, each through TrySell, so the market's absorb rule and the price are the
- // single-stack path's. Returns the units sold.
- public static int TrySellOre(IEnumerable bays, Entity station, ref int credits)
- {
- var bayList = bays.ToArray();
- var units = 0;
- foreach (var stack in OreStacks(station.ItemManager, bayList))
- {
- var quantity = ((SimpleCommodity) stack).Quantity;
- var from = bayList.First(bay => bay.Cargo.ContainsKey(stack));
- if (TrySell(from, station, stack, ref credits)) units += quantity;
- }
- return units;
- }
-
// The repair: armour and every durability go back to design and the station charges RepairCost. False, with
// nothing restored, when the credits fall short.
public static bool TryRepair(Entity entity, ref int credits)
diff --git a/Assets/Scripts/ServerShared/Targeting/BeltTargets.cs b/Assets/Scripts/ServerShared/Targeting/BeltTargets.cs
index a64e0c624..3e12536c3 100644
--- a/Assets/Scripts/ServerShared/Targeting/BeltTargets.cs
+++ b/Assets/Scripts/ServerShared/Targeting/BeltTargets.cs
@@ -48,7 +48,8 @@ public sealed class BeltTargets : ITargetProvider
_zone = zone;
_field = field;
_data = data;
- _largestRadius = Zone.LargestChunkRadius(settings);
+ var size = settings.AsteroidSize;
+ _largestRadius = size.Exponent > 0 ? max(abs(size.Minimum), abs(size.Maximum)) : float.PositiveInfinity;
var count = data.Asteroids.Length;
_periods = new double[count];
diff --git a/Assets/Scripts/ServerShared/VerseGrammar.cs b/Assets/Scripts/ServerShared/VerseGrammar.cs
index 1219e70b6..00e24833d 100644
--- a/Assets/Scripts/ServerShared/VerseGrammar.cs
+++ b/Assets/Scripts/ServerShared/VerseGrammar.cs
@@ -40,9 +40,6 @@ public class VerseRole
{
[Key(1)] public string Name;
[Key(2)] public VerseReferentKind Binds;
-
- // Element identity: minted by the cache on write; "" means unset.
- [Key(3)] [CultElementId] public string Id = "";
}
// The actor is the invoking subject and is never a role.
diff --git a/Assets/Scripts/ServerShared/Zone.cs b/Assets/Scripts/ServerShared/Zone.cs
index 74d1486c3..6ba9ef7d7 100644
--- a/Assets/Scripts/ServerShared/Zone.cs
+++ b/Assets/Scripts/ServerShared/Zone.cs
@@ -62,9 +62,6 @@ public class Zone
// the entities, and one provider per belt. The reticle, cycling and any range query over rocks go through it;
// nothing else scans a belt.
public readonly TargetingIndex Targets = new TargetingIndex();
- // Mining cut 4a: the receiver of every rock impact FireControl.Detonate publishes. Notification only: a presenter
- // subscribes once per zone, and nothing in ServerShared reads it.
- public readonly CapabilityEvents ChunkCapabilities = new CapabilityEvents();
private readonly List _suns = new List();
private HashSet _updatedOrbits = new HashSet();
@@ -90,8 +87,6 @@ public class Zone
public Subject ShotResolved = new Subject();
// Contacts.Step publishes each hull-on-hull contact it resolves; presentations are the only readers.
public Subject Contacted = new Subject();
- // Published by FireControl.Extract and TryPickUp once ore or an item enters (or is offered to) a hold; read by presentations only.
- public Subject CargoGained = new Subject();
private int _nextShotId;
public int NextShotId() => ++_nextShotId;
@@ -443,16 +438,8 @@ public class Zone
{
var floating = FloatingItems.FirstOrDefault(f => f.Id.Equals(id));
if (floating == null || (floating.Holder != null && !ReferenceEquals(floating.Holder, taker))) return false;
- // The quantity is read before the store: a store that merges into a part-filled stack and spills the rest into a
- // new cell rewrites the item's Quantity.
- var stored = floating.Item is SimpleCommodity stack ? stack.Quantity : 1;
if (!taker.CargoBays.Any(bay => bay.TryStore(floating.Item))) return false;
FloatingItems.Remove(floating);
- CargoGained.OnNext(new CargoGain
- {
- Taker = taker, Design = floating.Item.Data, Lot = floating.Item.Lot, Kind = GainKind.Collected,
- Stored = stored
- });
return true;
}
@@ -687,25 +674,16 @@ public class Zone
return belt.DamagedSize(chunk.Index, wear.Damage, Settings);
}
- // No rock of any belt, whole or worn, is wider than this (AsteroidSize's bound over every argument, so over the
- // Asteroid.Size range the generator writes). The index's visibility bound and a blast's query reach both use it.
- public static float LargestChunkRadius(PlanetSettings settings)
- {
- var size = settings.AsteroidSize;
- return size.Exponent > 0 ? max(abs(size.Minimum), abs(size.Maximum)) : float.PositiveInfinity;
- }
-
- // Cut 2: the only writer of chunk wear. Returns the damage the rock absorbed: the damage, or the hitpoints it had
- // left when the hit broke it; 0 on a chunk that is already broken. Whether it broke is ChunkExists. The break threshold is
+ // Cut 2: the only writer of chunk wear. Returns whether this hit broke the chunk. The break threshold is
// strictly greater-than, matching the deleted per-tick miner's own comparison against accumulated damage:
// damage exactly equal to hitpoints does not yet break the chunk, only damage that exceeds them does.
- // A chunk that is currently broken (zone time < BrokenUntil) absorbs nothing, and its wear stays zeroed until it
- // respawns and starts fresh.
- public float Wear(ChunkId chunk, float damage)
+ // A chunk that is currently broken (zone time < BrokenUntil) absorbs nothing: this hit did not break it
+ // (it was already broken), and its wear stays zeroed until it respawns and starts fresh.
+ public bool Wear(ChunkId chunk, float damage)
{
_wear.TryGetValue(chunk, out var wear);
if (wear.BrokenUntil.HasValue && wear.BrokenUntil.Value > _time)
- return 0f;
+ return false;
var beltData = (AsteroidBeltData) Planets[chunk.Field];
var size = beltData.Asteroids[chunk.Index].Size;
@@ -717,11 +695,11 @@ public class Zone
{
var respawnTime = Settings.AsteroidRespawnTime.Evaluate(size);
_wear[chunk] = new ChunkWear { Damage = 0f, BrokenUntil = _time + respawnTime };
- return max(hitpoints - wear.Damage, 0f);
+ return true;
}
_wear[chunk] = new ChunkWear { Damage = newDamage, BrokenUntil = null };
- return damage;
+ return false;
}
// Cut 1 (docs/mining-cut.md): a chunk's pose is a pure function of zone time, computed when asked. No stored
@@ -737,20 +715,6 @@ public class Zone
return AsteroidBelts[belt].Pose(index, time, parentPosition, size);
}
- // Mining Cut 4b: the one owner of a chunk's planar velocity, the central difference of the pose function at zone
- // time. Derived on every read, never stored: the intercept, the fire-time projection and the mount's sweep all
- // read it here.
- public float2 ChunkVelocity(ChunkId chunk)
- {
- const double h = .05;
- var ahead = ChunkPose(chunk.Field, chunk.Index, _time + h).xy;
- var behind = ChunkPose(chunk.Field, chunk.Index, _time - h).xy;
- return (ahead - behind) / (float) (2 * h);
- }
-
- // A chunk's radius in schematic cells: what visibility and a shot's silhouette both measure it in.
- public float ChunkCells(ChunkId chunk) => ChunkRadius(chunk) / SchematicCellSize;
-
// Mining Cut 3 (docs/mining-cut-refresh.md): how bright a chunk is -- Reflector's rule (cross-section × the light
// on it), with the field kind's reflectivity per schematic cell times the chunk's area in cells. Computed when
// asked; nothing about it is stored. A worn chunk shrinks and dims; a broken one, or one of a kindless belt, is dark.
@@ -759,7 +723,7 @@ public class Zone
if (!ChunkExists(chunk)) return 0f;
var kind = _itemManager.ItemData.Get(((AsteroidBeltData) Planets[chunk.Field]).Kind);
if (kind == null) return 0f;
- var cells = ChunkCells(chunk);
+ var cells = ChunkRadius(chunk) / _itemManager.GameplaySettings.SchematicCellSize;
return kind.CrossSection * PI * cells * cells * GetLight(ChunkPose(chunk.Field, chunk.Index).xy);
}
diff --git a/Assets/Scripts/ServerShared/ZoneData.cs b/Assets/Scripts/ServerShared/ZoneData.cs
index e76963a43..a08895aaa 100644
--- a/Assets/Scripts/ServerShared/ZoneData.cs
+++ b/Assets/Scripts/ServerShared/ZoneData.cs
@@ -67,9 +67,6 @@ public class ChunkWearPack
[JsonProperty("brokenUntil"), Key(3)]
public double? BrokenUntil;
-
- // Element identity: minted by the cache on write; "" means unset.
- [Key(4)] [CultElementId] public string Id = "";
}
[JsonObject(MemberSerialization.OptIn)]
@@ -152,9 +149,6 @@ public class FieldYield
[JsonProperty("regional"), Key(2)]
public bool Regional;
-
- // Element identity: minted by the cache on write; "" means unset.
- [Key(3)] [CultElementId] public string Id = "";
}
// Ore geography (rulings provinces-within-regions, ores-are-regional): a kind of ground, authored. A region deals its
@@ -188,9 +182,6 @@ public class ProvinceKindWeight
[JsonProperty("weight"), Key(1)]
public float Weight = 1;
-
- // Element identity: minted by the cache on write; "" means unset.
- [Key(2)] [CultElementId] public string Id = "";
}
[MessagePackObject, JsonObject(MemberSerialization.OptIn)]
@@ -201,9 +192,6 @@ public class ProvinceOre
[JsonProperty("weight"), Key(1)]
public float Weight = 1;
-
- // Element identity: minted by the cache on write; "" means unset.
- [Key(2)] [CultElementId] public string Id = "";
}
// Mining Cut 3 (Q16 B): the one owner of which kind a belt is. Ore geography: and of what it yields.
@@ -497,9 +485,6 @@ public class Asteroid
[JsonProperty("rotationSpeed"), Key(3)]
public float RotationSpeed;
-
- // Element identity: minted by the cache on write; "" means unset.
- [Key(4)] [CultElementId] public string Id = "";
}
[CultDocument("aetheria.orbitdata", "1"), MessagePackObject, JsonObject(MemberSerialization.OptIn)]
diff --git a/Assets/Scripts/UI/HUD/SchematicDisplay.cs b/Assets/Scripts/UI/HUD/SchematicDisplay.cs
index 90b4271d3..57f545960 100644
--- a/Assets/Scripts/UI/HUD/SchematicDisplay.cs
+++ b/Assets/Scripts/UI/HUD/SchematicDisplay.cs
@@ -132,8 +132,8 @@ public class SchematicDisplay : MonoBehaviour
//x.ListElement.Label.text = x.Item.EquippableItem.Name;
if (!_enemy)
{
- x.ListElement.InfiniteAmmoIcon.gameObject.SetActive(!x.Weapon.ShowsAmmoReadout);
- x.ListElement.AmmoLabel.gameObject.SetActive(x.Weapon.ShowsAmmoReadout);
+ x.ListElement.InfiniteAmmoIcon.gameObject.SetActive(!x.Weapon.WeaponData.AmmoType.IsSet());
+ x.ListElement.AmmoLabel.gameObject.SetActive(x.Weapon.WeaponData.AmmoType.IsSet());
}
}
}
@@ -233,8 +233,13 @@ public class SchematicDisplay : MonoBehaviour
if (x.Cooldown != null)
x.ListElement.CooldownFill.anchorMax = new Vector2(x.Cooldown.Progress, 1);
x.ListElement.DurabilityLabel.text = $"{(int)(x.Row.Item.EquippableItem.Durability / itemData.Durability * 100)}%";
- if (x.Weapon.ShowsAmmoReadout)
- x.ListElement.AmmoLabel.text = x.Weapon.AmmoReadout;
+ if (x.Weapon.WeaponData.AmmoType.IsSet())
+ {
+ if(x.Weapon.WeaponData.MagazineSize > 1)
+ x.ListElement.AmmoLabel.text = x.Weapon.Ammo.ToString();
+ else
+ x.ListElement.AmmoLabel.text = _entity.CountItemsInCargo(x.Weapon.WeaponData.AmmoType.Key).ToString();
+ }
}
if (x.ListElement.RangeLabel)
diff --git a/Assets/Scripts/UI/MainMenu.cs b/Assets/Scripts/UI/MainMenu.cs
index e7aba3357..9eef387ca 100644
--- a/Assets/Scripts/UI/MainMenu.cs
+++ b/Assets/Scripts/UI/MainMenu.cs
@@ -7,9 +7,7 @@ using System.Threading;
using System.Threading.Tasks;
using TMPro;
using UniRx;
-using UniRx.Triggers;
using UnityEngine;
-using UnityEngine.EventSystems;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
using static CultMath.math;
@@ -138,79 +136,9 @@ public class MainMenu : MonoBehaviour
ShowSettings();
Fade(true);
});
- _nextMenu.panel.AddButton("Credits",
- () =>
- {
- if (ShowCredits()) Fade(true);
- });
_nextMenu.panel.AddButton("Quit", Application.Quit);
}
- // The third-party attributions the build must show, one button per entry; the selected entry's name, licence and one
- // row per notice line fill the detail pane. The list is Credits.All; this only renders it. The screen follows the
- // New Game screen: list rows are out of automatic navigation, the focused Back button takes Up and Down to step the
- // selection and Cancel to leave, and a click on empty space does not drop that focus.
- // False when the list could not be built and a dialog says why; the menu stays where it was.
- private bool ShowCredits()
- {
- var attribution = Resources.Load(Credits.NounProjectResource);
- if (attribution == null)
- {
- Refuse("Credits are unavailable", $"{Credits.NounProjectResource} is missing from this build.");
- return false;
- }
- IReadOnlyList credits;
- try { credits = Credits.All(attribution.text); }
- catch (InvalidOperationException error)
- {
- Refuse("Credits are unavailable", error.Message);
- return false;
- }
- Next("credits");
- var list = _nextMenu.panel;
- var detail = _nextMenu.detail;
- detail.gameObject.SetActive(true);
- var focus = new FocusHold();
- var selected = -1;
- Button back = null;
- void Leave()
- {
- FocusHold.Focus(null);
- focus.Release();
- ShowMain();
- Fade(false);
- }
- void Select(int index)
- {
- selected = Mathf.Clamp(index, 0, credits.Count - 1);
- var credit = credits[selected];
- detail.Clear();
- detail.Title.text = list.Title.text;
- detail.Title.color = Color.clear;
- detail.AddProperty(() => credit.Name);
- detail.AddProperty(() => credit.Licence);
- detail.AddSpacer();
- foreach (var line in credit.Notice.Split('\n')) detail.AddProperty(() => line);
- FocusHold.Focus(back.gameObject);
- }
- for (var i = 0; i < credits.Count; i++)
- {
- var index = i;
- list.AddButton(credits[i].Name, () => Select(index)).Button.navigation = new Navigation { mode = Navigation.Mode.None };
- }
- back = list.AddButton("Back", Leave).Button;
- back.navigation = new Navigation { mode = Navigation.Mode.None };
- back.OnMoveAsObservable().Subscribe(move =>
- {
- if (move.moveDir == MoveDirection.Up) Select(selected - 1);
- else if (move.moveDir == MoveDirection.Down) Select(selected + 1);
- });
- back.OnCancelAsObservable().Subscribe(_ => Leave());
- focus.Hold();
- Select(0);
- return true;
- }
-
// New Game: every way to set up a run, each with its brief. A release build lists only the modes; the other ways
// to set up a run and the test arenas are listed only in editor and development builds.
private void ShowScenarios()
diff --git a/Assets/Scripts/UI/Menu/InventoryPanel.cs b/Assets/Scripts/UI/Menu/InventoryPanel.cs
index eaa6212ac..2087a3870 100644
--- a/Assets/Scripts/UI/Menu/InventoryPanel.cs
+++ b/Assets/Scripts/UI/Menu/InventoryPanel.cs
@@ -386,11 +386,11 @@ public class InventoryPanel : MonoBehaviour, IPointerClickHandler
var itemData = GameManager.ItemManager.GetData(item);
if (!(item is EquippableItem equippableItem)) return;
var placementPosition = v + itemDragObject.OriginCellOffset;
- if (entity.ItemFits(equippableItem, placementPosition, out var seated))
+ if (entity.ItemFits(equippableItem, placementPosition))
{
//foreach (var cell in _dragCells) cell.gameObject.SetActive(false);
FakeItem = item;
- FakeOccupancy = hullData.Shape.Inset(itemData.Shape, placementPosition, seated);
+ FakeOccupancy = hullData.Shape.Inset(itemData.Shape, placementPosition, item.Rotation);
RefreshCells();
GameManager.RegisterDragTarget(drag =>
{
diff --git a/Assets/Scripts/UI/Menu/TradeMenu.cs b/Assets/Scripts/UI/Menu/TradeMenu.cs
index 5f4123ff2..13345f88a 100644
--- a/Assets/Scripts/UI/Menu/TradeMenu.cs
+++ b/Assets/Scripts/UI/Menu/TradeMenu.cs
@@ -312,17 +312,6 @@ public class TradeMenu : MonoBehaviour
Dialog.MoveToCursor();
}
- // Sells every mined stack of the player's ships' bays in one step; the station pays through TrySell, so nothing refuses.
- private void SellOre()
- {
- StationServices.TrySellOre(PlayerBays(), GameManager.DockedEntity, ref GameManager.Credits);
- UpdateCreditsLabel();
- Populate();
- }
-
- private IEnumerable PlayerBays() =>
- GameManager.CurrentEntity.Parent.Children.Where(e => e is Ship {IsPlayerShip: true}).SelectMany(s => s.CargoBays);
-
private void Repair()
{
if (StationServices.TryRepair(GameManager.CurrentEntity, ref GameManager.Credits))
@@ -409,8 +398,6 @@ public class TradeMenu : MonoBehaviour
});
var repairCost = StationServices.RepairCost(GameManager.ItemManager, GameManager.CurrentEntity);
if (repairCost > 0) ContextMenu.AddOption($"Repair ({repairCost:N0})", Repair);
- var oreValue = StationServices.OreValue(GameManager.ItemManager, PlayerBays());
- if (oreValue > 0) ContextMenu.AddOption($"Sell Ore ({oreValue:N0})", SellOre);
ContextMenu.Show();
});
}
diff --git a/Assets/Scripts/UI/ScenarioPicker.cs b/Assets/Scripts/UI/ScenarioPicker.cs
index f5f3a1ca4..e0cd93134 100644
--- a/Assets/Scripts/UI/ScenarioPicker.cs
+++ b/Assets/Scripts/UI/ScenarioPicker.cs
@@ -30,7 +30,7 @@ public sealed class ScenarioPicker
private static readonly Color Accent = new Color(1, .4458f, .05f);
private int _selected;
private bool _launched;
- private readonly FocusHold _focus = new FocusHold();
+ private bool _restoreDeselect;
private ScenarioPicker(PropertiesPanel list, PropertiesPanel detail, Action launch, Action back)
{
@@ -115,7 +115,7 @@ public sealed class ScenarioPicker
picker._launchButton.OnCancelAsObservable().Subscribe(_ => picker.Back());
picker.StyleScrollbars();
- picker._focus.Hold();
+ picker.HoldFocus();
picker.Select(0);
// Layout is not live until the frame after Show; edit mode has no frames.
if (Application.isPlaying) Observable.NextFrame().Subscribe(_ => picker.FitViewport());
@@ -229,7 +229,7 @@ public sealed class ScenarioPicker
_rows[i].colors = colors;
_rows[i].targetGraphic.color = i == _selected ? Accent : _rowFills[i];
}
- FocusHold.Focus(_launchButton.gameObject);
+ Focus(_launchButton.gameObject);
Reveal((RectTransform) _rows[_selected].transform);
}
@@ -253,42 +253,36 @@ public sealed class ScenarioPicker
{
if (_launched) return;
_launched = true;
- FocusHold.Focus(null);
- _focus.Release();
+ Focus(null);
+ ReleaseFocus();
_launch(Selected);
}
// Leaves the screen; the same path for the Back button and Cancel.
private void Back()
{
- FocusHold.Focus(null);
- _focus.Release();
+ Focus(null);
+ ReleaseFocus();
_back();
}
-}
-// Keeps keyboard and gamepad focus on one control while a menu screen is up. While held, a click on empty space must
-// not drop focus, or the arrows and Enter go dead. The input module's flag is scene-wide, so the screen takes it for its
-// own lifetime and gives it back on leaving. The New Game and Credits screens both use it.
-public sealed class FocusHold
-{
- private bool _restoreDeselect;
-
- public void Hold()
+ // While the picker is up, a click on empty space must not drop focus from Launch, or the arrows and Enter go dead.
+ // The input module's flag is scene-wide, so the picker takes it for its own lifetime and gives it back on leaving.
+ private void HoldFocus()
{
if (EventSystem.current == null || !(EventSystem.current.currentInputModule is InputSystemUIInputModule module) || !module.deselectOnBackgroundClick) return;
module.deselectOnBackgroundClick = false;
_restoreDeselect = true;
}
- public void Release()
+ private void ReleaseFocus()
{
if (!_restoreDeselect) return;
_restoreDeselect = false;
if (EventSystem.current != null && EventSystem.current.currentInputModule is InputSystemUIInputModule module) module.deselectOnBackgroundClick = true;
}
- public static void Focus(GameObject target)
+ private static void Focus(GameObject target)
{
if (EventSystem.current != null) EventSystem.current.SetSelectedGameObject(target);
}
diff --git a/Assets/Scripts/Zone Display/ZoneRenderer.cs b/Assets/Scripts/Zone Display/ZoneRenderer.cs
index 24ce8a494..f63f746bd 100644
--- a/Assets/Scripts/Zone Display/ZoneRenderer.cs
+++ b/Assets/Scripts/Zone Display/ZoneRenderer.cs
@@ -508,7 +508,6 @@ public class ZoneRenderer : MonoBehaviour
void LateUpdate()
{
- if (!ActionGameManager.RunLive) return;
Map.Draw(Zone, ActionGameManager.Clock.Lead);
}
@@ -551,7 +550,6 @@ public class ZoneRenderer : MonoBehaviour
void Update()
{
- if (!ActionGameManager.RunLive) return;
var lead = ActionGameManager.Clock.Lead;
GravityLowering.Lower(Zone, lead, ref _gravityWells);
foreach (var loot in _floatingItems.Values)
diff --git a/Assets/Shaders/Brushes/SimplexBrush.shader b/Assets/Shaders/Brushes/SimplexBrush.shader
index af54035b2..3a6bf56e5 100644
--- a/Assets/Shaders/Brushes/SimplexBrush.shader
+++ b/Assets/Shaders/Brushes/SimplexBrush.shader
@@ -25,7 +25,7 @@ Category {
#pragma target 2.0
#include "UnityCG.cginc"
- #include "Packages/org.gamecult.cultmath/Shaders/CultMath.hlsl"
+ #include "Assets/Plugins/GPU Noise/SimplexNoise3D.cginc"
float _Depth;
float _Power;
@@ -68,7 +68,7 @@ Category {
fixed4 frag (v2f i) : SV_Target
{
float dist = length(i.texcoord - float2(.5,.5));
- return powerPulse(dist * 2,_Power) * (_Depth * abs(cultmath_snoise(float3(i.texcoord1.xy*_Frequency,_Time.y*_Speed)))+_Constant);
+ return powerPulse(dist * 2,_Power) * (_Depth * abs(snoise(float3(i.texcoord1.xy*_Frequency,_Time.y*_Speed)))+_Constant);
}
ENDCG
}
diff --git a/Assets/Shaders/Clouds.shader b/Assets/Shaders/Clouds.shader
index ccbda8835..11e3fe0a3 100644
--- a/Assets/Shaders/Clouds.shader
+++ b/Assets/Shaders/Clouds.shader
@@ -29,7 +29,7 @@
#pragma fragment frag
#include "UnityCG.cginc"
- #include "Packages/org.gamecult.cultmath/Shaders/CultMath.hlsl"
+ #include "Assets/Plugins/GPU Noise/SimplexNoise3D.cginc"
struct appdata
{
@@ -64,7 +64,7 @@
float sum = 0;
for(int i = 0; i < 6; i++)
{
- sum += cultmath_snoise(p * freq + Parallax * ParallaxDirection) * amp;
+ sum += snoise(p * freq + Parallax * ParallaxDirection) * amp;
parallax /= ParallaxLacunarity;
freq *= NoiseLacunarity;
amp *= NoiseGain;
@@ -83,7 +83,7 @@
fixed4 frag (v2f i) : SV_Target
{
float3 p = float3(i.uv,_Time.x*Speed);
- float noise = saturate((1-abs(cultmath_snoise(p*NoiseFrequency/2))) * fbm(p));
+ float noise = saturate((1-abs(snoise(p*NoiseFrequency/2))) * fbm(p));
return noise * _Color * (1-length(i.uv)/FadeDistance);
}
ENDCG
diff --git a/Assets/Shaders/Compute/Lightning/Lightning.compute b/Assets/Shaders/Compute/Lightning/Lightning.compute
index 7edd707d4..0750006b9 100644
--- a/Assets/Shaders/Compute/Lightning/Lightning.compute
+++ b/Assets/Shaders/Compute/Lightning/Lightning.compute
@@ -5,7 +5,7 @@
#define NUM_THREAD_X 64
#include "LightningVertex.cginc"
-#include "Packages/org.gamecult.cultmath/Shaders/CultMath.hlsl"
+#include "Assets/Plugins/GPU Noise/SimplexNoise2D.cginc"
struct Node
{
@@ -46,7 +46,7 @@ float fbm(float2 p)
float sum = 0;
for(int i = 0; i < 4; i++)
{
- sum += cultmath_snoise(p * freq) * amp;
+ sum += snoise(p * freq) * amp;
freq *= _NoiseLacunarity;
amp *= _NoiseGain;
}
diff --git a/Assets/Shaders/GalaxyMap.shader b/Assets/Shaders/GalaxyMap.shader
index 109cd96d0..567396a35 100644
--- a/Assets/Shaders/GalaxyMap.shader
+++ b/Assets/Shaders/GalaxyMap.shader
@@ -36,7 +36,7 @@ Shader "Unlit/GalaxyMap"
#pragma fragment frag
#include "UnityCG.cginc"
- #include "Packages/org.gamecult.cultmath/Shaders/CultMath.hlsl"
+ #include "Assets/Plugins/GPU Noise/SimplexNoise2D.cginc"
struct appdata
{
@@ -86,8 +86,8 @@ Shader "Unlit/GalaxyMap"
for(int i = 0; i < octaves; i++)
{
if(i<4)
- sum += (1-abs(cultmath_snoise(p * freq))) * amp;
- else sum += abs(cultmath_snoise(p * freq)) * amp;
+ sum += (1-abs(snoise(p * freq))) * amp;
+ else sum += abs(snoise(p * freq)) * amp;
freq *= NoiseLacunarity;
amp *= NoiseGain;
}
diff --git a/Assets/Steel.mat b/Assets/Steel.mat
new file mode 100644
index 000000000..fc4d8d0ca
--- /dev/null
+++ b/Assets/Steel.mat
@@ -0,0 +1,83 @@
+%YAML 1.1
+%TAG !u! tag:unity3d.com,2011:
+--- !u!21 &2100000
+Material:
+ serializedVersion: 6
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_Name: Steel
+ m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
+ m_ShaderKeywords: _MAINTEX _METALLICGLOSSMAP _NORMALMAP _OCCLUSIONMAP _PARALLAXMAP
+ m_LightmapFlags: 4
+ m_EnableInstancingVariants: 0
+ m_DoubleSidedGI: 0
+ m_CustomRenderQueue: -1
+ stringTagMap: {}
+ disabledShaderPasses: []
+ m_SavedProperties:
+ serializedVersion: 3
+ m_TexEnvs:
+ - _BumpMap:
+ m_Texture: {fileID: -3888315358723833787, guid: cbc61995a46604441ab9de4f1c68e290,
+ type: 3}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _DetailAlbedoMap:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _DetailMask:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _DetailNormalMap:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _EmissionMap:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 4, y: 4}
+ m_Offset: {x: 0, y: 0}
+ - _MainTex:
+ m_Texture: {fileID: 108215966750249586, guid: cbc61995a46604441ab9de4f1c68e290,
+ type: 3}
+ m_Scale: {x: 4, y: 4}
+ m_Offset: {x: 0, y: 0}
+ - _MetallicGlossMap:
+ m_Texture: {fileID: 4793252353645218242, guid: cbc61995a46604441ab9de4f1c68e290,
+ type: 3}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _OcclusionMap:
+ m_Texture: {fileID: -4384182597330533215, guid: cbc61995a46604441ab9de4f1c68e290,
+ type: 3}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _ParallaxMap:
+ m_Texture: {fileID: 4600200897981803784, guid: cbc61995a46604441ab9de4f1c68e290,
+ type: 3}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ m_Floats:
+ - _BumpScale: 1
+ - _Cutoff: 0.5
+ - _DetailNormalMapScale: 1
+ - _DstBlend: 0
+ - _GlossMapScale: 1
+ - _Glossiness: 0.5
+ - _GlossyReflections: 1
+ - _Metallic: 0
+ - _Mode: 0
+ - _OcclusionStrength: 1
+ - _Parallax: 0.02
+ - _SmoothnessTextureChannel: 0
+ - _SpecularHighlights: 1
+ - _SrcBlend: 1
+ - _UVSec: 0
+ - _ZWrite: 1
+ m_Colors:
+ - _Color: {r: 1, g: 1, b: 1, a: 1}
+ - _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
+ m_BuildTextureStacks: []
diff --git a/Assets/Steel.mat.meta b/Assets/Steel.mat.meta
new file mode 100644
index 000000000..d645ba6a4
--- /dev/null
+++ b/Assets/Steel.mat.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 4c998decce894b4458e1bc667975aeea
+NativeFormatImporter:
+ externalObjects: {}
+ mainObjectFileID: 2100000
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Directory.Build.props b/Directory.Build.props
index 62160b34f..05d5e4d22 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -2,12 +2,12 @@
$(CULTLIB_ROOT)
$(MSBuildThisFileDirectory)..\CultLib
-
- 7225835d11fd08a3de2a2ef24742fc351b3b08fb
+
+ b8fc5eb07720a187a0421424ac2cb3aa2966ca1d
$(CULTMATH_ROOT)
$(CultLibRoot)
-
- f1edfa458dd8e7e107214e9d9884254359475b8c
+
+ 7a8933b085468e1fc6f9d3bce4a85e7d101aaca3
C:\Program Files\Git\cmd\git.exe
git
diff --git a/GameData/Aetheria.cc b/GameData/Aetheria.cc
index ef463cde8..7a7b99f5c 100644
--- a/GameData/Aetheria.cc
+++ b/GameData/Aetheria.cc
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:62a6678e741e296449b6ac8cd8698e071a873ea39bc9c0303abe68887310dceb
-size 220731
+oid sha256:68b37cb55c012c9d1df97bbf0de5c0a56d1804ce5f16f498738cd4de51c88e4b
+size 214588
diff --git a/GameData/Mods/aetheria.nakovalnya/ship.cc b/GameData/Mods/aetheria.nakovalnya/ship.cc
index 1def7b776..ebe05cd33 100644
--- a/GameData/Mods/aetheria.nakovalnya/ship.cc
+++ b/GameData/Mods/aetheria.nakovalnya/ship.cc
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:0228aa7ec3a2e060bd49e46aa64f52eea4c4cdb25951c164646c1d031ad17851
-size 30457
+oid sha256:87d8cbcca252460d1ec2bfeb895c1447ab185172a4a4449b237a297b83ea5057
+size 40059
diff --git a/Packages/manifest.json b/Packages/manifest.json
index ef01307a8..7693bd94f 100644
--- a/Packages/manifest.json
+++ b/Packages/manifest.json
@@ -53,7 +53,7 @@
"com.unity.modules.wind": "1.0.0",
"com.unity.modules.xr": "1.0.0",
"org.gamecult.caching.unity": "https://github.com/GameCult/CultLib.git?path=/src/GameCult.Unity/Assets/Caching#caching-unity-v2.0.0",
- "org.gamecult.cultlib": "https://github.com/GameCult/CultLib.git?path=/unity/org.gamecult.cultlib#cultlib-unity-v3.0.0",
- "org.gamecult.cultmath": "https://github.com/GameCult/CultLib.git?path=/packages/cultmath/unity/org.gamecult.cultmath#cultmath-unity-v0.5.1"
+ "org.gamecult.cultlib": "https://github.com/GameCult/CultLib.git?path=/unity/org.gamecult.cultlib#cultlib-unity-v2.0.1",
+ "org.gamecult.cultmath": "https://github.com/GameCult/CultLib.git?path=/packages/cultmath/unity/org.gamecult.cultmath#cultmath-unity-v0.5.0"
}
}
diff --git a/Packages/packages-lock.json b/Packages/packages-lock.json
index 4db845c3b..919cf94d1 100644
--- a/Packages/packages-lock.json
+++ b/Packages/packages-lock.json
@@ -265,20 +265,20 @@
"hash": "42dce3611a81adc5c5fac54cadbaa5637d6022d3"
},
"org.gamecult.cultlib": {
- "version": "https://github.com/GameCult/CultLib.git?path=/unity/org.gamecult.cultlib#cultlib-unity-v3.0.0",
+ "version": "https://github.com/GameCult/CultLib.git?path=/unity/org.gamecult.cultlib#cultlib-unity-v2.0.1",
"depth": 0,
"source": "git",
"dependencies": {
- "org.gamecult.cultmath": "0.5.1"
+ "org.gamecult.cultmath": "0.5.0"
},
- "hash": "7225835d11fd08a3de2a2ef24742fc351b3b08fb"
+ "hash": "b8fc5eb07720a187a0421424ac2cb3aa2966ca1d"
},
"org.gamecult.cultmath": {
- "version": "https://github.com/GameCult/CultLib.git?path=/packages/cultmath/unity/org.gamecult.cultmath#cultmath-unity-v0.5.1",
+ "version": "https://github.com/GameCult/CultLib.git?path=/packages/cultmath/unity/org.gamecult.cultmath#cultmath-unity-v0.5.0",
"depth": 0,
"source": "git",
"dependencies": {},
- "hash": "f1edfa458dd8e7e107214e9d9884254359475b8c"
+ "hash": "7a8933b085468e1fc6f9d3bce4a85e7d101aaca3"
},
"com.unity.modules.accessibility": {
"version": "1.0.0",
diff --git a/ProjectSettings/ProjectSettings.asset b/ProjectSettings/ProjectSettings.asset
index 76b6938ad..1b000cd89 100644
--- a/ProjectSettings/ProjectSettings.asset
+++ b/ProjectSettings/ProjectSettings.asset
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:900f257853e7bf436c28cb323c323f2ef43e8d0659253ca7545cd23255d8ea57
-size 24033
+oid sha256:1f95917a4ca95a4f6977be90d80185648b012099467fa2275b31b868aca88b6f
+size 24058
diff --git a/docs/aetheria-fauna-map.md b/docs/aetheria-fauna-map.md
index 5276db97e..b698baf41 100644
--- a/docs/aetheria-fauna-map.md
+++ b/docs/aetheria-fauna-map.md
@@ -398,7 +398,7 @@ the lore branch `eureka/aetheria-fauna-lore` `74c7e212`, note `Open Water` (`OW`
| # | Question | Result |
|---|---|---|
| B28 | What does CultMath already give a node library? | Integer PCG hashes `pcg`, `pcg3d`, `pcg4d` (Jarzynski and Olano), "integer-only, so dxc and C# agree bit for bit" (`packages/cultmath/src/CultMath/math.cs:393-426`, `shaders/CultMath.hlsl:396-426`). `cellular(float3)`: Worley F1 and F2 - F1 with analytic gradients, jitter from `pcg3d` of the integer cell, 3D, unweighted (`math.cs:849-975`, `CultMath.hlsl:440-503`). `smin_grad` (`math.cs:831-847`, `CultMath.hlsl:428-437`). `distance_to_segment` in C# only (`math.cs:319`; no HLSL twin). No weighted cellular, no diagram over explicit weighted sites, no site-graph gate. |
-| B29 | How does CultMath own parity? | Two legs, one owner each (`packages/cultmath/docs/design.md:202-206`): HLSL against C# by the mirror test, which compiles the text of `CultMath.hlsl` as C# and compares float32 bit patterns (`design.md:118-124`), plus a clean `dxc -T lib_6_3` compile (`design.md:114-116`); GLSL against C# by golden fixtures run on a device. The mirror proves the composition in the text, not that a GPU agrees (`design.md:119-121`); device HLSL runs are consumers' today (Asura `gpu-snoise-parity`; Aetheria `FlowFieldParityVerify`). CultMath ships a Unity compute smoke (`packages/cultmath/scripts/unity-smoke/`). Aetheria pins `cultmath-unity-v0.5.1` (`Packages/manifest.json`). |
+| B29 | How does CultMath own parity? | Two legs, one owner each (`packages/cultmath/docs/design.md:202-206`): HLSL against C# by the mirror test, which compiles the text of `CultMath.hlsl` as C# and compares float32 bit patterns (`design.md:118-124`), plus a clean `dxc -T lib_6_3` compile (`design.md:114-116`); GLSL against C# by golden fixtures run on a device. The mirror proves the composition in the text, not that a GPU agrees (`design.md:119-121`); device HLSL runs are consumers' today (Asura `gpu-snoise-parity`; Aetheria `FlowFieldParityVerify`). CultMath ships a Unity compute smoke (`packages/cultmath/scripts/unity-smoke/`). Aetheria pins `cultmath-unity-v0.4.1` (`Packages/manifest.json`). |
| B30 | Does Aetheria already keep a math twin outside CultMath? | Yes. `FlowField` uses CultMath's `math`, but its `Tri`, `Tri3` and `Tri3D` are Aetheria functions (`FlowField.cs:66-72`) whose HLSL twin is `Volumetric.cginc`, pinned by Aetheria's own `FlowFieldParityVerify` (`RelativeTolerance` 1.5e-4). That is a second parity owner beside CultMath. |
| B31 | What is parked in CultMath that a DAG would use? | The tape: steps 2-5 (expression graph lowered to bytecode with C# evaluators, pruning, an HLSL interpreter, meshing) are parked until Asura is stable (`docs/cultmath-tape-target.md:3-8`, ruling `tape-target-unparks-when-asura-stable`). "Truth and lowerings" (`:84-92`): the field is a typed CultCache document, and the CPU evaluator and the HLSL interpreter are lowerings of it. Step 1 (intervals) and affine forms are on main. |
| B32 | Do the candidates make filaments? (`docs/research/2026-10-14-trophic-dag-probe/`, README there; wells orbit, slope terms on, t = 0) | `skein` draws strands between neighbouring wells, bent by the flow (`density_skein.png`); `lattice` draws a fine cellular web, dense on the shoulders, dim elsewhere, with no long links (`density_lattice.png`); `skein-web` draws both: strands from well to well with a web hanging off them (`density_skein-web.png`, `layer_L2-krill.png`). Correlation with the B20 Physarum map at 64x32 blocks (this measures the envelope, not filaments: a block is 62 u, wider than a strand): band .512, lattice .359, skein-web .296, krill .277, skein .225, slack .171. Hosted krill at 16 u: band 2,075, skein-web 1,475, skein 639, lattice 419. |
diff --git a/docs/aetheria-release-map.md b/docs/aetheria-release-map.md
index 83892fc69..3176c3163 100644
--- a/docs/aetheria-release-map.md
+++ b/docs/aetheria-release-map.md
@@ -224,11 +224,9 @@ at the same commit.
stat); `SoundBank` is catalog key 21 (`:403-404`).
- Gone since B5: the `AetherDrive` audio calls and its `RpmAudioParameter` and
`TorqueRatioAudioParameter` fields (grep 0), and the `EntityInstance` block that read
- `item.Data.SoundBank` (grep 0). Follow-up `wwise-catalog-fields` retired the rest: `SoundBank`
- (key 21), `AudioStats` (key 22, with `AudioStat`) and `Faction.OverworldMusic`, `CombatMusic`,
- `BossMusic` (keys 13 to 15) are deleted, their keys left as never-reuse comments. The shipped
- `GameData/Aetheria.cc` still carries the old values (29 equippables with a `SoundBank`, 2 factions
- with music); the reader skips unknown keys and the next catalog write drops them.
+ `item.Data.SoundBank` (grep 0). Follow-up `wwise-catalog-fields` still names both; its live
+ set is `SoundBank` (key 21), `AudioStats` (key 22) and `Faction.OverworldMusic`,
+ `CombatMusic`, `BossMusic` (`Corporations.cs:52-59`, keys 13 to 15).
- `WwiseMetadata.cs` (91 lines) and `WwiseSoundBinding.cs` (21 lines) are used only by that
surface; both have `.meta` files. A repo-wide grep outside `docs` finds the Wwise symbols in
exactly these files: `ChargedWeapon.cs`, `InstantWeapon.cs`, `Reactor.cs`, `Thruster.cs`,
@@ -502,8 +500,10 @@ record.
| follow-up | `hull-damage-wear` | demo | Damage visible on the hull (line 6). |
| follow-up | `mod-ship-single-existence-gate` | demo | A skipped package throws on spawn; demo hulls are packages. |
| follow-up | `ambiguous-hardpoint-origin` | demo | Save correctness for package hulls. |
+| follow-up | `remove-sbsar-files` | demo | Clean break from Substance before a public build. |
| follow-up | `delaunay-exact-predicates` | demo | Galaxy links; a silently unlinked zone could strand a demo run. |
| follow-up | `failed-start-scene-halts` | demo | The New Game failure path the demo's missing-cast refusal uses. |
+| follow-up | `stale-docs-after-scenarios-menu` | demo | Docs that describe the old New Game path. |
| follow-up | `scratch-carry-drafts` | demo | The ship `.cc` draft bears on `demo-ship-cc-timing`. |
| follow-up | `faction-lore-notes-r3` | full game | Vault setting notes; no demo cut reads them. |
| follow-up | `mining-impacts-through-contract` | full game | Mining Cut 4 is parked. |
@@ -512,7 +512,7 @@ record.
| follow-up | `belt-render-reads-index` | full game | Belt rendering through the index. |
| follow-up | `c4-ship-element-ids` | full game | Variants campaign. |
| follow-up | `variants-python-raw-push` | full game | Variants campaign. |
-| follow-up | `mod-hull-changed-under-run` | full game | Mod edits under a run; demo hulls are first-party. Done 2026-11-10 (#6): `RunSave.RequireLayouts` makes Continue refuse a run whose gear no longer fits its hull's edited cells or hardpoints, naming the hull. |
+| follow-up | `mod-hull-changed-under-run` | full game | Mod edits under a run; demo hulls are first-party. |
| follow-up | `ship-lods` | full game | Only if a profile shows cost. |
| follow-up | `hull-decals` | full game | Insignia and damage decals. |
| follow-up | `hull-player-paint` | full game | Player liveries. |
@@ -2186,7 +2186,7 @@ wear comes from baked maps. Grunge is baked into `ship.maps.png` A.
- r2's region tint (`_PaintStrength`, `RegionLuminance`, a tiling `_WearNoise`)
and its `Livery` of three colours are never built.
- Revision 1's vertex mask is gone.
- - The 41 `.sbsar` files are removed (follow-up `remove-sbsar-files`).
+ - The 41 `.sbsar` files go with follow-up `remove-sbsar-files`.
#### Parity
@@ -7457,9 +7457,7 @@ That file's Cut 4 (AI heading planner) and Cut 5 (combat facing) are carried as
is `stage.Generated("Djinni")`, `EvasionTermTests.cs:520`, so the target's fit follows the galaxy). The
cause is 0.3.0's breaking `snoise` kernel (its CHANGELOG), read in C# by `Settings.cs:72-73` (galaxy
cloud density), `GlobalData.cs:30` and `Environment.cs:132,144`. Shaders use the GPU Noise plugin, not
- CultMath (`Background.shader:39`), so nothing on the GPU moved at 0.3.0. GalaxyMap, Clouds, SimplexBrush and
- Lightning.compute now include `CultMath.hlsl`; Background keeps its 2D gradient copy because CultMath has no 2D
- `snoise_grad`. Every other DemoTerminus test passes.
+ CultMath (`Background.shader:39`), so nothing on the GPU moves. Every other DemoTerminus test passes.
Between the tags CultMath also adds `phacelle` (MPL-2.0 files), `cellular`, `smin_grad`, the `*_grad`
noises and `BoundedLeastSquares`; no existing signature changes.
- **TA9. The pin guard.** `Directory.Build.targets:21` conditions `VerifyCultLibRevision` on a
diff --git a/docs/cultcache-migration-cut.md b/docs/cultcache-migration-cut.md
index f27bde97d..16e885490 100644
--- a/docs/cultcache-migration-cut.md
+++ b/docs/cultcache-migration-cut.md
@@ -95,7 +95,7 @@ recorded, none blocking:
`WeaponData.AmmoType` refs.
- One cache holds all three stores for the process.
- `RunSave` commits a save atomically with stable zone keys and clears the run
- on death or victory (`RunSave.Replace` drops the old run once a new one has staged).
+ on New Game or death.
- `SavedRun`, the msgpack settings and layout I/O, `.loadout`, `SaveState`,
`SaveZone` and the importer are deleted.
- **Loadouts are authored ship presets in the catalog.** This was reworked
@@ -138,6 +138,9 @@ The first Soul pass found untested all-or-nothing, availability and price
rules, weapon-group corruption, dictionary-ordered product choice, and a
premature "done". All are fixed.
+Recorded, not fixed: New Game clears the previous run before generation, as the
+spec says, so a generation fault loses that run.
+
`GameData/PlayerSettings.msgpack` entered history through `5c5c3d5e`. It holds
defaults and the username, and about 65 earlier versions are already in LFS
history, so history is left alone.
@@ -148,7 +151,7 @@ death clearing the run across relaunch, stance toggle, `FieldShieldTest`. It fou
migration defect: CultMath types are not Unity-serializable, so Unity-serialized CultMath
fields load as zero. Mouse sensitivity (lost look control) moved to `PlayerSettings` in
`00ebe46a`; the rest, including the black rarity colours, is `docs/settings-globals-cut.md`.
-The Substance maps are removed and the materials repointed to Assets/Materials/PBR.
+Scene materials are broken by the dead Substance plugin, not by this migration.
History, before the smoke:
- nothing else from agents. The preset rework's Soul findings were fixed in
@@ -648,9 +651,7 @@ After Cut 10, every runtime write is a single-store `Commit` on one cache that
holds catalog, run and player stores from first access:
- `RunSave.Commit` saves the run at wormhole arrival and quit, with stable
`SavedZone` keys.
-- `RunSave.Clear` deletes every run record at death and victory (`ActionGameManager.EndRun`).
-- `RunSave.Replace` swaps the saved run for a new one only after the new run has
- staged; a start that fails leaves the saved run in place.
+- `RunSave.Clear` deletes every run record at New Game and at death.
- The settings getter creates `PlayerSettings` on first launch, and
`SavePlayerSettings` commits it.
- `Loadouts.Save` writes loadouts to the player store, and
@@ -848,7 +849,7 @@ reads a global back (Q4).
| Global | Store | Read by | Existence owned by | Missing at main menu | Missing at resume | Missing at new game |
|---|---|---|---|---|---|---|
| `PlayerSettings` | Player | `MainMenu` (name, tutorial flag), `ActionGameManager` (credits) | boot: `ActionGameManager.Awake` after `AetheriaStores.Open`, when `GetGlobal()` is null, upserts one and flushes (Cut 10) | cannot happen after boot | same | same |
-| `SavedGame` | Run | `MainMenu` (resume), `Galaxy(CultCache, SavedGame, ...)` | new run: `RunSave.Replace` writes the new run's records and removes the old run's once the scenario has staged; `EndRun` calls `RunSave.Clear` at death and victory | no run file: Continue disabled; run file without `SavedGame`: Continue disabled, log the key | as main menu | a new run keeps the saved run until it has staged |
+| `SavedGame` | Run | `MainMenu` (resume), `Galaxy(CultCache, SavedGame, ...)` | new game: `ActionGameManager.BeginRun()` creates the run store and writes it; `Die()` deletes the run store (Cut 10) | no run file: Resume hidden; run file without `SavedGame`: refuse to resume, log the key, New Game only | as main menu | new game deletes any run store first |
| catalog globals | Catalog | none exist | authored data; catalog is read-only | `AetheriaStores.Open` throws naming every `[CultGlobal]` type routed to the catalog with no record | same | same |
**CultLib's role.** `[CultGlobal]` means exactly: at most one record of the
@@ -1771,8 +1772,8 @@ Probes behind 8a (scratch copies; nothing committed):
Math audit:
- **Not used:** `float4x4`, `transpose`, `determinant`, `_11` names. The
- `determinant` hits were locals and comments (in `AetheriaMath.cs` and the
- vendored `NIH\MIConvexHull`, both since deleted); the `half` hits are locals. `float2x2`/`float3x3`, `int3`/`int4`,
+ `determinant` hits (`AetheriaMath.cs:98-112`, `NIH\MIConvexHull`) are locals
+ and comments; the `half` hits are locals. `float2x2`/`float3x3`, `int3`/`int4`,
`double2`/`double3`, `quaternion.LookRotation`, `Random` and `snoise` all
compile against CultMath.
- **Accepted by Cut 6b:** `hash`, `normalize`, `Random`, `snoise` and NaN
@@ -2595,31 +2596,28 @@ AetherDb and test edits made by Cut 9 (landed `70fbaca1`, recorded `e3af23fa`).
- `SavedGame` global and `savedzone-{i}` records in `run.cc`.
- `PlayerSettings` global in `player.cc`.
- Orbit and body records in `run.cc`, written by zone generation and landed by the next save.
- - **Run begins:** a scenario launch (`MainMenu.Launch`) generates the galaxy on a
- background task and writes nothing to the run store. `StartGame` then calls
- `StartScenario`, which runs arena generation, `PopulateLevel` and staging
- inside `RunSave.Replace(CultCache, ...)`. The saved run's records are removed
- only when staging succeeds; on failure the records the start wrote are removed
- and the saved run stays.
- - Zone generation (`PopulateLevel`, then `ZoneGenerator`) upserts orbits and
- bodies into the attached run store. They stay staged until the next
- `RunSave.Commit`, or are removed by `Replace` on a failed start.
+ - **Run begins:** New Game calls `RunSave.Clear(CultCache)` as its first
+ statement (the `MainMenu.cs:110` handler), before the `Task.Run` at `:127`
+ or `:154`.
+ - Galaxy generation writes nothing.
+ - Zone generation (`PopulateLevel` `:615`, then `ZoneGenerator.cs:99, 108,
+ 200-201, 239, 253`) upserts orbits and bodies into the attached run store.
+ They stay staged until the next `RunSave.Commit`.
- **Run saves:** `ActionGameManager.SaveRun()`:
- - It captures the live run (`RunSave.Capture`, which writes `SavedGame.IsTutorial` from `galaxy.IsPrelude`) and commits it with `RunSave.Commit` (`ActionGameManager.SaveRun`, `:284`).
+ - It is `if (CurrentGalaxy != null) { var (game, zones) = RunSave.Capture(CultCache, CurrentGalaxy, Zone, DockedEntity ?? CurrentEntity, IsTutorial, _actionBarSlots.Select(s => s.Save()).ToArray()); RunSave.Commit(CultCache, game, zones); }`.
- Callers: wormhole arrival (`:605`) and `OnApplicationQuit() { SaveRun(); SavePlayerSettings(); }`.
- - **Run ends:** `EndRun` (death and victory) nulls `CurrentGalaxy`, then calls
- `RunSave.Clear(CultCache); SavePlayerSettings();` (`ActionGameManager.cs:1224-1232`).
- - `CurrentGalaxy` is already null, so a quit afterwards does not save a run.
+ - **Run ends:** `Die` replaces `SavePlayerSettings()` at `:1059` with
+ `RunSave.Clear(CultCache); SavePlayerSettings();`.
+ - `CurrentGalaxy` is already null (`:1058`), so a quit afterwards does not save a run.
- **Run exists:** derived only as `CultCache.GetGlobal() != null`.
- `MainMenu.ShowMain` enables Continue from it. Continue sets
- `CurrentGalaxy = new Galaxy(CultCache, saved, Debug.Log)`, whose `IsPrelude`
- comes from `saved.IsTutorial`.
- - `StartGame` (`ActionGameManager.cs:820`) branches on `PendingScenario`: set
- means a new run (`StartScenario`); otherwise it resumes from `CurrentZone`,
- `CurrentZoneEntity` and `ActionBarBindings` of the saved run.
+ `IsTutorial = saved.IsTutorial` and
+ `CurrentGalaxy = new Galaxy(CultCache, saved, Debug.Log)`.
+ - `StartGame` (`:695-741`) reads it once at the top: `null` takes the
+ new-run branch; otherwise it resumes from `CurrentZone`,
+ `CurrentZoneEntity` and `ActionBarBindings` (`:722, 723, 737`).
- A run store that holds records but no `SavedGame` logs
- `run store has no SavedGame; Continue disabled`. The next scenario launch
- replaces those records once it has staged.
+ `run store has no SavedGame; Continue disabled`. New Game clears it.
- **Player settings:**
- The `ActionGameManager.PlayerSettings` getter returns `CultCache.GetGlobal()`.
- When that is absent (first launch), the getter commits
@@ -2653,7 +2651,7 @@ AetherDb and test edits made by Cut 9 (landed `70fbaca1`, recorded `e3af23fa`).
- The cache never creates either. `AetheriaStores.Open` keeps its missing-global check catalog-only (`AetheriaStores.cs:24-29`).
- **Derived state:**
- "Run exists" is derived from the `SavedGame` global.
- - `Galaxy.IsPrelude` is set from `SavedGame.IsTutorial` on Continue; `Capture` writes it back from `galaxy.IsPrelude`. No static copy exists.
+ - `IsTutorial` is set from it on Continue and written back by `Capture`.
- `PlayerSettings.SavedRun` is deleted, not demoted.
- **Forbidden writers:**
- `File.*` I/O for game state anywhere in `Assets\Scripts`.
@@ -2662,10 +2660,10 @@ AetherDb and test edits made by Cut 9 (landed `70fbaca1`, recorded `e3af23fa`).
- A second `AetheriaStores.Open` in `Assets\Scripts`.
- Any upsert of `SavedGame` or `SavedZone` outside `RunSave.Commit`.
- **Shared paths:**
- - Every scenario launch goes through `RunSave.Replace`.
+ - Normal and tutorial New Game both call `Clear`.
- Continue and a new run's `StartGame` read the same global.
- Wormhole and quit call `SaveRun`.
- - Death and victory call `Clear` through `EndRun`.
+ - Death calls `Clear`.
- **Deletion line:** `SavedRun`, `SaveState`, the msgpack settings and layout
I/O, `SaveLoadout`, `SaveZone` and the `SavedGame` constructor go before
`RunSave` lands.
diff --git a/docs/element-ids.md b/docs/element-ids.md
deleted file mode 100644
index 32ccdafc8..000000000
--- a/docs/element-ids.md
+++ /dev/null
@@ -1,42 +0,0 @@
-# Element ids and the CultLib pin (cultlib-unity-v3.0.0)
-
-CultLib 3.0.0 (Unity tag `cultlib-unity-v3.0.0`, commit `7225835d`, which is the headless pin in `Directory.Build.props`; CultMath `cultmath-unity-v0.5.1`, `f1edfa45`) gives every element of an object list an identity. Every
-element type reachable through a list of a `[CultDocument]` type carries one string member with `[Key(n)]` and `[CultElementId]`;
-the registry refuses to open otherwise, naming the type and list.
-
-- **Where the slot goes.** A union base takes the member above its subclasses' highest key. `BehaviorData.Id` is key 37, so an
- array-format behavior is 38 slots on the wire (`PaintModeTests`, `ShipRigTests` pin it). A new `BehaviorData` subclass must keep
- its keys below 37 or move the slot, which is a wire change.
-- **Derived ids.** `ShipJoint` and `ShipAnchor` already had a readable `Id`; CultLib refuses a readable id inside a marked member,
- so each gained a trailing `ElementId` marked `[CultElementId(nameof(Id))]`.
-- **Minting.** A writer mints random ids for elements that have none. A store written before ids (every file under `GameData/`)
- loads with ids minted in memory and persists them on its next write; `CultCache.MintElementIds()` does that in one pass.
- `ElementIdUpgradeTests` opens a copy of the shipped catalog, mints, flushes and reopens it.
-- **Comparing content.** Random ids differ between two writes of the same content. Tests that compare bytes use
- `ElementIdBlind`.
-- **One list element is one object.** The same instance twice in a list is refused (`CultElementIdException`).
-- **Retyping.** Writing a different type onto a held key is refused unless the record is removed first
- (`EconomyAuthor.Write` does).
-
-## The bump is one-way
-
-A store holding element ids is format v3 (single file) or v5 (directory). The previous pin (`cultlib-unity-v2.0.1`, `b8fc5eb0`) refuses a v3 store loudly
-(`NotSupportedException: Store format cultcache.store.v3 is not readable`; checked by Soul on PR 12). CultLib #98 (`7002c252`) records
-that some intermediate pins read a single-file v3 store silently and drop the ids on the next write. So: upgrade readers before
-writers, keep a pre-upgrade copy of any real store (`GameData/Aetheria.cc` and the mod packages are tracked in git; player saves and
-run stores are not), and do not roll the pin back after a store has been written under the new one.
-
-The shipped mod package (`GameData/Mods/aetheria.nakovalnya/ship.cc`) and the test fixture package (`tests/fixtures/mods/aetheria.wren/ship.cc`) held only default
-placeholders (`0` and `[]`) in the retired `HullData` slots 21 and 22, which the new CultLib refuses to write over
-(`CultSchemaConflictException`). They were regenerated with `AetherDb ship-authoring regenerate apply`, which loads the
-records, writes them into a fresh file under the current schema, requires them to read back identical and replaces the file. Both
-now hold persisted element ids and nil in slots 21 and 22; `EveryShippedModPackageCanBeWrittenOver` fails if a package regresses.
-A mod file that fails the same way is regenerated the same way. A rewritten catalog is about 15% larger: every behavior row is 38
-slots, mostly nil. A regenerated ship package can still shrink: the old nakovalnya file stored its floats as float64 and the
-fresh write stores the typed `float` fields as float32 (40059 to 30457 bytes; each value equals the old one rounded to float32).
-
-The Unity manifest (`Packages/manifest.json`) pins `org.gamecult.cultlib` at `cultlib-unity-v3.0.0` and `org.gamecult.cultmath` at
-`cultmath-unity-v0.5.1` (the version v3.0.0 depends on). `org.gamecult.caching.unity` stays at `caching-unity-v2.0.0`: it is editor
-tooling, unchanged in v3.0.0. The v3.0.0 plugin `GameCult.Caching.dll` exports `CultElementIdAttribute` (sealed, fields and
-properties, one optional `derivedFrom` argument), the shape `ServerShared` uses. The Unity editor compile of this branch has not
-been run; the headless build and tests are the evidence so far.
diff --git a/docs/headless-playground-cut.md b/docs/headless-playground-cut.md
index d6ca6104a..bea30aa46 100644
--- a/docs/headless-playground-cut.md
+++ b/docs/headless-playground-cut.md
@@ -10,13 +10,6 @@ probe was built with `--artifacts-path` in scratch, so this tree got no `bin`/`o
writes. CultLib was a temporary detached worktree at `a0813c6`, since removed. The probe
source is not kept; §2.8 records what it did.
-Since this map, the new-run path moved: `MainMenu.Launch` starts a `Scenario` and
-`ActionGameManager.StartScenario` replaces the saved run through `RunSave.Replace`
-after `RunStart` stages it (`docs/scenarios-cut.md` R.9); the `IsTutorial` static is
-gone (`Galaxy.IsPrelude` is the one owner) and `ItemManager` takes its seed in its
-constructor. Passages below that name the old `MainMenu` new-game anchors or those
-statics are rewritten to that path; the `Run` owner itself is still unbuilt.
-
## 0. Target
Operator, 2026-09-17: player inputs "map directly to the same entity inputs the AI
@@ -114,11 +107,11 @@ All of this is Unity code:
| Concern | Anchor | Unity dependencies |
|---|---|---|
| Store composition | `ActionGameManager.cs:43-63` (static, `Application.dataPath`) | path only |
-| Handoff across scene load | statics `CurrentGalaxy` and `PendingScenario` (`ActionGameManager.cs:108,113`), written by `MainMenu.Launch` and Continue, read by `SectorMap` | `SceneManager.LoadScene` (`MainMenu.EnterGame`, `MainMenu.cs:287`) |
-| New game: replace | `ActionGameManager.StartScenario` (`:855-876`): `RunSave.Replace` drops the saved run only after the scenario stages; `MainMenu` clears nothing | none |
-| New game: galaxy | `MainMenu.Launch` builds a `GalaxyStage` and runs `Task.Run(() => RunStart.Generate(scenario, stage))`, then `Observable.NextFrame`; background noise and galaxy draw from `GalaxyStage.Seed`, not `UnityEngine.Random` | UniRx main-thread scheduler |
-| ItemManager | `ActionGameManager.cs:309`; seed is a constructor argument, `RunStart.ItemSeed(galaxy, step)` (`RunStart.cs:99`), reseeded by `RunStart.SeedItems` | `Debug.Log` |
-| Start / Continue | `StartGame` (`:820`): `PendingScenario` set runs `StartScenario` (new run, player staged by `RunStart.Stage`); otherwise Continue resolves the saved zone and docked child and restores the action bar | renderer binding, `SectorMap` reveal |
+| Handoff across scene load | statics `CurrentGalaxy`, `IsTutorial` (`:96-97`), written by `MainMenu.cs:104-105,126,138,152,166`, read by `SectorMap.cs:114-310` | `SceneManager.LoadScene` (`MainMenu.cs:106,139,167`) |
+| New game: clear | `MainMenu.cs:112` | none |
+| New game: galaxy | `MainMenu.cs:125,148` (`UnityEngine.Random.value` background noise), `:127-141,153-169` (`Task.Run`, then `Observable.NextFrame`) | Random, UniRx main-thread scheduler |
+| ItemManager | `ActionGameManager.cs:264`; RNG clock-seeded at `ItemManager.cs:20` | `Debug.Log` |
+| Start / Continue | `StartGame` `:725-770`: spawn player ship `:733-744`; Continue resolves the docked child `:751-762`; action bar restore `:764-767` | renderer binding, `SectorMap` reveal |
| Zone entry | `PopulateLevel` `:639-675`: generate/unpack `:643-654`; move pilot `:659-666` | `ZoneRenderer.LoadZone`, `Debug.Log` |
| Wormhole placement (a game rule) | `ZoneRenderer.cs:222-231` (`dir * Pack.Radius * GameSettings.WormholeDistanceRatio`) | lives in a MonoBehaviour |
| Warp | detect `ActionGameManager.cs:312-316`; `EnterWormhole` `:615-637`, which saves on arrival (`:635`) | `ZoneRenderer.WormholeInstances` as the wormhole list |
@@ -127,11 +120,10 @@ All of this is Unity code:
| Save | `SaveRun` `:241-249`, called at quit `:236` and warp `:635` | action-bar slots (`:246`) |
| Death | `BindToEntity` subscribes `Death` -> `Die` (`:1053`); `Die` `:1080-1115` clears the run (`:1088`) | `Time.time`, `Observable.EveryUpdate` post-fx |
| Tick | `Update` `:1151-1220`: input `:1189-1216`, then `Zone.Update(Time.deltaTime)` `:1218` | `Time.deltaTime`, pause flag |
+| Dead code | `IntroCutscene` `:772-799`; its only call is commented out (`:760`) | coroutine, `Time.time` |
### 2.2 Already headless
-- Past probe: the measurements below were taken at an earlier commit and their line anchors
- are not maintained; re-run the probe before relying on a number or an anchor.
- `Aetheria.Shared/Aetheria.Shared.csproj` compiles `Assets/Scripts/ServerShared/**`
plus UniRx (`UniRxLibrary`) and Ink with no Unity defines. It is the
Unity-independence check.
@@ -142,23 +134,23 @@ All of this is Unity code:
- a player `LonginusX` spawned through `LoadoutGenerator`;
- thrust by hand-set `MovementDirection` reached 142 m/s in 5 s;
- a `Minion` patrol moved the player ship 642 units in 10 s;
- - `TryDock` and `TryUndock` succeeded;
- - `Ship.EnterWormhole` followed by stepping fired `OnEnteredWormhole`;
- - `Death` fired on hull damage;
+ - `TryDock` and `TryUndock` succeeded (`Entity.cs:721-755`);
+ - `Ship.EnterWormhole` followed by stepping fired `OnEnteredWormhole` (`Ship.cs:82-90,372`);
+ - `Death` fired on hull damage (`Entity.cs:277-280`);
- `RunSave.Capture` and `RunSave.Commit` wrote a 489 KB `run.cc`.
- Settings: `GameSettings` is a ScriptableObject (`GameSettings.cs:11`) holding
ServerShared classes.
- `tools/AetherDb/AuthoredSettings.cs` reads them from the asset YAML. The probe
placed every field (0 unplaced).
- Two lifecycle inputs are Unity-only `GameSettings` fields: `StartingHullName`
- (`GameSettings.cs:13`, authored `Longinus`) and `WormholeDistanceRatio` (`:16`,
+ (`GameSettings.cs:17`, authored `LonginusX`) and `WormholeDistanceRatio` (`:23`,
authored 0.75).
- Randomness:
- - `ItemManager.Random` is seeded by the constructor argument (`ItemManager.cs:35`); a new run's seed is `RunStart.ItemSeed(galaxy, step)`, from `Galaxy.Seed`.
- - `Galaxy` takes its seed from the run (`Galaxy.cs:119`); a zero seed throws.
- - `Zone` seeds from the zone name: `CombatSeed` (`Zone.cs:162`), with `DropSeed` mixing in the run's seed (`:163`).
- - Probe: `Zone.Update` was deterministic (identical traces) when belt updates ran on `Task.Run`;
- no `Task.Run` remains in `Zone.cs`.
+ - `ItemManager.Random` is clock-seeded (`ItemManager.cs:20`).
+ - `Galaxy` is clock-seeded only when `seed == 0` (`Galaxy.cs:108,158`).
+ - `Zone` seeds from the zone name (`Zone.cs:54`).
+ - `Zone.Update` runs belt updates on `Task.Run` (`Zone.cs:144`). It is still
+ deterministic (probe: identical traces).
### 2.3 Agents
@@ -251,7 +243,7 @@ Continue and death. There is one instance per run. It holds no Unity type.
- `GameplaySettings`, `ZoneGenerationSettings`, `PlanetSettings`;
- a `uint seed` for `ItemManager`;
- `Action log`;
- - for a new run, a caller-built `Galaxy` (`Galaxy.IsPrelude` says whether it is the prelude) and the staged start (`RunStart.Stage`);
+ - for a new run, a caller-built `Galaxy` and `isTutorial`;
- `dt` per step;
- commands from either lowering;
- `SavedActionBarBinding[]` at save, owned by the Unity action bar (the playground
@@ -313,8 +305,10 @@ Continue and death. There is one instance per run. It holds no Unity type.
- `ActionGameManager`: bodies of `SaveRun`, `EnterWormhole`, `PopulateLevel`'s
simulation half, `StartGame`, `Dock`, `DoDock`'s state half, `Undock`'s checks,
`TowShip`, `Die`'s clear, and `IntroCutscene` (entirely);
- - statics `CurrentGalaxy` and `PendingScenario`;
- - `ZoneRenderer.cs:222-231`'s wormhole construction.
+ - statics `CurrentGalaxy` and `IsTutorial`;
+ - `MainMenu.cs:104-105,112`;
+ - `ZoneRenderer.cs:222-231`'s wormhole construction;
+ - `ItemManager.cs:20`'s clock seed.
All of these go in the same cut that adds `Run`. None survives as a fallback.
@@ -324,12 +318,12 @@ Unity dependencies, each injected or cut:
|---|---|---|
| `Time.deltaTime` | `:1218` | injected: `Run.Step(float dt)` |
| `Time.time` | `IntroCutscene`, `Die` post-fx | cutscene deleted; post-fx stays in Unity, on `Died` |
-| `UnityEngine.Random` | `EntityInstance.cs:413-428` (loot) | galaxy noise already draws from `GalaxyStage.Seed`; loot roll moves to `Zone` on `ItemManager.Random` (Cut 2); effect spread jitter (`ProjectileManager.cs:20-26`) stays visual |
-| Clock RNG | `Scenario.Seed` of 0 (`GalaxyStage.SeedFrom`) | the clock seeds only the galaxy seed; every item stream derives from it through `RunStart.ItemSeed` |
+| `UnityEngine.Random` | `MainMenu.cs:125,148` (background noise), `EntityInstance.cs:413-428` (loot) | noise stays in the menu as a galaxy-generation input; loot roll moves to `Zone` on `ItemManager.Random` (Cut 2); effect spread jitter (`ProjectileManager.cs:20-26`) stays visual |
+| Clock RNG | `ItemManager.cs:20` | cut; the seed is a constructor argument, and Unity passes a clock-derived one |
| Coroutines | `IntroCutscene` | deleted (dead) |
| UniRx | `Observable.NextFrame` in the menu, `EveryUpdate` in `Die` | stay in Unity; `Run` uses C# events, and `Entity.Death` (UniRx, headless-compiled) is what `Run` subscribes to |
| `Debug.Log` | `:264`, `:657`, `MainMenu` | injected `Action` |
-| Scene load | `MainMenu` | stays; the handoff static is `ActionGameManager.PendingScenario`, command-only, consumed once by `StartGame`; null means Continue |
+| Scene load | `MainMenu` | stays; the handoff static becomes `ActionGameManager.NewRun : (Galaxy, bool)?`, command-only, consumed once in `Start`; null means Continue |
| MonoBehaviour state | `_currentEntity`, `DockedEntity`, `DockingBay`, `TowingStation`, `Zone`, `ItemManager` | projections of `Run` |
| Barrel transforms | `EntityInstance.cs:516` -> `HardpointTransforms` | `HardpointTransforms` deleted (Cut 2); the arc is item rotation plus `FiringArc` (fork A); barrels and `ArticulationPoint` are presentation only, `GetBarrel` |
| `Physics.*` hit queries | `Projectile`, `GuidedProjectile`, `Laser`, `Lightning`, `HullCollider` subjects | deleted from damage paths; `FireControl` rolls (Cut 2) |
@@ -380,7 +374,7 @@ This is subtraction first, then one new file.
- Deletes and moves:
- `ActionGameManager.cs`:
- `IntroCutscene` `:772-799` (dead).
- - Statics `CurrentGalaxy` and `PendingScenario` (`:108,113`).
+ - Statics `CurrentGalaxy` and `IsTutorial` (`:96-97`).
- `SaveRun` body `:243-248` becomes `Run?.Save(actionBar)`. Quit (`:236`) calls it.
- `EnterWormhole` `:615-637` and the detect loop `:312-316` become
`Run.TryEnterWormhole()`. `WarpArrived` drives `SectorMap.QueueZoneReveal`.
@@ -399,13 +393,14 @@ This is subtraction first, then one new file.
`Run.Died`.
- `:264` constructs no `ItemManager`.
- `Update` `:1218` becomes `Run.Step(Time.deltaTime)`.
- - `MainMenu`: already built. Continue (`ShowMain`) loads the scene with no
- `PendingScenario`; `MainMenu.Launch` sets `PendingScenario` and clears nothing.
+ - `MainMenu.cs`:
+ - Continue (`:102-107`) sets `ActionGameManager.NewRun = null` and loads the scene.
+ - New Game drops `:112` and sets `NewRun = (sector, tutorial)` at `:138,166`.
- `SectorMap.cs:114-310` reads `ActionGameManager.Instance.Run.Galaxy`.
- `InventoryPanel.cs:117-118` becomes `GameManager.Run.Board(ship)`.
- `ZoneRenderer.cs:222-231` iterates `zone.Wormholes`.
- - `ItemManager`: the seed is already a constructor argument (`ItemManager.cs:35`);
- `Run` supplies `RunStart.ItemSeed(galaxy, step)`.
+ - `ItemManager.cs:20`: the seed becomes a constructor argument. Call sites: 11 in
+ tests, 1 in `AetherDb`, and `Run`.
- Settings (fork S (a)):
- `StartingHullName` and `WormholeDistanceRatio` move from `GameSettings.cs:17,23` to
`GameplaySettings` (`Settings.cs:155`).
@@ -417,8 +412,8 @@ This is subtraction first, then one new file.
`GalaxyZone.AdjacentZones` with the rule from `ZoneRenderer.cs:226-230`. Null galaxy
zone gives an empty array.
- New `Run.cs`: types and rules, no bodies here.
- - `static Run New(CultCache, GameplaySettings, ZoneGenerationSettings, PlanetSettings, Galaxy, Scenario, Action log)`
- 1. `RunSave.Replace` around steps 2-5 (the saved run goes only once the scenario has staged).
+ - `static Run New(CultCache, GameplaySettings, ZoneGenerationSettings, PlanetSettings, Galaxy, bool isTutorial, uint seed, Action log)`
+ 1. `RunSave.Clear`.
2. `ItemManager` over `RunSave.Lots`, seeded.
3. `EnterZone(Entrance)`.
4. Spawn the player ship per `:734-743`.
@@ -451,7 +446,7 @@ This is subtraction first, then one new file.
child; updates `Bay.DockedShip`.
- `void Tow()`: the rule from `:891-911`.
- `void Save(SavedActionBarBinding[] actionBar)`
- - `RunSave.Capture(cache, Galaxy, Zone, Station ?? Pilot, actionBar, credits)`,
+ - `RunSave.Capture(cache, Galaxy, Zone, Station ?? Pilot, isTutorial, actionBar)`,
then `Commit(…, ItemManager.Lots)`.
- No-op when `Ended`.
- Remembers `actionBar` for warp saves.
@@ -466,7 +461,7 @@ This is subtraction first, then one new file.
| Test | Asserts | Mutation that must kill it |
|---|---|---|
-| `NewRunSpawnsPilotInEntrance` | pilot is a `Ship` with `IsPlayerShip`, in `Zone.Entities`, `Zone.GalaxyZone == Galaxy.Entrance`; the run store holds no prior `SavedGame` once the run has staged | `New` skips `RunSave.Replace`; spawn omits `Zones.Entities.Add` |
+| `NewRunSpawnsPilotInEntrance` | pilot is a `Ship` with `IsPlayerShip`, in `Zone.Entities`, `Zone.GalaxyZone == Galaxy.Entrance`; the run store is cleared of a prior `SavedGame` | `New` skips `RunSave.Clear`; spawn omits `Zones.Entities.Add` |
| `WarpMovesPilotAndSaves` | stepping after `TryEnterWormhole` lands the pilot in the target zone, out of the old zone's entities, with `SavedGame.CurrentZone` equal to the target index after reopen | arrival skips `Save`; `EnterZone` leaves the pilot in the old zone |
| `ContinueLandsDocked` | save while docked, reopen, `Continue`: `Station` is the saved orbital, `Pilot` is its player child | `Land` binds to the orbital itself |
| `DeathEndsAndClears` | hull death clears every run record; `Step` throws; `Save` writes nothing | `Died` handler omits `Clear`; `Ended` not set |
@@ -478,7 +473,7 @@ This is subtraction first, then one new file.
- Unity batchmode has no `error CS`.
- Negative greps:
- `rg -n "RunSave\.(Clear|Commit|Capture)" Assets/Scripts --glob '!ServerShared/**'` is empty.
- - `rg -n "CurrentGalaxy|PendingScenario" Assets/Scripts` matches only the `Run` lowering in `ActionGameManager` and `MainMenu`.
+ - `rg -n "CurrentGalaxy|IsTutorial\s*=" Assets/Scripts` is empty.
- `rg -n "new Wormhole" Assets/Scripts` matches only `Zone.cs`.
- `rg -n "new ItemManager\(" Assets/Scripts` matches only `Run.cs`.
- `rg -n "ZoneGenerator\.GenerateZone|new Zone\(" Assets/Scripts --glob '!ServerShared/**'` is empty.
@@ -1166,7 +1161,7 @@ Options as mapped before the ruling:
- **Recommend (a).**
**N. Is the scene handoff static acceptable?** Low-blocking.
-- (a) `ActionGameManager.PendingScenario : Scenario`, consumed once by `StartGame` (built this way).
+- (a) `ActionGameManager.NewRun : (Galaxy, bool)?`, consumed once by `Start`.
- (b) `MainMenu` builds the whole `Run` on its generation thread. That moves zone
generation's run-store upserts off the main thread, and the `CultCache` threading
contract is not checked here.
diff --git a/docs/item-provenance-cut.md b/docs/item-provenance-cut.md
index a0ccd947f..473ec76c2 100644
--- a/docs/item-provenance-cut.md
+++ b/docs/item-provenance-cut.md
@@ -166,9 +166,9 @@ Contradictions and corrections found in the Body:
`LoadoutTests` fixture is not: `FirstAvailableProductInKeyOrderBuildsTheSlot`
(`LoadoutTests.cs:289-312`) adds two same-maker Lamp products and reads `.Product`.
6. **`ItemManager` lives one scene load, and every run starts with a scene load.** It is
- constructed in `ActionGameManager.Start` (`:309`). There is one scene, `ARPG`. A scenario
- launch and Continue both end in `SceneManager.LoadScene("ARPG")` (`MainMenu.EnterGame`,
- `:287`), and no `DontDestroyOnLoad` guards the `ItemManager`. So a ledger held by `ItemManager` spans exactly one run.
+ constructed in `ActionGameManager.Start` (`:264`). There is one scene, `ARPG`. New Game
+ and Continue both end in `SceneManager.LoadScene("ARPG")` (`MainMenu.cs:106,139,167`), and
+ no `DontDestroyOnLoad` exists. So a ledger held by `ItemManager` spans exactly one run.
7. **Aside, not this cut:** `CreateInstance(CraftedItemData, float)` mints a
`CompoundCommodity` for a `ConsumableItemData` design (`ItemManager.cs:136-141`), while
`TryActivateConsumable` casts to `ConsumableItem` (`Entity.cs:336`). This map keeps
@@ -252,11 +252,9 @@ Not probed: CultCache Studio's rendering of the ledger (operator check); Unity c
`ZoneGenerator`'s staged-upsert pattern (`ZoneGenerator.cs:99-108`) is not used for
lots: the ledger is live simulation state, captured at commit like entities.
- Lifecycle: the run begins with a scene load (§1.6), whose `Start` reads
- `RunSave.Lots(CultCache)`. A scenario launch has `PendingScenario` set, so `Start` builds an
- empty `ProvenanceLedger` instead (`ActionGameManager.cs:312`); the saved run's records stay
- in the store until `RunSave.Replace` drops them once the new run has staged
- (`SavedGame.cs:247`). Continue reads the stored ledger. Death and victory end in `EndRun`,
- which calls `RunSave.Clear` (`ActionGameManager.cs:1224-1231`); the next run reloads the scene.
+ `RunSave.Lots(CultCache)`. New Game has already cleared the run store (`MainMenu.cs:112`),
+ so it gets an empty ledger. Continue gets the stored one. Death clears the run store
+ (`ActionGameManager.cs:1090`); the next run reloads the scene.
**Branding.**
- Owner: `ItemManager.Brand(CraftedItemInstance)` -> `(Faction Maker, FactionProductData Product)`.
@@ -528,7 +526,7 @@ Subtraction, plus a data rewrite.
worktrees.
Operator-only checks after Cut C:
-- New Game, pick a scenario, and fly through one zone. The starting ship's items show tier colour, and the
+- New Game and fly through one zone. The starting ship's items show tier colour, and the
properties panel shows Manufacturer, product name and flavour text for branded gear.
- Dock and buy an item: its brand still shows in your cargo.
- Kill an NPC and pick up loot: brand shown.
diff --git a/docs/item-provenance-substrate.md b/docs/item-provenance-substrate.md
index 956d79138..0bc310942 100644
--- a/docs/item-provenance-substrate.md
+++ b/docs/item-provenance-substrate.md
@@ -68,7 +68,8 @@ catalog, built a 196-zone sector galaxy from the authored `Settings.asset`, and
`47189c8a`). The commented `HaulingControllerData` union (`Behaviors.cs:179`) is
the same kind of residue.
- **No recipe, blueprint or ingredient model exists.** "Factory", "fabricat",
- "assembler", "blueprint", "recipe" and "refiner" appear in no live C#.
+ "assembler", "blueprint", "recipe" and "refiner" appear in no live C# outside
+ `NIH/MIConvexHull`.
`ItemData.Manufacturer` readers: `PropertiesPanel.cs:371-372` (shows "Manufacturer",
falling back to "GameCult"), `tools/AetherDb/Program.cs:54` (census), and the
@@ -82,7 +83,7 @@ All crafted instances come from three `ItemManager` overloads:
- `CreateInstance(CraftedItemData, float quality)` (`ItemManager.cs:126-142`) sets
Quality and Durability, with no product and no ingredients.
- `CreateInstance(CraftedItemData)` (`:144-160`) rolls a rarity tier with the
- `ItemManager.Random` (`:22`; seeded per run from the galaxy seed by `RunStart.ItemSeed`) and stores the tier's *discrete*
+ **time-seeded** `ItemManager.Random` (`:20`) and stores the tier's *discrete*
Quality.
- `CreateInstance(FactionProductData)` (`:164-187`) calls the previous overload, sets
`Product`, and draws a gaussian `RoleFill` per design role. Since no role is
@@ -129,12 +130,9 @@ unexecuted stubs.
`TradeMenu.Inventory = entity.CargoBays.First()` (`ActionGameManager.cs:827-829`).
- **Zones generate lazily on first entry** (`ActionGameManager.cs:643-652`,
`PackedContents ??=`) from a deterministic zone seed
- (`ZoneGenerator.cs:52`: name hash xor position hash). Item *selection* follows that
- seed, but item *quality* comes from `ItemManager.Random`, a stream seeded per run from
- the galaxy seed (`RunStart.SeedItems`, steps `ArenaStep`, `StageStep`, `ContinueStep`)
- and drawn in the order zones are entered. A zone is never regenerated within a run. A
- new run does not clear the run store up front: `RunSave.Replace` drops the old run's
- records once the new run has staged (`SavedGame.cs:247`).
+ (`ZoneGenerator.cs:47`: name hash xor position hash). Item *selection* follows that
+ seed, but item *quality* comes from the time-seeded `ItemManager.Random`. A zone is
+ never regenerated within a run. New Game clears the run store (`MainMenu.cs:111`).
- Each station carries hull, hardpoint gear, one docking bay, cargo bay, capacitor and
stock, all embedded by value. No station equips a factory; none can, because factory
designs have no product (§1).
@@ -152,9 +150,8 @@ unexecuted stubs.
`FactionProductData`, `PersonalityAttribute`, `NameFile`, `InputLayout`, `Loadout`.
- Run (`:10`): `OrbitData`, `BodyData`, `SavedZone`, `SavedGame`. Written only by
`RunSave.Commit`, which does one commit, keys zones `savedzone-{i}` and removes stale
- zones (`SavedGame.cs:216`). `RunSave.Clear` removes every run-typed
- record (`:242`); `RunSave.Replace` (`:247`) does the same for a new run, but only once
- the new run has staged. The single-file store writes its whole view on commit.
+ zones (`SavedGame.cs:96-111`). `RunSave.Clear` removes every run-typed record
+ (`:114-124`). The single-file store writes its whole view on commit.
- Player (`:11`): `PlayerSettings`.
- **Every item instance is a value** embedded in `EntityPack` (hull, equipment, bays,
cargo contents; `EntitySerializer.cs:179-196`), inside `SavedZone.Contents`. No
@@ -240,7 +237,7 @@ Every stat and wear reader goes through the instance:
"F" marks a fork (§9). "D" marks a recorded default.
-| Kind | Named by | Mint | Transfer / loot / sell | Consume | Zone unload / save | New run / death | Decides |
+| Kind | Named by | Mint | Transfer / loot / sell | Consume | Zone unload / save | New Game / death | Decides |
|---|---|---|---|---|---|---|---|
| **Lot** (provenance node) | run-scoped `LotId` (F1) | synthesis, at the mint site's call (F3) | never moves; instances point at it (D) | synthesized inputs are consumed at synthesis and have no instance (D) | kept while reachable from any instance, route or station; GC on `RunSave.Commit` (D, from the orphan-SavedZone scar) | cleared with the run store (D) | the synthesizer, one function in `ServerShared` |
| **Lot properties** (mocked quality per role) | on the lot (F4) | rolled once at synthesis from factory quality and input qualities, seeded by lot id (F4) | immutable | n/a | with the lot | with the lot | synthesizer; stat readers only read |
@@ -304,7 +301,7 @@ synthesized?** Blocks station identity, routes, stock and loot provenance.
pirated freighter's cargo should come from a station the player can fly to. The
skeleton is about 200 stations, small next to 16k instances. It demotes
`ZoneGenerator`'s station count and faction choice to reading the roster. It also
- moves item quality from the per-run `ItemManager.Random` stream, which depends on the order zones are entered, to lot-seeded synthesis,
+ moves item quality from the time-seeded `ItemManager.Random` to seeded synthesis,
which makes the chain regenerable.
- Sub-default: stations keep no identity outside a run. Zones never regenerate within
one.
diff --git a/docs/merge-to-master-checklist.md b/docs/merge-to-master-checklist.md
index 270b5625b..d5d70e17b 100644
--- a/docs/merge-to-master-checklist.md
+++ b/docs/merge-to-master-checklist.md
@@ -33,7 +33,7 @@ Compiled 2026-09-29 by Eyes from the maps on the branch. Pointers are `doc:line`
### 2b. Fresh launch (no `run.cc`, no `player.cc`)
3. **Launch to main menu.** Expect no Addressables errors, and the Groups window shows `Assets/Content` under `Default Local Group` (`addressables-cut.md:301`). `player.cc` appears and Continue is disabled (`cultcache-migration-cut.md:2746`). Proves: Addressables Cut 1, CultCache cutover. The 09-17 smoke covered the last two on the old tree; this is a cheap recheck on the new schema.
-4. **New Game, then a scenario.** New Game opens the scenario picker (`MainMenu.ShowScenarios`); a development build lists modes (Terminus (Demo)), development (Tutorial Galaxy, Main Galaxy) and test arenas, a release build lists only the modes. Pick Tutorial Galaxy or Terminus (Demo). Expect the galaxy generates and the start ship is the Longinus (`settings-globals-cut.md:498`, an expectation, not a recorded check for this stack). Expect a Zenith station with a docking bay in the entrance zone every time (`locomotion-cut.md:375`). Proves: locomotion Cut 1 station rule.
+4. **New Game (tutorial).** Expect the galaxy generates and the start ship is the Longinus (`settings-globals-cut.md:498`, an expectation, not a recorded check for this stack). Expect a Zenith station with a docking bay in the entrance zone every time (`locomotion-cut.md:375`). Proves: locomotion Cut 1 station rule.
5. **Addressables, "Use Asset Database".** Ships, turret and Zenith spawn; thruster and aether-drive particles show; fire an instant weapon (Autocannon) and a charged one (ChargeBlast SG); action bar icons show (`addressables-cut.md:362-366`). Proves: Addressables Cut 2.
### 2c. Flight, power and economy
diff --git a/docs/mining-cut-refresh.md b/docs/mining-cut-refresh.md
index 8a5fdcd9e..a96d10b40 100644
--- a/docs/mining-cut-refresh.md
+++ b/docs/mining-cut-refresh.md
@@ -63,9 +63,8 @@ rows are kept for the combined test count.
The three file sets are disjoint. I checked with `git diff --name-only` over each branch's own range, and none
of the three pairs shares a file. So each anchored line is byte-identical in the merged tree.
- **Tests ran on Yggdrasil, against synthetic merges** (section 0). CultLib `45c2f40` and CultMath `6d5e209` are
- the pins in `Directory.Build.props`. The LFS files the tests read were staged beside the job, because the verify mirror carries no LFS. The Mining
- cut tests needed `GameData/Aetheria.cc` and `Assets/Resources/Settings.asset`; `SubstanceCleanBreakTests` needs 97 and the whole suite needs more
- (see the LFS staging set under Verification).
+ the pins in `Directory.Build.props`. The two LFS files the tests read (`GameData/Aetheria.cc`,
+ `Assets/Resources/Settings.asset`) were staged beside the job, because the verify mirror carries no LFS.
- **Catalog facts** come from a probe that opens the merged tree's `GameData/Aetheria.cc` through
`AetheriaStores.Open` (section 0).
@@ -290,7 +289,7 @@ Every mining question is ruled.
- Mark the `:396-412` table as history, anchored at `8bd25f6f`.
- **Verification:**
- Yggdrasil, the same job that section 0 ran:
- `ygg-verify.sh dotnet ''`.
+ `ygg-verify.sh dotnet ''`.
Both roots are mandatory (shared precondition).
- The job mounts the Yggdrasil mirrors read-only with
`DOCKER_ARGS="-v /home/gamecultadmin/eureka-verify/repos:/repos:ro -v /home/gamecultadmin/eureka-verify/lfs-aetheria:/lfs:ro"`.
@@ -299,16 +298,8 @@ Every mining question is ruled.
Rule pinned: fire control and mining compose without a behaviour change on either side. Every pre-existing
test passes unchanged.
- The verify mirror has no LFS (the push from `F:\Projects\Aetheria` fails in the LFS pre-push hook on an
- `ssh:` remote). Push from a `--shared --no-checkout` clone, and mount the LFS blobs. This is recorded
+ `ssh:` remote). Push from a `--shared --no-checkout` clone, and mount the two LFS blobs. This is recorded
so the next Hands does not rediscover it.
- - LFS staging set. `SubstanceCleanBreakTests` fails loudly on any LFS pointer it scans, so the job must restore
- every LFS-tracked file under `Assets/`, `Packages/`, `ProjectSettings/`, `GameData/*.cc` and `tests/fixtures/mods/*.cc` that is not a
- binary-media extension (the test's `BinaryExtensions` denylist): 99 files at `83e6957de`, 96 `*.asset` and 3
- `*.cc` (`GameData/Aetheria.cc`, `GameData/Mods/aetheria.nakovalnya/ship.cc`, `tests/fixtures/mods/aetheria.wren/ship.cc`),
- which includes `ProjectSettings/ProjectSettings.asset` and `Assets/Resources/Settings.asset`. Derive the list from
- the merged tree instead of hand-copying it:
- `git ls-files Assets Packages ProjectSettings 'GameData/*.cc' 'tests/fixtures/mods/*.cc' | git check-attr --stdin filter | grep 'lfs$' | sed 's/: filter: lfs//' | grep -viE '\.(png|jpg|jpeg|tga|tif|tiff|psd|bmp|gif|exr|hdr|dds|wav|mp3|ogg|mp4|fbx|glb|blend|ttf|otf|dll|so|pdb|msgpack|zip|bank)$'`,
- then copy each path from the `/lfs` mount over the checkout. That set (99: the 97 the sbsar guards read plus the two mod `ship.cc` files the Nakovalnya and Wren tests open) makes `SubstanceCleanBreakTests` green and nothing more: staging only two files turns it red. For a fully green suite also stage `GameData/Mods/*/ship.glb` and `tests/fixtures/mods/*/ship.glb` (the catalog excludes a package with an invalid GLB header, failing about 520 tests) and the LFS `.ttf`/`.otf` fonts `CreditsTests.FontCreditsShowWhatTheFontsThemselvesEmbed` reads.
- Unity batchmode compile of the merged tree (Self, in a worktree, never with the operator's editor open on
the main tree). This is the Cut 1 renderer compile the map still owes.
- Operator: fly through a belt (the Cut 1 check the map still owes). Rocks orbit smoothly, and the minimap
diff --git a/docs/mining-cut.md b/docs/mining-cut.md
index ce23094dc..7c5be8297 100644
--- a/docs/mining-cut.md
+++ b/docs/mining-cut.md
@@ -301,7 +301,7 @@ resources **(probe: 8 belts, 0 authored)**.
- A: Composition is derived: `Comp_c(o) = Abundance_o × exp(Variance × g(hash(belt key, index, o)))`, normalized,
with `g ∈ [-1, 1]`. Nothing is stored. Existing saves work, and key 4 is retired.
- B: `ZoneGenerator` writes `BodyData.Resources` per belt at generation, and the chunk jitter is derived. Belts in
- runs started before Cut 5 have empty compositions until a new run.
+ runs started before Cut 5 have empty compositions until New Game.
- C: Per-belt only, with no per-chunk variation.
- **Recommended: A.** It has one owner (the catalog) and nothing to migrate. It follows the same "derived, never
stored" spirit as branding. The operator's wording ("the chunk's composition") argues against C. If B is chosen,
diff --git a/docs/moddable-ship-authoring.md b/docs/moddable-ship-authoring.md
index 81871b2dc..446bb6d89 100644
--- a/docs/moddable-ship-authoring.md
+++ b/docs/moddable-ship-authoring.md
@@ -63,11 +63,6 @@ be empties. Package exports the collection, Grease Pencil excluded, to
collection holds exactly one Grease Pencil object, and shows AetherDb's
verdict in the panel. It runs the AetherDb in the game folder's `ModTools`
(see Tools below).
-A package made with `create` and no `--like` has no top speed, which `validate` refuses; `ship-authoring stats --top-speed `
-adds the one `VelocityLimit` it needs (and edits it on a later run).
-Without Blender, `ship-authoring starter --like ` writes a complete flyable package: the
-shipped hull's stats, a 4×6 grid carrying two thrusters, a radiator, two energy guns and the internal modules, and a boxed
-`ship.glb` with every anchor. The model is a stand-in to replace through Blender and **Package**.
`ship-authoring inspect ` reads drafts; `validate` requires complete
hull, model, and anchor authoring, and judges `ship.glb` once it exists.
@@ -245,9 +240,8 @@ catalog. Continue refuses a run naming a design the catalog no longer holds
price and `ship-authoring product --name
[--description ]` writes the package's product by that maker
(`--remove` deletes it). A package with a product needs a price above 0,
- because generation skips price 0; a package with none stays valid but no
- maker offers it, so generation never draws it. Console `fly ` reaches such a hull only
- through a catalog Loadout of it. Compose follows.
+ because generation skips price 0; a package with none stays valid and is
+ console-only. Compose follows.
3. A command-line validator rejects malformed cells, overlapping or dangling
hardpoints, missing model nodes, and unresolved asset references with
precise errors. It changes no live catalog or scene on failure. The
diff --git a/docs/research/2026-10-21-strategic-ai-arena-living-world-prior-art.md b/docs/research/2026-10-21-strategic-ai-arena-living-world-prior-art.md
index 87a1bb7c9..42f0ee20c 100644
--- a/docs/research/2026-10-21-strategic-ai-arena-living-world-prior-art.md
+++ b/docs/research/2026-10-21-strategic-ai-arena-living-world-prior-art.md
@@ -390,8 +390,7 @@ Battlecode, Halite, CodinGame, BWAPI/SSCAIT/AIIDE/CIG, SC2 AI Arena, Lux, CodeCl
- **The Colosseum follow-up.** `aetheria-release:follow_up:colosseum-npc-lab` (in force; owner "Aetheria Agents and
the headless simulation") names its foundations:
- an observation and action seam (agents hold live `Ship`, `Zone` and `ItemManager` references);
- - seeding for tournament reproducibility: `ItemManager.Random` already takes the run's seed
- (`RunStart.ItemSeed`), and no MIConvexHull source remains in the repo;
+ - seeding `ItemManager.Random` and the MIConvexHull randoms;
- a replay recorder;
- a headless tournament runner on Yggdrasil with ratings;
- a primitive vocabulary;
diff --git a/docs/research/2026-10-29-release-pipeline-prior-art.md b/docs/research/2026-10-29-release-pipeline-prior-art.md
deleted file mode 100644
index 8faf9ed21..000000000
--- a/docs/research/2026-10-29-release-pipeline-prior-art.md
+++ /dev/null
@@ -1,53 +0,0 @@
-# Release pipeline prior art (Eyes, 2026-10-29)
-
-Serves: the Aetheria release pipeline forks (where Starfire builds run, how versions bump), raised 2026-10-29 by the operator's "we should have an auto release pipeline with semantic versioning and change logs". Eyes pass, session self-2026-10-28-ag9.
-Facts with pointers. No recommendations. "unverified" = not opened/confirmed.
-
-## 1. Headless Unity CI builds (GameCI)
-- Docker Hub `unityci/editor` (built by github.com/game-ci/docker, MIT, "not affiliated with Unity"). Tags checked via https://hub.docker.com/v2/repositories/unityci/editor/tags?name=6000.3 (1,881 tags total at fetch):
- - 6000.3.24f1 (the project's version) EXISTS, pushed 2026-09-10: `ubuntu-6000.3.24f1-{base,linux-il2cpp,windows-mono,mac-mono,webgl,ios,android}-3.2.2` (also `-3`, `-3.2`, unprefixed). Sizes (compressed): base 5.21 GB, linux-il2cpp 5.68 GB, windows-mono 5.95 GB. No `linux-mono` tag (Linux Mono player support is in the base editor; unverified wording). `windows-6000.3.24f1-base` tags marked inactive.
- - Newer: 6000.3.26f1 (2026-10-08), 6000.3.27f1 (2026-10-21), same module set. Windows-container images (`windows--base/windows-il2cpp/...`, 9-13 GB) also exist.
-- GameCI docs: https://game.ci/docs/github/builder — "Many Mono targets can be cross-compiled, so a Linux runner can produce a Windows Mono player"; IL2CPP needs matching OS for some platforms (https://game.ci/docs/docker/docker-images: "Some platforms require their respective operating systems in order to generate IL2CPP builds"). Windows and macOS targets each consume an extra license seat, all Linux targets together one.
-- unityVersion needs full string e.g. `6000.0.23f1`; `dockerMemoryLimit` defaults 95% of system memory on Linux; 6.6+ needs 1 GiB shm (`dockerShmSize`).
-- Known failure reports (not this exact setup): Unity issuetracker 24511 — `windows-mono` module install on Linux fails ERROR_CHECKSUM_MISMATCH for 6000.5.9f1 (stale md5 in release manifest; applies to Hub/module install, not prebuilt GameCI images). Old game-ci issue: Windows IL2CPP from Linux not possible/failed (2021.2 era); Mono worked.
-- Memory/disk: no authoritative figure found. Unity issue UUM-90456: Linux IL2CPP "Linking GameAssembly.so" high memory, OOM-killed on low-RAM machines; forum: "LLVM ERROR: out of memory" on 32 GB, Master->Release C++ config fixed it. Unity docs (6000.3 linux-il2cpp-crosscompiler): toolchain package 462 MB (Linux), 2 GB each Win/mac host. Image pulls are 5-6 GB compressed each (above); a single image holds one module set (no combined image unless built with `game-ci build-unity-image`).
-- gVisor/rootless: ZERO reports found of Unity Editor under gVisor/runsc (searches 2x). Yggdrasil runner facts from the runbook (F:\Projects\gamecult-ops\runbooks\forgejo-eureka-yggdrasil.md lines 29-45, 85-105): runsc with `--ignore-cgroups`, ENFORCED cap MemoryMax=4G via unit (no swap), CPUQuota 200%; "A 6 GB allocation was OOM-killed (exit 137) at the 4G cap"; gVisor reports host 16 CPUs/62 GB; capacity 1.
-- No reports found of unity-builder on Forgejo/Gitea Actions (searched).
-
-## 2. Unity licensing for CI
-- Unity 6000.3 manual (https://docs.unity.com/en-us/engine/6000.3/manual/get-started/install-and-upgrade/licenses-and-activation/managing-your-unity-license): command-line `-serial/-username/-password` (and `-returnlicense`) procedures "don't apply to Unity Personal. To activate a license for Unity Personal, log in to the Unity Hub." Headless/automated builds named as a use case for the Pro procedure. Named-user variant: `-serial -username -password` with serial omitted.
-- Unity Build Server terms (https://unity.com/legal/terms-of-service/build-server, "Last updated: June 30, 2026"): §2.5 "You may not use Unity Build Server with the Unity Personal tier of the Unity Software." §1.1: if Total Finances exceed $200,000 USD, Personal may not be used at all. Build Server = floating licence server product. Unity Licensing Server docs (https://docs.unity.com/en-us/licensing-server) don't state eligible tiers on fetched page (Requirements page not read).
-- GameCI Personal path (https://game.ci/docs/github/activation): activate in Unity Hub locally, copy the `.ulf` to secret `UNITY_LICENSE` + `UNITY_EMAIL`/`UNITY_PASSWORD`; Pro: `UNITY_SERIAL`+email+password; floating: `unityLicensingServer`. Docs say licences are not tied to a Unity version/platform; .ulf can be generated on one OS and used on another. Page does not mention Unity 6.
-- Status of alf->ulf web activation (game-ci/documentation#408, open, updated 2026-10-04): https://license.unity3d.com/manual flow for Personal intermittently works (hidden "option-personal" element trick; "less than $100k" option); reports 2025-06..2025-11 "works", 2026-03-30 "web method expired with error", 2026-10-04 "workaround doesn't work anymore" vs another user succeeded same day. Alternative in thread (2025-08-21 GabLeRoux): create the .ulf via Unity Hub (not the website). A 2026-04-23 comment describes extracting a serial from the Hub-made .ulf and passing it with -username/-password (unverified). Also game-ci/unity-test-runner#235 (closed dup; 2026-04-29 comment "Confirmed the workaround above still works today").
-- Unity forum (Aug 2023) "Unity no longer supports manual activation of Personal licenses": no Unity staff reply. Codemagic help (updated Jun 2026, secondary) says Plus/Pro needed for CI.
-- I did not find the current Unity Terms of Service text on Personal + automated builds beyond the Build Server terms above.
-
-## 3. Forgejo Actions / releases
-- forgejo-runner Windows: official releases are linux-amd64/arm64 only (https://code.forgejo.org/api/v1/repos/forgejo/runner/releases, v13.2.1 2026-10-29). README: "supported and tested on amd64 and arm64" on Linux-kernel OSes. Windows: community builds only (github.com/Crown0815/Forgejo-runner-windows-builder; runner issues #263, #976, #1032 fixed compile via PR 987, #1441 open "How to keep the Windows built stable"; maintainers (earl-warren, #263) decline to test/support Windows). Host label syntax `self-hosted:host` documented at https://forgejo.org/docs/latest/admin/actions/configuration/ ("no isolation at all"); docs don't mention Windows. A third-party fork (forge.yumechi.jp yume-runner) ships a pwsh host-mode sample (unverified).
-- Release API: `/repos/{owner}/{repo}/releases` and `/releases/{id}/assets` (https://forgejo.org/docs/latest/user/repository/releases/). Official action `actions/forgejo-release` (https://code.forgejo.org/actions/forgejo-release): inputs url, repo, tag, title, sha, token (needs write:repository), release-dir, release-notes(-file), prerelease, override, direction upload/download, gpg signing.
-- Limits on THIS forge (https://eureka.gamecult.org/forge/api/v1/settings/attachment, version 16.0.3+gitea-1.22.0): release/attachment max_size 2048 MB per file, max_files 5 per upload, allowed_types default list incl .zip .gz .tgz .json .log .md .pdf .png ... (no .exe, .tar.xz, .7z, .AppImage, .msi). Config cheat sheet confirms `[repository.release]` ALLOWED_TYPES default list, MAX_SIZE 2048, MAX_FILES 5 (https://forgejo.org/docs/latest/admin/config-cheat-sheet/). Release-asset ALLOWED_TYPES is overridable by admin.
-- Push mirror: docs say it mirrors "branches, tags, and commits" (`git push --mirror`); releases not mentioned (https://forgejo.org/docs/latest/user/repo-mirror/). A third-party project (gitea.com/FrankenBit/release-toolkit) states releases are API objects that do not cross a push mirror; tags do. So releases do not propagate (consistent, not officially stated).
-- State of GameCult/Aetheria on the forge now: exists (id 60), `empty: true`, `mirror: false`, has_actions true, has_releases true, no releases/tags, default branch master.
-
-## 4. SemVer + changelog tooling
-| Tool | What decides bump | Forgejo/Gitea | Non-conventional history |
-|---|---|---|---|
-| release-please (googleapis) | Conventional Commit prefixes (feat=minor, fix=patch, !=major); `Release-As:` footer overrides. | GitHub-only; issue googleapis/release-please#2870 (opened 2026-08-06, open) asks for Forgejo/Gitea provider. | README: "assumes you are using Conventional Commit messages"; non-releasable commits produce no release PR; squash-merge `BEGIN_COMMIT_OVERRIDE` in PR body rewrites changelog lines. |
-| semantic-release 25.0.9 | commit-analyzer (angular preset default). | Default plugin is @semantic-release/github; Gitea publishers are third-party npm: @markwylde/semantic-release-gitea 2.2.0 (2025-12), @forge-for-gitea/semantic-release-gitea 1.2.0 (2025-09), @saithodev/... 2.1.0 (2021). Node tool. | Non-matching commits yield no release (standard behaviour; not verified from docs fetched). |
-| changesets | Hand-written changeset files declaring bump per package; no commit parsing. | CLI host-agnostic (git + files); changesets/action is GitHub-only (unverified); designed for npm/monorepos ("conceptually beneficial for single package repos"). | Unaffected by commit style. |
-| git-cliff | `--bump`/`--bumped-version` from commits: fix=patch, feat=minor, !=major; custom_major/minor_increment_regex; `[bump] features_always_bump_minor`, `breaking_always_bump_major`, `initial_tag`; `--bump major|minor|patch` explicit; tag_pattern. | Remote integrations: GitHub, GitLab, Gitea/Forgejo, Bitbucket, Azure DevOps (docs: website/docs/integration/gitea.md; configuration/remote.md). Rust single binary. Changelog only (does not publish releases). | `conventional_commits=false, filter_unconventional=false` includes any commit unparsed; `commit_parsers` regex on message groups arbitrary prose (e.g. `{message=".*", group="Other"}`); for unconventional commits only the subject line is used when bumping (docs usage/bump-version.md). |
-| knope 0.23.2 (2026-10-22) | Conventional commits and/or changeset files (`.changeset/*.md` style); can disable conventional commits via PrepareRelease. | Native Gitea support: `[gitea] owner/repo/host` (example host codeberg.org), `GITEA_TOKEN`, Gitea CreateRelease step, release assets test (crates/knope/tests/gitea_release/release_assets). | "Any commit without a first line structured like [type(scope)!: summary] isn't a conventional commit" (ignored for bump). |
-| cocogitto (cog) | `cog bump --auto` from Conventional Commits; hooks; `cog changelog` (tera templates). | README mentions only GitHub integration (action/bot); changelog `remote` templates (remote = "github.com" in example); Gitea unverified. | `cog check`/`cog commit` enforce convention; non-conforming handling not read. |
-| Release Drafter v7 | Pull-request labels/title via `version-resolver` (major/minor/patch labels) and autolabeler; drafts release notes from merged PRs. | README: package `release-drafter` has CLI/API "for other CI systems... supports GitHub, GitHub Enterprise Server, Gitea, Forgejo, and GitLab." Main use is GitHub Action. | Independent of commit style; depends on PRs/labels existing (Aetheria history is direct commits; PR usage unverified). |
-- Aetheria facts given: prose subjects, no Conventional Commits, v0.1 tag from 2020.
-
-### Game projects in practice (checked via release APIs)
-- Mindustry (Anuken/Mindustry): GitHub tags `v160.7`, `v160.6` (build-number versions, 2026-09/10), 4 assets per release (Mindustry.jar, server-release.jar, assets.jar, dependencies.jar), notes hand-written bullets.
-- OpenTTD: tags `16.0-beta5` (2026-10-24, prerelease, 0 attached assets on the GitHub release); release.yml workflow triggered by `release: published` / workflow_dispatch builds source, docs, Linux, etc.
-- Veloren (GitLab veloren/veloren): releases v0.18.0 (2026-01-23), v0.17.0 (2024-12-27), v0.16.0 (2024-03-31); plus moving tags `weekly` and `nightly` (updated 2026-10-27). FreeBSD ports track weekly as `s20260128`. CI file not read.
-- Godot: tags `4.7.2-stable`, `4.7-stable`; ~34 assets per release; hand-managed.
-- Unitystation (Unity, open source): GitHub releases stopped 2017; "Get latest release by using our launcher" (latest-release body).
-- None of these showed Conventional-Commit-driven bumps in what I read; not verified beyond release listings.
-
-## Unread / not done
-- Unity Licensing Server Requirements page; unity-builder issue tracker for 6000.3; Forgejo `release` event / GITHUB_TOKEN permissions in 16.0 Actions; cocogitto non-conventional behaviour; semantic-release/changesets docs on non-conventional input (stated from knowledge, marked unverified above).
diff --git a/docs/settings-globals-cut.md b/docs/settings-globals-cut.md
index f1b2e0582..b031ba4bf 100644
--- a/docs/settings-globals-cut.md
+++ b/docs/settings-globals-cut.md
@@ -495,9 +495,8 @@ landed type differs from it by the one attribute.
(the helper) [2 now].
- `rg -n "ScriptableObject" Assets/Scripts/ServerShared` must stay 0.
- operator:
- - Play smoke: main menu, then New Game, then the Tutorial Galaxy scenario (listed under
- development, in editor and development builds). The prelude galaxy generates, and the
- starting ship is `Settings.StartingHullName` (`Longinus`).
+ - Play smoke: main menu, then New Game (tutorial). The tutorial galaxy generates,
+ and the starting ship is LonginusX.
- In a station trade menu and the properties panel, item names show tier colours:
Legendary orange, Uncommon green. None is black.
- The inventory shows armour and durability gradients, and hit flashes use the
diff --git a/docs/ship-concept-batch.md b/docs/ship-concept-batch.md
deleted file mode 100644
index efef39dd7..000000000
--- a/docs/ship-concept-batch.md
+++ /dev/null
@@ -1,182 +0,0 @@
-# Ship concept batch: brief
-
-**Value:** a reproducible way to turn the lore's faction looks and the hull data's size limits into a few dozen Klein concept images, sifted by human votes.
-**Entry points:** the mill's file contract (section 1), the Raven call (section 2), the prompt template (section 4), batch 1 (section 6), the sift plan (section 7).
-**Status:** a plan. No image has been generated, Raven was not called, and `raven-image` was not yet installed on Yggdrasil when this was written (root install pending, `gamecult-ops` 3fdcf02).
-
-All images this batch makes are **concept art only until a human has reviewed them** (section 8). Nothing here is canon: the lore pages it draws on are labelled brainstorming (`AetheriaLore` `Brainstorming/Ship Design Language.md`).
-
-Sources: AetheriaLore `main` 14d827ca (`scripts/concept-mill/`, `Aetheria/media/concept-mill/`, `Aetheria/Brainstorming/`), Aetheria `master` c33feebde (`docs/content-batch-one.md`, `Assets/Scripts/ServerShared/Enums.cs`), gamecult-ops `tools/raven-image/README.md` (3fdcf02).
-
-## 1. What the existing Concept Mill emits
-
-The mill is in AetheriaLore, not Aetheria. It is a build script plus a hand-edited data file; it never calls an image model. Renders come from outside (so far the BFL `flux-3-image` API, operated by hand) and are ingested.
-
-**Input, per render** (not in the repo; default root `Aetheria/Brainstorming/Renders/`, `--renders ` overrides): `.png` and `.md`. The `.md` is the render record:
-
-```
-#
-## Hypothesis what this render tests
-## What changed delta from the previous round
-## Agent verdict (rounds 4-5 call it "Agent observation")
-## Render record Model, Parameters, Request id, Date, Composition (bullets)
-## Prompt the full composed prompt, blocks separated by blank lines
-```
-
-**Source of truth:** `scripts/concept-mill/ships.yaml`, hand-edited. `build.mjs` validates it and fails on a duplicate ship id, a duplicate variant id inside a ship, an unknown `status.kind`, a ship with no variants, more than one `pick`/`default` per ship, or a missing derivative file.
-
-Per **ship** (the unit the page and the vote use):
-
-| Field | Meaning |
-|---|---|
-| `id` | slug, unique; the URL hash `#/` and the vote key |
-| `name`, `code`, `faction`, `role`, `desig` | display; `desig` is e.g. `Bench 1 · entry B · safe bet` |
-| `crew`, `mass` | strings (`mass` is `Small (per prompt)` or `TBD`) |
-| `hardpoints` | rows `[qty, size, mount-text]` (size: `Small`, `Medium`, `Utility`, `Sensor`, `Built-in`) |
-| `loadout` | list of strings |
-| `concept`, `notes`, `beaten` | readout prose: what it is for, design note, what counters it |
-| `status` | `{kind: pass\|new\|scrap, stamp, verdict}`; `stamp`/`verdict` carry only the operator's word, or say she has not given one. `kind` places the ship in the menu: Kept / Unreviewed / Scrap bin |
-
-Per **variant** (one render): `id`, `round` (display label), `image` (derivative basename), `prompt` (record basename, defaults to `image`), optional `source` (render basename to ingest from), `hypothesis`, `verdict`, `operator` (verbatim operator verdict), `pick: true` or `default: true` (at most one per ship). Hypothesis and verdict default to the record's `## Hypothesis` and `## Agent verdict` sections.
-
-**Output, per variant** (committed, in `Aetheria/media/concept-mill/`):
-
-- `.webp`: PNG resized to 1600 px wide, quality 82
-- `-thumb.webp`: 720 px wide, quality 72
-- `prompts/.txt`: a byte copy of the render's `.md` record
-
-**Output, manifest:** `site/quartz/components/data/conceptMill.json`: `{sections: [{kind, title}], votes: {enabled, endpoint, bifrostUrl}, ships: [...]}`. Each ship is its `ships.yaml` row with `crew` stringified, `hardpoints` as `{qty, size, mount}` objects, and `variants: [{id, round, image, thumb, prompt, hypothesis, verdict, operator, pick}]` where the three paths are URLs under `/media/concept-mill/`; plus `defaultVariant` (the pick/default variant, else the last). Ships are ordered by section, then faction in first-seen order, then file order. Today: 27 ships, 48 variants.
-
-**Provenance the mill keeps today:** whatever the `.md` record holds, shown as a downloadable text file. It has no machine-readable provenance fields, no seed, no hash, no licence or review state; the BFL endpoint offered no seed. Section 5 adds them.
-
-**Vote slot (what Heimdall's Bifrost page meets):** hidden until `votes.enabled` and `votes.endpoint` are set in `ships.yaml`. The page does `GET ` (no credentials) and expects JSON `{ "": {up, down, members?: {up, down}} }`, and links `/` ("Vote on Bifrost"). **Votes are per ship, not per variant.** A sift that must rank several seeds of one concept needs either one ship row per seed or a variant-keyed tally; the second is a change to `aetheriaConceptMill.inline.ts`. This batch uses the first (section 5), so no mill change is needed.
-
-## 2. What the Raven client needs
-
-`raven-image` (gamecult-ops `tools/raven-image`, one stdlib Python file plus `graphs/flux3-klein.json`):
-
-- **Where it runs:** Yggdrasil only. The service is `http://10.77.0.4:8190` (`RAVEN_URL` overrides). Install is root's (`/opt/commons/opt/raven-image/`, symlink in `/opt/commons/bin/`); until then a caller can run the file from a checkout of 3fdcf02.
-- **Call:** `raven-image "" --size 1536x1024 --seed [--no-enhance] -o .png`. Prints one line per image: `path seed size seconds`. `-n` makes several images (`out-1.png`, ...); this batch passes explicit seeds, so one call per image.
-- **Exit codes:** 0 ok; **75** Raven busy or off (no retry; the caller decides when to ask again); 1 for a rejected graph, failed render or timeout (900 s wait per image).
-- **Cost:** about 45 s warm, 81 s cold, per 1536x1024 image (README check run). Raven is Deru's desktop: small batches, one client at a time.
-- **What it leaves to the caller:** it prints the seed and, per the brief, the prompt; it writes only the PNG. It writes **no sidecar**, so the batch driver must write the record (section 5). The upsampler (on by default) rewrites the prompt; the record must keep both what we sent and what the printed prompt says Klein received, or use `--no-enhance`.
-- **Driver needs:** a list of `(concept id, seed, size, prompt file)`; skip-if-PNG-exists so exit 75 resumes cleanly; stop the whole run on the first 75.
-
-## 3. Proposal constraints from lore and hull data
-
-**Hull classes.** `HullType` has only `Ship`, `Station`, `Turret` (`Enums.cs:139`). Lore and code define no size class for ships. The labels Light, Medium and Heavy below are **this batch's**, from the shipped hulls' schematic grids (cells, 2.0 m per cell, `hull_grid.py:11`; maximum 32 cells a side):
-
-| Batch class | Grid (cells, width x length) | Hull precedent | Approx. size |
-|---|---|---|---|
-| Light | up to 8 x 18 | Longinus 6x17, Turret 8x8 | 12-16 m wide, up to ~36 m long |
-| Medium | 10-12 x 12-19 | Smoke Test Hull 10x19, Zenith 12x12 | 20-24 m wide |
-| Heavy | 7 x 16 at 4200 mass, or 14+ wide | Noka MKI spec 7x16 (`content-batch-one.md` section 2), Djinni 14x17 | 28 m+ |
-
-The shipped hull grids are from `GameData/Aetheria.cc` as decoded in `/opt/commons/handoff/aetheria-ship-brief-for-brokkr-20261110.md`. No metre size, crew count or calibre is canon; prompts must not state metres.
-
-**Hardpoints.** Types: Energy, Ballistic, Launcher, Sensors, Thruster, Radiator, Shield, Reactor, ControlModule (+Hull, Tool, Thermal, WarpDrive). Only weapons (Energy, Ballistic, Launcher), Thruster and Radiator have a visible mount on the model; Reactor, Shield, Sensors, ControlModule are internal (`ShipAuthoring.cs`). Spec precedent for a heavy: 2 Ballistic 2x2, 1 Launcher 1x3, 1 Sensors 1x1 visible-ish, 2 Thruster, 2 Radiator, 2 Shield. For concept prompts: **at most four counted features, each with a location** (Faction Ship Concept Prompts guideline 4). Thrusters and radiators are left out of prompts: the operator places them (Ship Design Language).
-
-**Silhouettes** are the faction blocks in `Ship Design Language.md` (twelve are used here) and, where later rounds shortened them to livery and register, the `r8` records in `Aetheria/media/concept-mill/prompts/`. Rules the prompts keep: one analogy that places the parts; thick, closed, mirror-symmetric; matte; no wings, fins, wheels or tracks (vacuum hull); no real people, no political symbols.
-
-## 4. Prompt templates
-
-Composition follows the mill's latest practice (records `oboz-r8f`, global block **G3**): blocks separated by a blank line, in this order:
-
-1. **Ship prompt** (below), most specific, first.
-2. **Faction livery block**: the faction's block from `Ship Design Language.md`, cut to palette, finish and markings (the r8 Zhestokost block is the model).
-3. **Global block G3**: the text in `prompts/oboz-r8f.txt` (third paragraph), copied unchanged. It is not restated here; copying it into this doc would make a second copy.
-4. **Frame clause**, verbatim: *One complete ship, centered with clear margin around it, three-quarter front view from slightly above showing the dorsal surface and one side; moderate lens; plain seamless light gray background; soft key light with gentle form shadows; matte finishes throughout.*
-
-**Ship prompt template:**
-
-> Design the {name}, a {crew}-crew {faction} {role}. Its whole body follows {analogy}: one {mass-adjective} cast body, mirror-symmetric along its long axis. {feature 1 with location}. {feature 2 with location}. {feature 3 with location}. The cockpit is {cockpit form and location}. {class cue: proportion only, never metres}.
-
-Slots are filled from the batch table (section 6): `analogy` is the "hook" column, features come from the "visible" column, class cue is one of: *light: long and narrow, about three times as long as wide*; *medium: compact and square-shouldered, about one and a half times as long as wide*; *heavy: broad and low, a little over twice as long as wide* (7x16 is 2.3:1). Names are working titles; the mill's `name` is set when a concept is kept.
-
-**Variation axes** (one varied per sibling, never several): analogy (safe bet vs moonshot, as the Ship Prompt Bench labels them); feature placement; class cue. Mirror the bench's `Safe bet` / `Moonshot` label in `desig`.
-
-## 5. Seed policy and record
-
-- **Seeds are derived, not picked:** `seed(concept, k) = first 4 bytes (big-endian) of sha256(":")`, for `k = 0..3`. Nobody chooses a lucky seed; anyone can regenerate. Raven's random default is never used.
-- **One mill ship row per rendered seed:** ship id `-s`, so Bifrost's per-ship tally ranks seeds with no mill change. (A later page change can fold them into variants of one ship.)
-- **A seed does not carry across sizes.** The same seed at a different resolution makes a different image. So a hi-res re-render of a sifted winner is a **new image** with `parent: `, not a larger copy of it.
-- **Upsampler off for the sift** (`--no-enhance`): the composed prompts are already full captions (about 450-550 words), and with it off the image is a function of (prompt, seed, size, graph). Not yet probed: whether Klein's text encoder truncates a prompt this long; the first render pair must answer it before the batch runs (cost: two images).
-- **Record per image** (one `.md` sidecar in the mill's existing record format, so `build.mjs` ingests it unchanged), with the **Render record** bullets:
-
-```
-- Model: FLUX.3 Klein distilled (ComfyUI graph flux3-klein.json, sha256 ), via raven-image
-- Parameters: size 1536x1024 | 768x512, seed , steps/cfg/sampler as in the graph (16, 1, euler/simple), upsampler off|on
-- Seed derivation: sha256(":")
-- Date: ; made by run
-- Parent:
-- Composition: ship prompt, faction livery block (), global block G3 (), frame clause
-- Upsampled prompt as printed by the client:
-- Review: UNREVIEWED concept-only; reviewer and date when a human has looked
-- Licence: FLUX Kommunity License v.1.0; outputs are concept art until the legal root rules (gamecult-ops tools/raven-image/README.md); no training on outputs
-```
-
- `status.stamp` in `ships.yaml` stays `UNREVIEWED` and `verdict` says the operator has not given one, per the file header.
-
-## 6. Batch 1: 36 concepts
-
-Twelve factions (Zhestokost, Alakrita, Aeronautics Unlimited, Finch Cybernetics, Rossum & Douglas, NiteLife Energy, Lightsail Express, Cetacean Navigators, Cryonix, Sol Dominion, Adrasteia, Death Monkey Explosives), three classes each. Chosen because each has a full block in `Ship Design Language.md`. Roles are **proposals** drawn from the mill's existing roster and the faction blocks, not from Faction Play (not read for this pass); the Noka MKI row is the content-batch spec's hull. `id` is `-`; the ship id of a render is `-s`.
-
-| id | Faction | Class | Role | Anatomy hook | Visible features (location) |
-|---|---|---|---|---|---|
-| zh-l | Zhestokost | L | column picket | cast-iron stove, narrowed | 1 short gun in a box turret (bow); 1 sensor block (dorsal); magazine hatch (flank) |
-| zh-m | Zhestokost | M | line gunship | forklift | 2 box turrets (shoulders); magazine hatches (dorsal rows); tow lug (stern) |
-| zh-h | Zhestokost | H | Noka MKI heavy | armored fist, one centerline cannon | 1 centerline cannon (bow); 2 smaller guns (shoulders); 1 launcher bank (dorsal) |
-| alk-l | Alakrita | L | duel interceptor | racing scull | 2 lasers (hood edges); crease lines (full length) |
-| alk-m | Alakrita | M | raid cutter | closed folding fan | 2 forward guns; fin stack (stern); gold inlay |
-| alk-h | Alakrita | H | patron's heavy escort | folded fan, broadened | 3 guns (prow row); laurel plaque (cockpit) |
-| au-l | Aeronautics Unlimited | L | swarm skirmisher | bison hump | rocket pod (hump face); gun (forward); sensor dome (dorsal) |
-| au-m | Aeronautics Unlimited | M | tool gunboat | compact excavator | tool socket (bow); 2 guns (shoulders); module bays (flank) |
-| au-h | Aeronautics Unlimited | H | frontier monitor | pack mule | 2 module bays; launcher (dorsal); survey mast |
-| fin-l | Finch Cybernetics | L | tracker | bird skull | ear dish (flank); lens row (brow); 1 gun (chin) |
-| fin-m | Finch Cybernetics | M | relay picket | diving bird, folded | 2 dishes (flanks); 2 guns (shoulders) |
-| fin-h | Finch Cybernetics | H | sensor cruiser | prosthetic joint | 3 dishes; 1 gun battery (bow) |
-| rd-l | Rossum & Douglas | L | wedge interceptor | flying wedge | 2 guns (nose); flush hatches (dorsal) |
-| rd-m | Rossum & Douglas | M | MIRV picket | wedge, thickened | missile hatches (dorsal plane x4); sensor (nose) |
-| rd-h | Rossum & Douglas | H | missile barge | wedge, widest | missile hatches (x4); 2 guns (shoulders) |
-| nl-l | NiteLife Energy | L | station guard | espresso machine | cartridge (flank); 1 gun (bow); release catch (cartridge) |
-| nl-m | NiteLife Energy | M | cartridge gunship | smart speaker | cartridge (dorsal); 2 guns (flanks) |
-| nl-h | NiteLife Energy | H | station monitor | appliance, scaled | cartridge (rear); 3 guns (forward) |
-| ls-l | Lightsail Express | L | courier | long-haul cab | cab; 1 clamp rail (spine); 1 gun (cab roof) |
-| ls-m | Lightsail Express | M | armed hauler | truck and trailer, fused | 2 containers; 2 guns (cab); clamps (spine) |
-| ls-h | Lightsail Express | H | convoy tug | road train, fused | 3 containers; docking collar (stern); 2 guns |
-| cet-l | Cetacean Navigators | L | corridor escort | dolphin flanks | 2 lobes; 1 gun (boom); amber locks |
-| cet-m | Cetacean Navigators | M | recovery tug | beluga back | 2 lobes; tow points (stern); 1 gun |
-| cet-h | Cetacean Navigators | H | rescue carrier | whale decks | 2 lobes; transfer locks (ridge); 2 guns |
-| cry-l | Cryonix | L | cold sniper | spruce cone | folded emitters (flank); 1 long gun (bow) |
-| cry-m | Cryonix | M | heat-sink skirmisher | vacuum flask | folded emitters; 2 guns (waist) |
-| cry-h | Cryonix | H | long-range heavy | closed cone, large | folded emitter scales; 1 long gun (bow) |
-| sol-l | Sol Dominion | L | interdiction cutter | cast-iron flatiron | sensor plane (dorsal); 2 disablers (shoulders) |
-| sol-m | Sol Dominion | M | patrol cutter | hammerhead | hammer sensor plane; 2 disablers (tips) |
-| sol-h | Sol Dominion | H | registry cruiser | stamp handle | module bands; 3 disablers (bow) |
-| adr-l | Adrasteia | L | deniable courier | flatfish | 1 gun, recessed (nose); 1 cut facet (camera side) |
-| adr-m | Adrasteia | M | cold smuggler | cut gemstone, flat | 1 sensor (recessed); cargo collar (belly) |
-| adr-h | Adrasteia | H | quiet gunship | stingray | 2 guns (recessed); asymmetric facet |
-| dme-l | Death Monkey Explosives | L | charge runner | toolbox | charge feed (dorsal); 1 spike (bow) |
-| dme-m | Death Monkey Explosives | M | infrastructure breaker | demolition frame | 2 spikes; detachable charge section (belly) |
-| dme-h | Death Monkey Explosives | H | demolition barge | amp stack | 4 charge bays; 2 braces |
-
-Hooks are drawn from the faction blocks and the bench where they exist (Zhestokost, Alakrita, AU, Finch, R&D, NiteLife, Lightsail, Cetacean, Cryonix, Sol Dominion, Adrasteia, DME entries) and are otherwise this brief's suggestions; the first batch is where they get tested. The guideline "one analogy per prompt" is kept: the hook column is the one analogy; the features are placements.
-
-**Count:** 36 concepts x 4 seeds = 144 low-res images.
-
-## 7. Sift plan
-
-1. **Probe (2 images, before anything else):** one concept at 768x512 with the upsampler off, one at 1536x1024, same prompt, to check that the long composed prompt is not truncated and that 768x512 is legible. If the low-res image is unreadable, sift at 1152x768 and update the cost.
-2. **Stage 1, low-res:** 144 images at 768x512, upsampler off, seeds from section 5. Cost is not measured; if time scales with pixels it is about a quarter of 45 s, so about 12-15 s each and roughly 35 minutes in all. Run in chunks of 12 so exit 75 loses little, one client at a time, driver stops at the first 75.
-3. **Ingest** as `-s` ships (status `new`, `UNREVIEWED`), through `build.mjs` from a renders root of PNG plus record. Votes: `up`/`down` per ship on Bifrost.
-4. **Cull by vote:** per concept, keep the seed with the most net up votes; a concept with no net-positive seed is dropped. A human looks at the kept images before anything is re-rendered; a Mind's reading of a thumbnail is not a review.
-5. **Stage 2, hi-res:** re-render each kept concept at 1536x1024, same prompt, 2 new seeds (`k = 4, 5`), `parent` set to the winning low-res image. About 36 x 2 x 45 s = 54 minutes at most.
-6. **Review:** an operator verdict moves a ship out of `new`; only her word sets `pass` or `scrap` (ships.yaml header).
-
-## 8. Rules for these images
-
-- **Concept-only until human-reviewed.** Klein outputs are not shipped assets; the licence question (revenue line, affiliates, what concept art feeding a shipped product counts as) is open with whoever holds the legal root (`tools/raven-image/README.md`, "Licence: concept art only until ruled").
-- **How each image was made is recorded** per section 5, one record per image, committed with the image.
-- **No training on outputs**, nor on anything derived from them (FLUX licence 4.b).
-- No likenesses of real people (licence 4.a); no political symbols (lore).
-- Nothing in this batch calls Raven until the driver, the probe in section 7 and the install are done.
diff --git a/docs/tutorial-script-sketch.md b/docs/tutorial-script-sketch.md
index 3fcbbebb6..7e9233988 100644
--- a/docs/tutorial-script-sketch.md
+++ b/docs/tutorial-script-sketch.md
@@ -16,7 +16,7 @@ Status: sketch for the operator to react to. Nothing here is built or canon.
## Shape
-One contained tutorial run in a small prelude galaxy (`Galaxy.IsPrelude`,
+One contained tutorial run in a small prelude galaxy (`IsTutorial`,
`TutorialGenerationSettings`). The player is a newly incorporated subsidiary of the
protagonist faction. Threefra, a debt-born assessor with opinions, walks them through a
"qualification module" whose checklist is theatre. The real test is how the player
diff --git a/tests/Aetheria.Shared.Tests/AmmunitionStockingTests.cs b/tests/Aetheria.Shared.Tests/AmmunitionStockingTests.cs
deleted file mode 100644
index dfdb9d040..000000000
--- a/tests/Aetheria.Shared.Tests/AmmunitionStockingTests.cs
+++ /dev/null
@@ -1,202 +0,0 @@
-using System.Collections.Generic;
-using System.Linq;
-using static CultMath.math;
-using Xunit;
-
-// Ruling ballistics-real-ammo: generation stocks combatants with rounds, because a magazine weapon reloads from cargo and a ship with
-// no crates fires one magazine and goes quiet. Measured on ships the production generator returns, over the shipped catalog.
-public sealed partial class RunStartTests
-{
- // Every generated ship whose weapons draw an ammunition type carries crates of each such type; a ship whose weapons draw none
- // carries none of an ammunition commodity it does not draw. Kills: generation that stocks nothing (every NPC gun dies after one magazine),
- // that stocks only one of several types, or that stocks ships with no use for them.
- [Fact]
- public void GeneratedShipsCarryTheAmmunitionTheirWeaponsDraw()
- {
- var generator = new LoadoutGenerator(ref _items.Random, _items, _galaxy, _galaxy.Entrance, _protagonist, .5f);
- var shipHulls = LoadoutGenerator.SoldHulls(_cache).Where(h => h.HullType == HullType.Ship).Select(h => h.Name).ToList();
- var ammunition = _cache.GetAll().SelectMany(i => i.Behaviors.OfType()).Where(w => w.AmmoType.IsSet())
- .Select(w => w.AmmoType.Key).Distinct().ToArray();
- Assert.NotEmpty(ammunition);
- var fed = 0;
- foreach (var name in shipHulls)
- for (var i = 0; i < 12; i++)
- {
- var pack = generator.GenerateShipLoadout(h => h.Name == name);
- if (pack == null) continue;
- var ship = EntitySerializer.Unpack(_items, null, pack);
- var drawn = ship.Weapons.Select(w => w.WeaponData.AmmoType).Where(t => t.IsSet()).Select(t => t.Key).Distinct().ToArray();
- foreach (var key in drawn)
- {
- Assert.True(ship.CountItemsInCargo(key) > 0, $"{name}: a weapon draws {key.Value} and the hold has none");
- Assert.Equal(LoadoutGenerator.AmmunitionCrates, ship.CountItemsInCargo(key));
- }
- foreach (var key in ammunition.Except(drawn))
- Assert.True(ship.CountItemsInCargo(key) == 0, $"{name}: no weapon draws {key.Value} and the hold carries it");
- if (drawn.Length > 0) fed++;
- }
- Assert.True(fed > 0, "fixture: some generated ship carries an ammunition-fed weapon");
- }
-
- // A generated turret reloads from its own hold like a ship: every ammunition type its weapons draw has crates in it. Kills: a turret
- // path that skips StockAmmunition, which leaves an ammo-fed turret quiet after one magazine.
- [Fact]
- public void GeneratedTurretsCarryTheAmmunitionTheirWeaponsDraw()
- {
- var generator = new LoadoutGenerator(ref _items.Random, _items, _galaxy, _galaxy.Entrance, _protagonist, .5f);
- var fed = 0;
- for (var i = 0; i < 60; i++)
- {
- var turret = EntitySerializer.Unpack(_items, null, generator.GenerateTurretLoadout());
- foreach (var key in turret.Weapons.Select(w => w.WeaponData.AmmoType).Where(t => t.IsSet()).Select(t => t.Key).Distinct())
- {
- fed++;
- Assert.Equal(LoadoutGenerator.AmmunitionCrates, turret.CountItemsInCargo(key));
- }
- }
- Assert.True(fed > 0, "fixture: some generated turret carries an ammunition-fed weapon");
- }
-
- private static int[] FedTypesStocked(Entity ship, out int fed)
- {
- var keys = ship.Weapons.Select(w => w.WeaponData.AmmoType).Where(t => t.IsSet()).Select(t => t.Key).Distinct().ToArray();
- fed = keys.Length;
- return keys.Select(key => ship.CountItemsInCargo(key)).ToArray();
- }
-
- // A test hull, a one-cell ammunition-fed gun (a magazine of none, so the single-round rule is in play) and a bay,
- // in the shared catalog: the smallest authored ship that can carry crates.
- private (string Hull, (string, CultMath.int2, ItemRotation)[] Slots) FedFit(bool bay)
- {
- var shape = new Shape(7, 7);
- foreach (var cell in shape.AllCoordinates) shape[cell] = true;
- var hullData = new HullData { Name = "Fed Hull", HullType = HullType.Ship, Shape = shape, Durability = 10, Mass = 100 };
- _cache.Upsert(hullData);
- var rounds = _cache.Upsert(new SimpleCommodityData { Name = "Fed Rounds", Shape = new Shape(), Price = 1, MaxStack = 100 });
- _cache.Upsert(new WeaponItemData
- {
- Name = "Fed Gun", Hardpoint = HardpointType.Tool, Shape = new Shape(), Durability = 1,
- Behaviors = { new InstantWeaponData { AmmoType = rounds, MagazineSize = 0 } }
- });
- _cache.Upsert(new WeaponItemData
- {
- Name = "Plain Gun", Hardpoint = HardpointType.Tool, Shape = new Shape(), Durability = 1,
- Behaviors = { new InstantWeaponData { MagazineSize = 0 } }
- });
- var interior = new Shape(4, 4);
- foreach (var cell in interior.AllCoordinates) interior[cell] = true;
- _cache.Upsert(new CargoBayData { Name = "Fed Bay", Shape = new Shape(), InteriorShape = interior, Price = 20, Durability = 4 });
- var slots = new List<(string, CultMath.int2, ItemRotation)> { ("Fed Gun", int2(3, 3), ItemRotation.None) };
- if (bay) slots.Add(("Fed Bay", int2(4, 3), ItemRotation.None));
- return ("Fed Hull", slots.ToArray());
- }
-
- // A ship a scenario fits slot by slot (stage.Fit, no generator) that carries a bay and an ammunition-fed weapon ends with the crates that
- // weapon draws, and its own Reserve reads them. Kills: Materialize returning the entity unstocked (the authored ship fires one magazine).
- [Fact]
- public void AScenarioFitWithAFedWeaponAndABayCarriesItsCrates()
- {
- var (hull, slots) = FedFit(bay: true);
- var (_, _, staged, failures) = Launch(new Scripted(false, stage => stage.Player(stage.Fit(hull, slots), float2(0, 0))), Inputs(() => GalaxySeed));
- Assert.True(failures.Count == 0, string.Join("; ", failures));
- var weapon = Assert.Single(staged.Player.Weapons);
- Assert.True(weapon.WeaponData.AmmoType.IsSet(), "fixture: the gun draws ammunition");
- Assert.Equal(LoadoutGenerator.AmmunitionCrates, weapon.Reserve);
- }
-
- // The Loadout path with the DEFAULT stocking argument (what the boss in ZoneGenerator and the console `fly` call): a ship built from a
- // Loadout holds the crates its fed weapon draws, and one whose only weapon draws nothing holds none. Kills: Materialize
- // dropping its default StockAmmunition (every Loadout-built armed ship fires one magazine).
- [Theory]
- [InlineData("Fed Gun", LoadoutGenerator.AmmunitionCrates)]
- [InlineData("Plain Gun", 0)]
- public void ALoadoutBuiltShipIsStockedByDefaultWithWhatItsWeaponsDraw(string gun, int crates)
- {
- var (hull, _) = FedFit(bay: true);
- EquippableItemData Design(string name) => _cache.GetAll().Single(item => item.Name == name);
- var loadout = new Loadout { Name = "default stock", Hull = _cache.RefOf(_cache.GetAll().Single(h => h.Name == hull)), WeaponGroups = new int[0][] };
- loadout.Slots.Add(new LoadoutSlot { Position = int2(3, 3), Rotation = ItemRotation.None, Design = _cache.RefOf(Design(gun)) });
- loadout.Slots.Add(new LoadoutSlot { Position = int2(4, 3), Rotation = ItemRotation.None, Design = _cache.RefOf(Design("Fed Bay")) });
- var failures = new List();
- var ship = Loadouts.Materialize(_items, null, loadout, _ => null, failures);
- Assert.True(failures.Count == 0, string.Join("; ", failures));
- var weapon = Assert.Single(ship.Weapons);
- Assert.Equal(gun == "Fed Gun", weapon.WeaponData.AmmoType.IsSet());
- Assert.Equal(crates, ship.CargoBays.Sum(bay => bay.Cargo.Keys.OfType().Sum(c => c.Quantity)));
- }
-
- // A scenario that authors a fit's cargo (stage.Cargo) gets exactly that cargo: its author named what the hold holds, so no crates are added.
- // Kills: stocking that ignores authored cargo and puts missiles into a scenario whose check counts what the hold carries.
- [Fact]
- public void AScenarioFitWhoseCargoIsAuthoredIsNotStocked()
- {
- var (hull, slots) = FedFit(bay: true);
- var (_, _, staged, failures) = Launch(new Scripted(false, stage =>
- stage.Cargo(stage.Player(stage.Fit(hull, slots), float2(0, 0)), "Fed Gun")), Inputs(() => GalaxySeed));
- Assert.True(failures.Count == 0, string.Join("; ", failures));
- Assert.Equal(0, Assert.Single(staged.Player.Weapons).Reserve);
- }
-
- // With no hold to put crates in there are none, and the fit still builds: stocking is bounded by what the ship can carry, never a failure.
- [Fact]
- public void AScenarioFitWithNoBayCarriesNoCratesAndStillBuilds()
- {
- var (hull, slots) = FedFit(bay: false);
- var (_, _, staged, failures) = Launch(new Scripted(false, stage => stage.Player(stage.Fit(hull, slots), float2(0, 0))), Inputs(() => GalaxySeed));
- Assert.True(failures.Count == 0, string.Join("; ", failures));
- Assert.Equal(0, Assert.Single(staged.Player.Weapons).Reserve);
- }
-
- // The new run's player ship (stage.Generated at the starting hull) and every ship the shipped main-galaxy scenario generates carry the crates
- // their weapons draw: nothing that reaches play with ammunition-fed weapons is left to one magazine.
- [Fact]
- public void ANewRunPlayerShipCarriesTheCratesItsWeaponsDraw()
- {
- var fed = 0;
- for (uint seed = GalaxySeed; seed < GalaxySeed + 8; seed++)
- {
- var (_, _, staged, failures) = Launch(new Scripted(false, stage => stage.Player(stage.Generated(stage.StartingHull), float2(0, 0)), seed),
- Inputs(() => seed));
- Assert.True(failures.Count == 0, string.Join("; ", failures));
- foreach (var count in FedTypesStocked(staged.Player, out var types))
- {
- Assert.Equal(LoadoutGenerator.AmmunitionCrates, count);
- fed += types;
- }
- }
- Assert.True(fed > 0, "fixture: some new-run player ship carries an ammunition-fed weapon");
- }
-
- // The HUD's ammunition label (Weapon.AmmoReadout): a magazine gun reads "magazine/reserve", a beam that names an AmmoType has no magazine (it
- // draws a crate per interval) and reads its reserve alone, a weapon that draws nothing reads empty. Kills: a label that prints the beam's
- // never-filled magazine as "0/N", or one that drops the magazine from a gun's.
- [Fact]
- public void TheAmmoLabelShowsAMagazineOnlyForAWeaponThatHasOne()
- {
- var (hull, _) = FedFit(bay: true);
- var rounds = _cache.GetAll().Single(item => item.Name == "Fed Gun").Behaviors.OfType().Single().AmmoType;
- _cache.Upsert(new WeaponItemData
- {
- Name = "Fed Beam", Hardpoint = HardpointType.Tool, Shape = new Shape(), Durability = 1,
- Behaviors = { new ConstantWeaponData { AmmoType = rounds } }
- });
- EquippableItemData Design(string name) => _cache.GetAll().Single(item => item.Name == name);
- var loadout = new Loadout { Name = "label", Hull = _cache.RefOf(_cache.GetAll().Single(h => h.Name == hull)), WeaponGroups = new int[0][] };
- foreach (var (name, x) in new[] { ("Fed Gun", 3), ("Fed Beam", 2), ("Plain Gun", 1), ("Fed Bay", 4) })
- loadout.Slots.Add(new LoadoutSlot { Position = int2(x, 3), Rotation = ItemRotation.None, Design = _cache.RefOf(Design(name)) });
- var failures = new List();
- var ship = Loadouts.Materialize(_items, null, loadout, _ => null, failures);
- Assert.True(failures.Count == 0, string.Join("; ", failures));
-
- string Label(string name) => ship.Weapons.Single(weapon => _items.GetData(weapon.Item.EquippableItem).Name == name).AmmoReadout;
- var reserve = LoadoutGenerator.AmmunitionCrates;
- Assert.Equal(reserve.ToString(), Label("Fed Beam"));
- Assert.Equal($"{ship.Weapons.Single(w => _items.GetData(w.Item.EquippableItem).Name == "Fed Gun").Ammo}/{reserve}", Label("Fed Gun"));
- Assert.Equal("", Label("Plain Gun"));
- // The HUD shows the label (not the infinite-ammunition icon) exactly for the weapons that read something.
- bool Shown(string name) => ship.Weapons.Single(weapon => _items.GetData(weapon.Item.EquippableItem).Name == name).ShowsAmmoReadout;
- Assert.True(Shown("Fed Gun"));
- Assert.True(Shown("Fed Beam"));
- Assert.False(Shown("Plain Gun"));
- }
-}
diff --git a/tests/Aetheria.Shared.Tests/BrownoutTests.cs b/tests/Aetheria.Shared.Tests/BrownoutTests.cs
index 3ac400c56..95958170c 100644
--- a/tests/Aetheria.Shared.Tests/BrownoutTests.cs
+++ b/tests/Aetheria.Shared.Tests/BrownoutTests.cs
@@ -53,8 +53,7 @@ public sealed class BrownoutTests : IDisposable
{
DefaultEntitySettings = new EntitySettings(),
Tiers = new[] { new RarityTier { Name = "Common", Quality = .5f, Color = new float3(1, 1, 1) } },
- QualityPriceModifier = new ExponentialLerp(),
- ThrustScale = 1f // these pin a thruster's authored push, not the global flight tuning
+ QualityPriceModifier = new ExponentialLerp()
};
private static PerformanceStat Constant(float v) => new PerformanceStat { Min = v, Max = v };
diff --git a/tests/Aetheria.Shared.Tests/CoastingTests.cs b/tests/Aetheria.Shared.Tests/CoastingTests.cs
deleted file mode 100644
index 56b33151e..000000000
--- a/tests/Aetheria.Shared.Tests/CoastingTests.cs
+++ /dev/null
@@ -1,48 +0,0 @@
-using System;
-using CultMath;
-using Xunit;
-using static CultMath.math;
-using float3 = CultMath.float3;
-using Random = CultMath.Random;
-
-// The consumer's side of aetheria-gravity:ruling:no-drag-below-top-speed: a ship launched below its hull's top speed and
-// left alone keeps that speed, at the global thrust tuning the game ships with (GameplaySettings.ThrustScale 0.1) as well as
-// at the fixtures' 1. Reads only the ship's velocity after the zone steps: not Drag, DragScale or any field of the fix.
-// Kills: drag reintroduced below top speed, or any deceleration whose size depends on ThrustScale.
-public sealed class CoastingTests
-{
- private const float PlayThrustScale = .1f; // GameplaySettings.ThrustScale's default, the value play runs at
-
- private static float CoastedSpeed(float thrustScale, float launchSpeed, float seconds)
- {
- using var cache = RestoredHullsTests.OpenCatalog();
- var hull = cache.GetByName("Longinus");
- var settings = RestoredHullsTests.Settings();
- settings.ThrustScale = thrustScale;
- var items = new ItemManager(1u, cache, new ProvenanceLedger(), settings, _ => { });
- items.Random = new Random(1u);
- var random = new Random(1);
- var pack = new LoadoutGenerator(ref random, items, null, null, null, .5f).GenerateShipLoadout(candidate => candidate == hull);
- Assert.NotNull(pack);
- var zone = new Zone(items, new PlanetSettings(), new ZonePack(), new GalaxyZone { Name = "Test", Owner = null }, null);
- var ship = (Ship) EntitySerializer.Unpack(items, zone, pack);
- zone.Admit(ship, piloted: false);
- ship.Position = float3.zero;
- zone.Update(0f);
-
- ship.MovementDirection = float2(0, 0);
- ship.Velocity = float2(0, launchSpeed);
- for (var i = 0; i < (int) (seconds * 60); i++) zone.Update(1f / 60f);
- return length(ship.Velocity);
- }
-
- [Theory]
- [InlineData(PlayThrustScale)]
- [InlineData(1f)]
- public void AShipLaunchedBelowTopSpeedKeepsItsSpeed(float thrustScale)
- {
- const float launch = 50f; // Longinus's top speed is 100
- var speed = CoastedSpeed(thrustScale, launch, 10f);
- Assert.True(speed >= launch - .01f, $"ThrustScale {thrustScale}: launched at {launch}, coasting 10 s left it at {speed}");
- }
-}
diff --git a/tests/Aetheria.Shared.Tests/CommodityRecordsTests.cs b/tests/Aetheria.Shared.Tests/CommodityRecordsTests.cs
index b59885c26..2b2acfaa0 100644
--- a/tests/Aetheria.Shared.Tests/CommodityRecordsTests.cs
+++ b/tests/Aetheria.Shared.Tests/CommodityRecordsTests.cs
@@ -13,7 +13,7 @@ public sealed class CommodityRecordsTests
public void ShippedCatalogOpensWithTheRetiredKeysGone()
{
using var cache = RestoredHullsTests.OpenCatalog();
- Assert.Equal(24, cache.GetAll().Count());
+ Assert.Equal(22, cache.GetAll().Count());
Assert.Equal(63, cache.GetAll().Count());
Assert.Contains(cache.GetAll(), c => c.Name == "Ammo");
Assert.All(cache.GetAll(), c => Assert.False(string.IsNullOrEmpty(c.Name)));
diff --git a/tests/Aetheria.Shared.Tests/ConditionRatioTests.cs b/tests/Aetheria.Shared.Tests/ConditionRatioTests.cs
index 3e02965db..00d446384 100644
--- a/tests/Aetheria.Shared.Tests/ConditionRatioTests.cs
+++ b/tests/Aetheria.Shared.Tests/ConditionRatioTests.cs
@@ -28,8 +28,7 @@ public sealed class ConditionRatioTests : IDisposable
{
DefaultEntitySettings = new EntitySettings(),
Tiers = new[] { new RarityTier { Name = "Common", Quality = .5f, Color = new float3(1, 1, 1) } },
- QualityPriceModifier = new ExponentialLerp(),
- ThrustScale = 1f // these pin a thruster's authored push, not the global flight tuning
+ QualityPriceModifier = new ExponentialLerp()
};
private static PerformanceStat Constant(float v) => new PerformanceStat { Min = v, Max = v };
diff --git a/tests/Aetheria.Shared.Tests/CreditsTests.cs b/tests/Aetheria.Shared.Tests/CreditsTests.cs
deleted file mode 100644
index 9479e31e3..000000000
--- a/tests/Aetheria.Shared.Tests/CreditsTests.cs
+++ /dev/null
@@ -1,410 +0,0 @@
-using System;
-using System.IO;
-using System.Linq;
-using System.Text.RegularExpressions;
-using Xunit;
-
-namespace Aetheria.Shared.Tests
-{
- // The credits list against the repo's own licence files and the main menu that must reach it.
- public class CreditsTests
- {
- private static string Root()
- {
- var dir = new DirectoryInfo(AppContext.BaseDirectory);
- while (dir != null && !File.Exists(Path.Combine(dir.FullName, "Assets", "Scripts", "UI", "MainMenu.cs"))) dir = dir.Parent;
- return dir?.FullName ?? throw new InvalidOperationException("repo root not found");
- }
-
- private static string Read(string relative) => File.ReadAllText(Path.Combine(Root(), relative));
-
- private static System.Collections.Generic.IReadOnlyList Load() => Credits.All(Read(Credits.NounProjectFile));
-
- // A file under Assets that looks like a licence, attribution, notice, readme or sources list. Each one is either
- // credited (the credit names it as its LicenceFile) or reviewed below with the reason it is not.
- private static readonly Regex LicenceLike = new Regex(
- @"^(LICEN[CS]E|COPYING|NOTICE|README|SOURCES|_SOURCES|Attribution|UFL)|OFL", RegexOptions.IgnoreCase | RegexOptions.CultureInvariant);
-
- // Discovered files whose own text names no holder and no licence, so there is nothing true to credit. A new
- // licence-like file is not here until someone has read it and written the reason.
- private static readonly System.Collections.Generic.Dictionary ReviewedNotCredited = new System.Collections.Generic.Dictionary
- {
- ["Assets/Scripts/ServerShared/NIH/LinqFaster/readme.txt"] = "usage guide for LinqFaster; names no holder and no licence",
- ["Assets/Plugins/LowPoly_AsteroidsPack/README.pdf"] = "how to customise the asteroid pack; names no holder and no licence",
- ["Assets/Plugins/Celestial Body/Textures/_Sources.txt"] = "URLs of the source textures only; states no licence",
- };
-
- // Copyright lines found in source headers whose holder no credit shows, each with the reason; keyed like HeaderKeys.
- private static readonly System.Collections.Generic.Dictionary ReviewedHeaders = new System.Collections.Generic.Dictionary
- {
- ["microsoftopentechnologiesinc"] = "UniRx files derived from Rx.NET: the header names Microsoft Open Technologies and points at a License.txt that is not in the repo, so no licence is stated; decision owed",
- };
-
- // Source headers that credit someone ("Credit X", "Based on ...", a source URL) without stating a copyright holder or
- // a licence, so there is no true notice to show. Each is the exact line the file carries and the reason it is not a
- // credit; the test reads the file, so a line that moves or goes cannot leave a stale entry.
- private static readonly (string file, string line, string reason)[] ReviewedAttributionLines =
- {
- ("Assets/Shaders/StableFluids/Fluid.cs", "// https://github.com/keijiro/StableFluids", "names Keijiro's StableFluids as the source; states no holder and no licence"),
- ("Assets/Shaders/StableFluids/Fluid.shader", "// https://github.com/keijiro/StableFluids", "names Keijiro's StableFluids as the source; states no holder and no licence"),
- ("Assets/Shaders/StableFluids/Fluid.compute", "// Based on https://github.com/keijiro/StableFluids", "names Keijiro's StableFluids as the source; states no holder and no licence"),
- ("Assets/Plugins/Celestial Body/Scripts/Shaders/Includes/Triplanar.cginc", "// Based on: medium.com/@bgolus/normal-mapping-for-a-triplanar-shader-10bf39dca05a", "cites bgolus's article for the technique; states no holder and no licence"),
- ("Assets/Plugins/com.unity.uiextensions/Runtime/Scripts/Primitives/UILineTextureRenderer.cs", "/// Credit jonbro5556", "names a contributor; states no copyright and no licence"),
- ("Assets/Plugins/com.unity.uiextensions/Runtime/Scripts/Primitives/UILineRenderer.cs", "/// Credit jack.sydorenko, firagon", "names contributors; states no copyright and no licence"),
- ("Assets/Plugins/com.unity.uiextensions/Runtime/Scripts/Primitives/UILineRendererList.cs", "/// Credit jack.sydorenko, firagon", "names contributors; states no copyright and no licence"),
- ("Assets/Plugins/com.unity.uiextensions/Runtime/Scripts/Utilities/CableCurve.cs", "/// Credit Farfarer", "names a contributor; states no copyright and no licence"),
- ("Assets/Plugins/com.unity.uiextensions/Editor/BezierLineRendererEditor.cs", "///Credit Jason Horsburgh", "names a contributor; states no copyright and no licence"),
- };
-
- [Fact]
- public void ReviewedAttributionLinesAreStillInTheirFiles()
- {
- Assert.Equal(Array.Empty(), ReviewedAttributionLines
- .Where(entry => !File.Exists(Path.Combine(Root(), entry.file)) || !Read(entry.file).Replace("\r", "").Split('\n').Any(line => line.Trim('\uFEFF', ' ', '\t') == entry.line))
- .Select(entry => $"{entry.line} in {entry.file}").ToArray());
- Assert.All(ReviewedAttributionLines, entry => Assert.False(string.IsNullOrWhiteSpace(entry.reason)));
- }
-
- // Bundled works with no licence-like file at all, found by reading Assets. Their licences are not stated in the
- // repo, so they are not credited; each path must still exist, so this list cannot go stale unnoticed.
- private static readonly string[] UnlicensedWorks =
- {
- "Assets/Plugins/Ink",
- "Assets/Plugins/GPUTrail",
- "Assets/Plugins/com.unity.uiextensions",
- "Assets/Shaders/StableFluids",
- };
-
- // What each credited file itself states, written here independently of the credit text: these strings must
- // appear in the file and in the credit's notice.
- private static readonly (string file, string[] stated)[] Holders =
- {
- (Credits.TwemojiFile, new[] { "Jason Sofonia & Justine De Caires", "Twitter", "CC BY 4.0" }),
- (Credits.PlaydeadFile, new[] { "Playdead" }),
- (Credits.LiberationFile, new[] { "Google Corporation", "Red Hat, Inc." }),
- (Credits.UniRxFile, new[] { "Yoshifumi Kawai" }),
- (Credits.KdTreeFile, new[] { "Vili Vol\u010dini / viliwonka" }),
- (Credits.SimplexNoiseFile, new[] { "Ashima Arts", "Ian McEwan", "Keijiro Takahashi" }),
- (Credits.AmbientCgFile, new[] { "ambientCG" }),
- (Credits.UnityShaderFile, new[] { "Unity Technologies" }),
- (Credits.AdditiveUiFile, new[] { "Unity Technologies", "Supyrb", "Johannes Deml" }),
- (Credits.AcesFile, new[] { "Academy of Motion Picture Arts and Sciences", "A.M.P.A.S." }),
- (Credits.ClassicNoiseFile, new[] { "Ashima Arts", "Stefan Gustavson" }),
- (Credits.BezierPathFile, new[] { "Herman Tulleken", "Use this code as you wish" }),
- };
-
- // Fonts that state holder and licence in their own name tables: the credit's LicenceFile is the licence text shipped
- // beside them (which must carry the licence and the stated holder), and every font listed must embed the stated string (read from the file, not from the credit) and be shown by the
- // credit. The ids are TrueType name ids: 0 is the copyright notice.
- private static readonly (string credit, string[] fonts, string embedded)[] FontCredits =
- {
- (Credits.UbuntuLicenceFile, new[] { "Assets/Fonts/Ubuntu/Ubuntu-R.ttf", "Assets/Fonts/Ubuntu/Ubuntu-L.ttf", "Assets/Fonts/Ubuntu/Ubuntu-B.ttf", "Assets/Fonts/Ubuntu/UbuntuMono-R.ttf" },
- "Copyright 2011 Canonical Ltd."),
- (Credits.MontserratLicenceFile, new[] { "Assets/Fonts/Ubuntu/Montserrat-Thin.ttf" }, "Copyright(c) 2014 by Julieta Ulanovsky"),
- };
-
- // Fonts credited through a licence file in the repo (see Holders), not through their own text.
- private static readonly string[] FontsCreditedByLicenceFile = { "Assets/Fonts/Emoji/Twemoji.ttf", "Assets/TextMesh Pro/Fonts/LiberationSans.ttf" };
-
- // Fonts under Assets that are not credited, each with the reason; every one must be unreferenced by any prefab,
- // scene, material or asset outside Assets/Fonts (checked), so shipping it is not a decision made by accident.
- private static readonly System.Collections.Generic.Dictionary ReviewedFonts = new System.Collections.Generic.Dictionary
- {
- ["Assets/Fonts/Retro/LRT Oksana.ttf"] = "EULA forbids more than personal use; unreferenced; decision owed",
- ["Assets/Fonts/Retro/LRT Oksana Bold.ttf"] = "EULA forbids more than personal use; unreferenced; decision owed",
- ["Assets/Fonts/Ubuntu/UbuntuMono-B.ttf"] = "unreferenced; same holder and licence as UbuntuMono-R, which the Ubuntu credit covers",
- ["Assets/Fonts/ftn_SourceSansPro-Regular.otf"] = "unreferenced; embeds Adobe copyright under the SIL OFL 1.1; credit it if it is ever used",
- };
-
- private static string[] FontFiles()
- {
- var root = Root();
- return Directory.EnumerateFiles(Path.Combine(root, "Assets"), "*", SearchOption.AllDirectories)
- .Select(path => Path.GetRelativePath(root, path).Replace('\\', '/'))
- .Where(path => path.EndsWith(".ttf", StringComparison.OrdinalIgnoreCase) || path.EndsWith(".otf", StringComparison.OrdinalIgnoreCase))
- .OrderBy(path => path, StringComparer.Ordinal)
- .ToArray();
- }
-
- // Every name-table record of a TrueType/OpenType file with the given name id, decoded (platform 3 as UTF-16BE,
- // platform 1 as Latin-1).
- private static System.Collections.Generic.List NameRecords(string relative, int nameId)
- {
- var d = File.ReadAllBytes(Path.Combine(Root(), relative));
- int U16(int at) => (d[at] << 8) | d[at + 1];
- long U32(int at) => ((long)d[at] << 24) | ((long)d[at + 1] << 16) | ((long)d[at + 2] << 8) | d[at + 3];
- var found = new System.Collections.Generic.List();
- for (int i = 0, n = U16(4); i < n; i++)
- {
- var rec = 12 + 16 * i;
- if (System.Text.Encoding.ASCII.GetString(d, rec, 4) != "name") continue;
- var table = (int)U32(rec + 8);
- int count = U16(table + 2), strings = table + U16(table + 4);
- for (var j = 0; j < count; j++)
- {
- var r = table + 6 + 12 * j;
- if (U16(r + 6) != nameId) continue;
- var text = System.Text.Encoding.GetEncoding(U16(r) == 3 ? "utf-16BE" : "latin1").GetString(d, strings + U16(r + 10), U16(r + 8));
- found.Add(text.Replace("\r", "").Trim());
- }
- }
- return found;
- }
-
- private static string[] LicenceLikeFiles()
- {
- var root = Root();
- return Directory.EnumerateFiles(Path.Combine(root, "Assets"), "*", SearchOption.AllDirectories)
- .Where(path => !path.EndsWith(".meta"))
- .Select(path => Path.GetRelativePath(root, path).Replace('\\', '/'))
- .Where(path => LicenceLike.IsMatch(Path.GetFileName(path)))
- .OrderBy(path => path, StringComparer.Ordinal)
- .ToArray();
- }
-
- // The ways a licence-like file can be accounted for; shared so the mutations in the report hit the same rule.
- private static string[] Unaccounted(string[] found, System.Collections.Generic.IEnumerable credited) =>
- found.Where(path => !credited.Contains(path) && !ReviewedNotCredited.ContainsKey(path)).ToArray();
-
- // Every copyright marker in a source header: "Copyright", "copyright", "(c)" (not the tail of an identifier), the copyright sign, "Copyright (c)", with an optional
- // colon and "by". A line is scanned marker by marker: a holder runs to the next marker or the end of the line, so a
- // second holder on the same line is a holder of its own. Credits.cs is the credit text itself, so it is not scanned.
- private const string Marker = @"(?:copyright(?:\s*(?:\(c\)|\u00a9))?|(?\s*:)?\s*(?:by\s+)?[<\[]?(?.+?)(?=" + Marker + @"|$)", RegexOptions.IgnoreCase | RegexOptions.CultureInvariant);
-
- private static string Key(string text) => new string(text.Where(char.IsLetterOrDigit).ToArray()).ToLowerInvariant();
-
- // Words that follow "copyright" in licence and header prose and name no holder ("copyright notice", "COPYRIGHT HOLDERS BE
- // LIABLE", "copyright laws"); a capitalised word after a bare "Copyright" is a holder unless it is one of these.
- private static readonly string[] ProseAfterCopyright =
- { "Notice", "Notices", "Holder", "Holders", "Owner", "Owners", "Law", "Laws", "Act", "Protection", "Statement", "Header", "Information", "Status", "Line", "Lines", "Text", "Licence", "License", "Material", "Works", "Work", "File", "Files" };
-
- // The holders a line of source states: the text after each marker, cut at the end of its sentence, as keys. A holder
- // is a year or a capitalised name; "copyright notice" in licence prose names nobody. Without a year the marker must
- // be "(c)", the copyright sign or a colon, so "Copyright Notice" prose is not a holder either.
- private static System.Collections.Generic.IEnumerable LineHolders(string line)
- {
- foreach (Match match in HeaderCopyright.Matches(line))
- {
- var holder = Regex.Replace(match.Groups["holder"].Value.Trim(), @"(\.(\s.*)?|\s*All rights reserved.*)$", "", RegexOptions.IgnoreCase).Trim(' ', '\t', ',', ';', '>', ']');
- var marked = Regex.IsMatch(match.Value.Substring(0, match.Groups["holder"].Index - match.Index), @"\(c\)|\u00a9|:", RegexOptions.IgnoreCase);
- var year = Regex.IsMatch(holder, @"^\d{4}");
- // "Copyright Epic Games, Inc." names a holder with no year or sign; licence prose after the word does not.
- var named = holder.Length > 0 && char.IsUpper(holder[0]) && !ProseAfterCopyright.Contains(Regex.Match(holder, @"^\w+").Value, StringComparer.OrdinalIgnoreCase);
- if (holder.Length == 0 || !(year || (named && (marked || Regex.IsMatch(match.Value, "^copyright", RegexOptions.IgnoreCase))))) continue;
- yield return Key(Normal(holder));
- }
- }
-
- private static System.Collections.Generic.Dictionary HeaderKeys()
- {
- var root = Root();
- var keys = new System.Collections.Generic.Dictionary();
- foreach (var path in Directory.EnumerateFiles(Path.Combine(root, "Assets"), "*", SearchOption.AllDirectories)
- .Select(path => Path.GetRelativePath(root, path).Replace('\\', '/'))
- .Where(path => new[] { ".shader", ".hlsl", ".cginc", ".cs", ".compute" }.Any(ext => path.EndsWith(ext)) && path != "Assets/Scripts/ServerShared/Credits.cs"))
- foreach (var line in Read(path).Split('\n'))
- foreach (var key in LineHolders(line))
- keys.TryAdd(key, path);
- return keys;
- }
-
- // A copyright line in a source header is a notice the licence requires shown, so its holder is in a credit or in
- // ReviewedHeaders with the reason; a removed credit, or a newly pasted header, fails here.
- [Fact]
- public void EveryCopyrightHolderInASourceHeaderIsCreditedOrReviewed()
- {
- var keys = HeaderKeys();
- Assert.Contains(Key("2015 Academy of Motion Picture Arts and Sciences (A.M.P.A.S"), keys.Keys);
- Assert.Contains("2016unitytechnologies", keys.Keys);
- Assert.Contains("2017supyrb", keys.Keys);
- // The whole holder must equal a holder some credit's notice states, read by the same extractor: a bare year, a short
- // name, or a prefix of a credited name is a different key and fails.
- var shown = Load().SelectMany(credit => credit.Notice.Split('\n')).SelectMany(LineHolders).ToHashSet();
- Assert.Equal(Array.Empty(), keys.Where(k => !shown.Contains(k.Key) && !ReviewedHeaders.ContainsKey(k.Key)).Select(k => $"{k.Key} in {k.Value}").ToArray());
- Assert.Equal(Array.Empty(), ReviewedHeaders.Keys.Where(k => !keys.ContainsKey(k)).ToArray());
- }
-
- [Fact]
- public void EveryLicenceLikeFileUnderAssetsIsCreditedOrReviewed()
- {
- var root = Root();
- var found = LicenceLikeFiles();
- Assert.Contains(Credits.TwemojiFile, found);
- Assert.Contains(Credits.LiberationFile, found);
- var credited = Load().Select(credit => credit.LicenceFile).ToArray();
- Assert.Equal(Array.Empty(), Unaccounted(found, credited));
- Assert.Equal(Array.Empty(), credited.Where(path => !File.Exists(Path.Combine(root, path))).ToArray());
- Assert.Equal(Array.Empty(), ReviewedNotCredited.Keys.Where(path => !found.Contains(path)).ToArray());
- Assert.Equal(Array.Empty(), ReviewedNotCredited.Keys.Where(path => credited.Contains(path)).ToArray());
- Assert.Equal(Array.Empty(), UnlicensedWorks.Where(path => !Directory.Exists(Path.Combine(root, path))).ToArray());
- }
-
- // Every holder the licence file states is in the credit that answers for it; the notices are typed into
- // Credits.cs, so this is what keeps them true to the files.
- [Fact]
- public void EveryCreditShowsTheHoldersItsOwnFileStates()
- {
- var credits = Load();
- Assert.Equal(Holders.Select(h => h.file).Append(Credits.NounProjectFile).Concat(FontCredits.Select(f => f.credit)).OrderBy(f => f, StringComparer.Ordinal),
- credits.Select(credit => credit.LicenceFile).OrderBy(f => f, StringComparer.Ordinal));
- foreach (var (file, stated) in Holders)
- {
- var text = Normal(Read(file));
- var notice = Normal(credits.Single(credit => credit.LicenceFile == file).Notice);
- foreach (var holder in stated)
- {
- Assert.True(text.Contains(Normal(holder)), $"{file} does not state '{holder}'");
- Assert.True(notice.Contains(Normal(holder)), $"the credit for {file} omits '{holder}'");
- }
- // And every copyright line the file carries, whatever the table above says.
- foreach (var line in Read(file).Split('\n'))
- {
- var match = CopyrightLine.Match(line);
- if (!match.Success) continue;
- var body = Regex.Replace(match.Groups[1].Value.Replace("[", "").Replace("]", "").Trim(), @"(\.\s.*|\s*All rights reserved)?\.?$", "", RegexOptions.IgnoreCase);
- Assert.True(notice.Contains(Normal(body)), $"the credit for {file} omits its copyright line '{body}'");
- }
- }
- }
-
- private static readonly Regex CopyrightLine = new Regex(@"copyright\s*(?:\(c\)|\u00a9)?\s*(\[?\d.*)$", RegexOptions.IgnoreCase | RegexOptions.CultureInvariant);
-
- // Dash variants and case folded, so the file's en dash and the screen's hyphen compare equal.
- private static string Normal(string text) => text.Replace('\u2013', '-').Replace('\u2014', '-').Replace("\r", "").Replace(" by ", " ").ToLowerInvariant();
-
- // The credit text is typed; the font files are the authority on who holds them. A wrong holder, or a font in the
- // family that does not carry it, fails here.
- [Fact]
- public void FontCreditsShowWhatTheFontsThemselvesEmbed()
- {
- var credits = Load();
- foreach (var (creditFile, fonts, embedded) in FontCredits)
- {
- var notice = credits.Single(credit => credit.LicenceFile == creditFile).Notice;
- var licenceText = Read(creditFile);
- Assert.Contains(creditFile.Contains("UFL") ? "UBUNTU FONT LICENCE Version 1.0" : "SIL OPEN FONT LICENSE Version 1.1", licenceText);
- Assert.True(Path.GetDirectoryName(creditFile) == Path.GetDirectoryName(fonts[0]).Replace('\\', '/'), "licence text sits beside its fonts");
- if (creditFile.Contains("OFL")) Assert.Contains(embedded, licenceText);
- Assert.Contains(embedded, notice);
- foreach (var font in fonts)
- Assert.True(NameRecords(font, 0).Count > 0 && NameRecords(font, 0).All(record => record.StartsWith(embedded)),
- $"{font} does not embed '{embedded}' as its copyright");
- }
- Assert.Contains("Ubuntu Font Licence 1.0", NameRecords(FontCredits[0].fonts[0], 0)[0]);
- Assert.Contains("Ubuntu Font Licence 1.0", credits.Single(credit => credit.LicenceFile == Credits.UbuntuLicenceFile).Licence);
- Assert.Contains("SIL Open Font License, Version 1.1", NameRecords(FontCredits[1].fonts[0], 13)[0]);
- Assert.Contains("SIL Open Font License 1.1", credits.Single(credit => credit.LicenceFile == Credits.MontserratLicenceFile).Licence);
- }
-
- [Fact]
- public void EveryFontUnderAssetsIsCreditedOrReviewedAsUnreferenced()
- {
- var root = Root();
- var accounted = FontCredits.SelectMany(f => f.fonts).Concat(FontsCreditedByLicenceFile).Concat(ReviewedFonts.Keys).ToArray();
- var fonts = FontFiles();
- Assert.Equal(Array.Empty(), fonts.Where(font => !accounted.Contains(font)).ToArray());
- Assert.Equal(Array.Empty(), accounted.Where(font => !fonts.Contains(font)).ToArray());
- // A reviewed font stays out of the credits only while nothing outside Assets/Fonts uses it. Prefabs and scenes
- // reference the TMP SDF asset made from the font, not the .ttf, so the search follows the font guid, then the
- // guid of every file under Assets/Fonts that references a guid already followed: the font's own SDF asset, and
- // any other SDF asset carrying it in a fallback table. A use is a file outside Assets/Fonts naming any of them.
- var files = Directory.EnumerateFiles(Path.Combine(root, "Assets"), "*", SearchOption.AllDirectories)
- .Select(path => Path.GetRelativePath(root, path).Replace('\\', '/'))
- .Where(path => new[] { ".prefab", ".unity", ".mat", ".asset", ".controller" }.Any(ext => path.EndsWith(ext)))
- .Select(path => (path, text: Read(path)))
- .ToArray();
- var inFonts = files.Where(file => file.path.StartsWith("Assets/Fonts/")).ToArray();
- var outside = files.Where(file => !file.path.StartsWith("Assets/Fonts/")).ToArray();
- foreach (var font in ReviewedFonts.Keys)
- {
- var followed = new System.Collections.Generic.HashSet { Regex.Match(Read(font + ".meta"), @"guid: (\w+)").Groups[1].Value };
- Assert.All(followed, guid => Assert.Equal(32, guid.Length));
- for (var grew = true; grew;)
- {
- grew = false;
- foreach (var file in inFonts.Where(file => followed.Any(guid => file.text.Contains(guid))).ToArray())
- grew |= followed.Add(Regex.Match(Read(file.path + ".meta"), @"guid: (\w+)").Groups[1].Value);
- }
- Assert.Equal(Array.Empty(), outside.Where(user => followed.Any(guid => user.text.Contains(guid))).Select(user => user.path).ToArray());
- }
- }
-
- [Fact]
- public void TwemojiComesFirst()
- {
- var twemoji = Load()[0];
- Assert.Equal("Twemoji", twemoji.Name);
- Assert.Contains("CC BY 4.0", twemoji.Licence);
- }
-
- // The expectations are stated here, not derived from the parser: 81 icon credits between the heading and the
- // "Other" sub-heading's two artists, named at the ends and at the line that was once split across two.
- [Fact]
- public void EveryIconCreditInTheAttributionFileIsShown()
- {
- var text = Read(Credits.NounProjectFile);
- Assert.StartsWith(Credits.NounProjectHeading, text.TrimStart('\uFEFF'));
- var lines = Credits.NounProjectLines(text).ToArray();
- Assert.Equal(82, lines.Length);
- Assert.Equal("Tornado by Bart Laubsch", lines[0]);
- Assert.Equal("Alien Abduction by Bart Laubsch", lines[1]);
- Assert.Equal("Hurricane by icon 54 from Smashicons Space by Ben Davis", lines[2]);
- Assert.Equal("Space 2 - Solid by Ben Davis", lines[3]);
- Assert.Contains("Other", lines);
- Assert.Equal("Missile War Weapon by Freepik", lines[^1]);
- // One credit per line: every line but the sub-heading names an artist and does not stop mid-sentence.
- foreach (var line in lines.Where(line => line != "Other"))
- {
- Assert.Contains(" by ", line, StringComparison.OrdinalIgnoreCase);
- Assert.DoesNotMatch(@"\s(from|by)$", line);
- }
- var notice = Load().Single(credit => credit.LicenceFile == Credits.NounProjectFile).Notice.Split('\n');
- Assert.Equal(lines, notice);
- }
-
- [Fact]
- public void AnAttributionFileWithoutItsHeadingIsRefused()
- {
- Assert.Throws(() => Credits.NounProjectLines("Tornado by Bart Laubsch\nAlien Abduction by Bart Laubsch").ToArray());
- Assert.Throws(() => Credits.NounProjectLines("Noun Project\n\n").ToArray());
- }
-
- [Fact]
- public void EntriesNameTheirLicenceAndHolder()
- {
- foreach (var credit in Load())
- {
- Assert.False(string.IsNullOrWhiteSpace(credit.Name));
- Assert.False(string.IsNullOrWhiteSpace(credit.Licence));
- Assert.False(string.IsNullOrWhiteSpace(credit.Notice));
- }
- }
-
- [Fact]
- public void AnEmptyEntryIsRefused()
- {
- Assert.Throws(() => Credits.Validate(new[] { new Credit { Name = "x", Licence = "", Notice = "n", LicenceFile = "f" } }));
- }
-
- // The Unity menu is not compilable headlessly, so this reads its source with comments removed (a commented-out
- // button or call must not satisfy it): the main menu must offer Credits, and ShowCredits must build the Shared
- // list. It proves the wiring exists, not that the screen draws.
- [Fact]
- public void MainMenuOffersACreditsPathThatRendersTheList()
- {
- var menu = Regex.Replace(Read("Assets/Scripts/UI/MainMenu.cs"), @"/\*.*?\*/|//[^\n]*", "", RegexOptions.Singleline);
- var main = menu.Substring(menu.IndexOf("private void ShowMain()", StringComparison.Ordinal));
- main = main.Substring(0, main.IndexOf("private bool ShowCredits()", StringComparison.Ordinal));
- Assert.Contains("AddButton(\"Credits\"", main);
- Assert.Contains("ShowCredits()", main);
- var credits = menu.Substring(menu.IndexOf("private bool ShowCredits()", StringComparison.Ordinal));
- credits = credits.Substring(0, credits.IndexOf("private void ShowScenarios()", StringComparison.Ordinal));
- Assert.Contains("Credits.All(", credits);
- // A build missing the attribution file refuses with a dialog instead of throwing in the click handler.
- Assert.Contains("attribution == null", credits);
- Assert.Contains("Refuse(", credits);
- }
- }
-}
diff --git a/tests/Aetheria.Shared.Tests/CrossingScenarioTests.cs b/tests/Aetheria.Shared.Tests/CrossingScenarioTests.cs
index efaa4998d..9c827b968 100644
--- a/tests/Aetheria.Shared.Tests/CrossingScenarioTests.cs
+++ b/tests/Aetheria.Shared.Tests/CrossingScenarioTests.cs
@@ -10,7 +10,7 @@ using float3 = CultMath.float3;
public sealed partial class RunStartTests
{
// Crossing: the demo's cast; projector and Cell Blaster fitted in separate weapon groups with the Fire Control Array
- // aboard; an unpiloted hostile Djinni, coasting at 25 m/s, that crosses the bow inside 400 m; and an unpiloted neutral one inside the Lightning Projector's
+ // aboard; an unpiloted hostile Djinni, coasting at the Djinni's speed cap, that crosses the bow inside 400 m; and an unpiloted neutral one inside the Lightning Projector's
// arc, short of its Range and beyond three quarters of it.
[Fact]
public void CrossingConditions()
@@ -43,12 +43,12 @@ public sealed partial class RunStartTests
Assert.True(toCrosser.z > 0, "the crosser starts ahead");
Assert.True(abs(dot(crosser.Direction, player.Direction)) <= sin(radians(30f)) + 1e-4f,
"the crosser faces within 30 degrees of perpendicular to the player's bow");
- // It is placed moving: toward the bow line at the scenario's 25 m/s, so its run is its own and not only the
+ // It is placed moving: toward the bow line at most of the Djinni's 50 m/s cap, so its run is its own and not only the
// arena's pull on the player.
var crosserVelocity = ((Ship) crosser).Velocity;
Assert.True(crosserVelocity.x * toCrosser.x < 0, "the crosser starts moving toward the bow line");
- Assert.Equal(25f, abs(crosserVelocity.x), 3);
- Assert.Equal(25f, length(crosserVelocity), 3);
+ Assert.True(abs(crosserVelocity.x) >= 40f, "the crosser's speed toward the bow line is most of the Djinni's speed cap");
+ Assert.True(length(crosserVelocity) >= 40f, "the crosser starts at most of the Djinni's speed cap");
Assert.False(player.IsHostileTo(waiting) || waiting.IsHostileTo(player), "the waiting Djinni is neutral");
Assert.Equal(0, AgentsOf(arena, waiting));
@@ -71,7 +71,7 @@ public sealed partial class RunStartTests
Assert.True(length(pass.Ahead) < CrossingMetres, "the crosser passes inside the stated distance");
Assert.True(FireControl.InArc(small, float3(pass.Ahead.x, 0, pass.Ahead.y)), "Cell Blaster bears on the crosser as it crosses");
Assert.True(dot(FireControl.MountDirection(small), float3(player.Direction.x, 0, player.Direction.y)) > 0, "Cell Blaster mounts forward");
- // At seed 112 with no input the pass is at about 3.6 s and 45 m, at 25 m/s relative (a hull under its top speed coasts, so the launch speed holds); a seed, field or staging change that loses it moves these.
+ // At seed 112 with no input the pass is at about 3.6 s and 45 m; a seed, field or staging change that loses it moves these.
Assert.InRange(pass.Seconds, CrossingEarliest, CrossingLatest);
Assert.InRange(length(pass.Ahead), 30f, 60f);
}
diff --git a/tests/Aetheria.Shared.Tests/DemoLoopTests.cs b/tests/Aetheria.Shared.Tests/DemoLoopTests.cs
deleted file mode 100644
index a2daf444a..000000000
--- a/tests/Aetheria.Shared.Tests/DemoLoopTests.cs
+++ /dev/null
@@ -1,89 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at https://mozilla.org/MPL/2.0/. */
-
-using System.Linq;
-using System.Collections.Generic;
-using CultMath;
-using UniRx;
-using Xunit;
-
-// The demo loop on the shipped catalog (aetheria-release, mining 5a and the ore sheet): the player's own gun breaks a rock
-// through the trigger, the ore lands in the hold, the Pirates station Zenith buys it, repairs the hull and sells a unit back.
-public sealed partial class RunStartTests
-{
- [Fact]
- public void DemoLoop_mine_sell_repair_buy()
- {
- var (galaxy, arena, staged, failures) = Launch(new DemoTerminus(), Inputs(() => 1));
- Assert.True(failures.Count == 0, string.Join("; ", failures));
- var player = staged.Player;
- var belt = arena.Planets.Single(body => body.Value is AsteroidBeltData);
- var rock = new ChunkId(belt.Key, 0);
- var laser = player.Equipment.Select(equipped => equipped.Behaviors.OfType().FirstOrDefault())
- .First(weapon => weapon != null && weapon.Item.EquippableItem != null && _items.GetData(weapon.Item.EquippableItem).Name == "Light Laser");
-
- // Once the ship's stats have settled.
- for (var tick = 0; tick < 50; tick++) arena.Update(.02f);
- // The belt drifts and the sun's well pulls, so the ship is held where it was put: forty units off the rock.
- void Hold()
- {
- var at = arena.ChunkPose(rock.Field, rock.Index).xy;
- player.Position = new float3(at.x, player.Position.y, at.y - 40f);
- player.Velocity = float2.zero;
- player.Direction = new float2(0, 1);
- player.Aim = new float3(0, 0, 1);
- }
- Hold();
- arena.Update(.02f);
- Hold();
- Assert.True(player.SetTarget(rock), "the rock is a target");
- var gains = new List();
- arena.CargoGained.Subscribe(gains.Add);
- laser.Activate();
- for (var elapsed = 0f; elapsed < 20f && arena.ChunkExists(rock); elapsed += .02f) { Hold(); arena.Update(.02f); }
- var info = player.ChunkInfo(rock);
- Assert.False(arena.ChunkExists(rock), $"the laser broke the rock: designated {FireControl.Designated(laser, player, rock, out var range)} range {range} info {info} target {player.Target} pos {player.Position} rockpos {arena.ChunkPose(rock.Field, rock.Index)} hp {arena.Settings.AsteroidHitpoints.Evaluate(arena.AsteroidBelts[rock.Field].Data.Asteroids[0].Size)}");
-
- var ores = new[] { "Rock", "New Metals", "Gold" };
- var held = player.CargoBays.SelectMany(bay => bay.Cargo.Keys.OfType().Select(stack => (bay, stack)))
- .Where(h => ores.Contains(_items.GetData(h.stack).Name)).ToArray();
- Assert.NotEmpty(held);
- Assert.Empty(arena.FloatingItems);
- // The feed saw every unit that went into the hold and none float.
- Assert.NotEmpty(gains);
- Assert.All(gains, gain => Assert.Equal((GainKind.Mined, 0), (gain.Kind, gain.Adrift)));
- Assert.Equal(held.Sum(h => h.stack.Quantity), gains.Sum(gain => gain.Stored));
-
- var zenith = arena.Entities.Single(entity => entity.HullData.Name == "Zenith");
- var credits = 0;
- // Every mined stack goes in one sale: the market takes it all, whatever the full hold of Zenith has room for.
- var value = StationServices.OreValue(_items, player.CargoBays);
- Assert.True(value > 0);
- Assert.Equal(gains.Sum(gain => gain.Stored), StationServices.TrySellOre(player.CargoBays, zenith, ref credits));
- Assert.Equal(value, credits);
- Assert.DoesNotContain(player.CargoBays.SelectMany(bay => bay.Cargo.Keys.OfType()), c => ores.Contains(_items.GetData(c).Name));
-
- var cell = Enumerable.Range(0, player.MaxArmor.GetLength(0)).SelectMany(x => Enumerable.Range(0, player.MaxArmor.GetLength(1)).Select(y => (x, y)))
- .First(c => player.MaxArmor[c.x, c.y] > 0);
- player.Armor[cell.x, cell.y] = 0;
- var cost = StationServices.RepairCost(_items, player);
- Assert.True(cost > 0);
- var paid = credits;
- credits += cost;
- Assert.True(StationServices.TryRepair(player, ref credits));
- Assert.Equal(paid, credits);
- Assert.Equal(player.MaxArmor[cell.x, cell.y], player.Armor[cell.x, cell.y]);
-
- // Zenith's whole stock is one 16-cell reactor, which fits only an empty 4x4: the player jettisons what the hold
- // still carries, then buys it.
- var hold = player.CargoBays[0];
- foreach (var leftover in hold.Cargo.Keys.ToArray()) hold.Remove(leftover);
- var stock = zenith.CargoBays.SelectMany(bay => bay.Cargo.Keys.OfType().Select(piece => (bay, piece))).Single();
- credits = StationServices.BuyPrice(_items, stock.piece);
- Assert.Equal(BuyResult.Bought, StationServices.TryBuy(_items, stock.piece, 1, ref credits,
- () => stock.bay.TryTransferItem(hold, stock.piece)));
- Assert.Equal(0, credits);
- Assert.Contains(stock.piece, hold.Cargo.Keys);
- }
-}
diff --git a/tests/Aetheria.Shared.Tests/DemoOreSheetTests.cs b/tests/Aetheria.Shared.Tests/DemoOreSheetTests.cs
deleted file mode 100644
index 24ef521eb..000000000
--- a/tests/Aetheria.Shared.Tests/DemoOreSheetTests.cs
+++ /dev/null
@@ -1,92 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.IO;
-using System.Linq;
-using CultMath;
-using GameCult.Caching;
-using Xunit;
-
-// The interim ore sheet (rulings mining-demo-ore-minimal-yields-now, mining-demo-ore-prices-gear-scale): what the shipped catalog's
-// Asteroid belt holds can be carried and sold, so mine, sell, repair closes on the existing stations.
-public sealed class DemoOreSheetTests : IDisposable
-{
- private static readonly string[] Ores = { "Rock", "New Metals", "Gold" };
- private readonly string _root = Path.Combine(Path.GetTempPath(), "aetheria-demoore-" + Guid.NewGuid().ToString("N"));
-
- public DemoOreSheetTests() => Directory.CreateDirectory(_root);
- public void Dispose() => Directory.Delete(_root, true);
-
- private CultCache Shipped()
- {
- var path = Path.Combine(_root, "Aetheria.cc");
- File.Copy(TestCatalog.Repo, path, true);
- return AetheriaStores.Open(path, catalogWritable: true, registry: TestCatalog.Registry());
- }
-
- private static CultRecordRef Asteroid(CultCache cache) =>
- cache.RefOf(cache.GetAll().Single(k => k.Name == "Asteroid"));
-
- [Fact]
- public void AsteroidYieldsThreeOresInKeyOrder()
- {
- using var cache = Shipped();
- var yield = FieldKinds.Yield(Asteroid(cache), default, cache);
- var amounts = yield.ToDictionary(y => cache.Get(y.Commodity).Name, y => y.Amount);
- Assert.Equal(Ores.OrderBy(n => n).ToArray(), amounts.Keys.OrderBy(n => n).ToArray());
- Assert.Equal(6f, amounts["Rock"]);
- Assert.Equal(3f, amounts["New Metals"]);
- Assert.Equal(1f, amounts["Gold"]);
- Assert.Equal(yield.Select(y => y.Commodity.Key.Value).OrderBy(k => k, StringComparer.Ordinal), yield.Select(y => y.Commodity.Key.Value));
- }
-
- [Fact]
- public void EveryYieldedOreCanBeHeldAndSold()
- {
- using var cache = Shipped();
- var shape = new Shape(5, 5);
- foreach (var cell in shape.AllCoordinates) shape[cell] = true;
- var bay = new Shape(4, 4);
- foreach (var cell in bay.AllCoordinates) bay[cell] = true;
- cache.Upsert(new VerseGrammar { Revision = 1 });
- cache.Upsert(new HullData { Name = "OreSkiff", HullType = HullType.Ship, Shape = shape, Price = 1000, Durability = 10, Armor = 10 });
- cache.Upsert(new CargoBayData { Name = "OreBay", Shape = new Shape(), InteriorShape = bay, Price = 20, Durability = 4 });
- cache.FlushAsync().GetAwaiter().GetResult();
- var items = new ItemManager(1u, cache, new ProvenanceLedger(), AuthoredSettings.Load(RestoredHullsTests.FindRepoRoot()).Read("GameplaySettings"), _ => { });
- var zone = new Zone(items, new PlanetSettings(), new ZonePack(), new GalaxyZone { Name = "Test Zone", Owner = null }, null);
- EquippableItem Mint(string design)
- {
- var data = cache.GetByName(design);
- return new EquippableItem
- {
- Data = cache.RefOf(data), Durability = data.Durability,
- Lot = items.Lots.Add(new Lot { Design = cache.RefOf(data), Origin = new Attributed(), Quality = .5f, Roles = new List() })
- };
- }
- var ship = new Ship(items, zone, Mint("OreSkiff"), new EntitySettings());
- Assert.True(ship.TryEquip(Mint("OreBay"), new int2(1, 1)));
-
- foreach (var (commodity, _) in FieldKinds.Yield(Asteroid(cache), default, cache))
- {
- var data = cache.Get(commodity);
- Assert.NotNull(data.Shape);
- Assert.True(data.Price > 0, data.Name);
- Assert.True(data.Mass > 0, data.Name);
- Assert.True(ship.CargoBays.Single().TryStore(new SimpleCommodity { Data = cache.RefOf(data), Quantity = 1 }), data.Name);
- }
- }
-
- [Fact]
- public void TheSheetConverges()
- {
- var path = Path.Combine(_root, "Converge.cc");
- File.Copy(Path.Combine(RestoredHullsTests.FindRepoRoot(), "GameData", "Aetheria.cc"), path);
- var before = File.ReadAllBytes(path);
- var output = new StringWriter();
- Assert.Equal(0, EconomyCommand.Author(path, new List { new DemoOre() }, true, output, TestCatalog.Registry(), _root));
- Assert.Equal(before, File.ReadAllBytes(path));
-
- using var cache = AetheriaStores.Open(path, registry: TestCatalog.Registry());
- var ids = cache.GetAll().Single(k => k.Name == "Asteroid").Yields.Select(y => y.Id).ToArray();
- Assert.Equal(new[] { "a57e0c000001", "a57e0c000002", "a57e0c000003" }, ids);
- }
-}
diff --git a/tests/Aetheria.Shared.Tests/DeterminismLedgerTests.cs b/tests/Aetheria.Shared.Tests/DeterminismLedgerTests.cs
index 7b7182400..6029d3647 100644
--- a/tests/Aetheria.Shared.Tests/DeterminismLedgerTests.cs
+++ b/tests/Aetheria.Shared.Tests/DeterminismLedgerTests.cs
@@ -48,17 +48,7 @@ public sealed partial class RunStartTests
// go of a held weapon it no longer commands (target gone, untracked, another group the pick, Combat ended), where a held gun fired on
// until a later step selected its group (the candidate change reverted: d9493bbe). Both together: the digest below. Releasing a beam or a
// lock the same way (h7) moved nothing.
- // Repinned an eighth time, once (suite-honest), for the flight-model changes that landed after h6 and never repinned this
- // entry (bisected on master, each intended): e0c1daa4e made ThrustScale default 0.1, 845f6c3aa removed drag below top speed,
- // ffdba39ac made ThrustScale scale the push only, and 8c5a904cb pinned the fixtures to ThrustScale=1. Pull requests 8 and 9
- // moved the digest and returned it to 52fbb10d, which master already measured before this cut. The authored-cargo and
- // ammunition-data blob of this cut moved nothing (52fbb10d measured with it merged in). Fixtures run ThrustScale=1 while play
- // uses 0.1, so this digest pins the fight's logic, not the shipped feel.
- // Repinned a ninth time, once (scenarios-batch4-minors): the catalog restores the five station-reactor products' quality
- // spread (station-reactor-spread), and that blob alone moved the digest (the same tree with the old catalog measured 52fbb10d;
- // traced: only Notorious Station moves it, because the zone's station Zenith carries a Notorious Station reactor lot whose
- // minted quality changes with the role spread, and Snapshot hashes every zone entity's heat and shield).
- private const string TwoAiPinnedDigest = "9c70a3ee234fb3b879f721a4a4abf13dd83bf56fd8733690d356b89b8a392258";
+ private const string TwoAiPinnedDigest = "85e85c46cfc66693c819dd294ad02f3cd0eae5486c8f152a97e2e2787f854274";
private const float TwoAiSeconds = 60f;
[Fact]
@@ -265,7 +255,7 @@ public sealed partial class RunStartTests
Assert.Equal(first.digest, second.digest);
}
- internal static string HostClass() =>
+ private static string HostClass() =>
(RuntimeInformation.IsOSPlatform(OSPlatform.Linux) ? "linux"
: RuntimeInformation.IsOSPlatform(OSPlatform.Windows) ? "windows"
: RuntimeInformation.IsOSPlatform(OSPlatform.OSX) ? "osx" : "other")
diff --git a/tests/Aetheria.Shared.Tests/DrawnPoseTests.cs b/tests/Aetheria.Shared.Tests/DrawnPoseTests.cs
index e7254fac6..37111b114 100644
--- a/tests/Aetheria.Shared.Tests/DrawnPoseTests.cs
+++ b/tests/Aetheria.Shared.Tests/DrawnPoseTests.cs
@@ -542,7 +542,7 @@ public sealed class DrawnPoseTests : IDisposable
var chunk = new ChunkId(w.Belt, 5);
var hitpoints = w.Zone.Settings.AsteroidHitpoints.Evaluate(w.Asteroids[5].Size);
var unworn = w.Zone.ChunkRadius(chunk);
- Assert.False(w.Zone.Breaks(chunk, hitpoints * .9f));
+ Assert.False(w.Zone.Wear(chunk, hitpoints * .9f));
Assert.True(w.Zone.ChunkRadius(chunk) < unworn * .5f, "the rock has shrunk to less than half its size");
Assert.Equal(before, Meshes());
}
diff --git a/tests/Aetheria.Shared.Tests/EconomyCommandTests.cs b/tests/Aetheria.Shared.Tests/EconomyCommandTests.cs
index 9557f27a1..c0c04f89c 100644
--- a/tests/Aetheria.Shared.Tests/EconomyCommandTests.cs
+++ b/tests/Aetheria.Shared.Tests/EconomyCommandTests.cs
@@ -5,51 +5,6 @@ using System.Linq;
using GameCult.Caching;
using Xunit;
-// What the calling thread writes to Console while an action runs. Console is process-global and tests run in parallel, so a plain
-// SetOut capture also collects other tests' diagnostic prints (the race that failed these tests in full-suite runs): the probe
-// keeps only writes made on the thread that runs the action, and the gate keeps two probes from restoring each other's writer.
-internal static class ConsoleProbe
-{
- private static readonly object Gate = new object();
-
- public static string WrittenBy(Action act)
- {
- Capture(() => { act(); return 0; }, out var output, out _);
- return output;
- }
-
- // The action's result with what it wrote to Console.Out and Console.Error on this thread.
- public static T Capture(Func act, out string output, out string error)
- {
- lock (Gate)
- {
- var (previousOut, previousError) = (Console.Out, Console.Error);
- var (probeOut, probeError) = (new ThreadWriter(Environment.CurrentManagedThreadId), new ThreadWriter(Environment.CurrentManagedThreadId));
- Console.SetOut(probeOut);
- Console.SetError(probeError);
- try { return act(); }
- finally
- {
- Console.SetOut(previousOut);
- Console.SetError(previousError);
- output = probeOut.Mine.ToString();
- error = probeError.Mine.ToString();
- }
- }
- }
-
- private sealed class ThreadWriter : TextWriter
- {
- private readonly int _thread;
- public readonly System.Text.StringBuilder Mine = new System.Text.StringBuilder();
- public ThreadWriter(int thread) => _thread = thread;
- public override System.Text.Encoding Encoding => System.Text.Encoding.UTF8;
- public override void Write(char value) { if (Environment.CurrentManagedThreadId == _thread) lock (Mine) Mine.Append(value); }
- public override void Write(string value) { if (Environment.CurrentManagedThreadId == _thread) lock (Mine) Mine.Append(value); }
- public override void Write(char[] buffer, int index, int count) { if (Environment.CurrentManagedThreadId == _thread) lock (Mine) Mine.Append(buffer, index, count); }
- }
-}
-
public sealed class EconomyCommandTests
{
private sealed class Lambda : EconomyBatch
@@ -191,19 +146,10 @@ public sealed class EconomyCommandTests
public void TheTrialCopyIsRemoved()
{
using var f = EconomyFixture.Healthy();
- // A private scratch root: the temp folder is shared with every parallel test that runs the command, so counting it races.
- var scratchRoot = Directory.CreateDirectory(Path.Combine(Path.GetTempPath(), "aetherdb-economy-audit-" + Guid.NewGuid().ToString("N"))).FullName;
- try
- {
- foreach (var apply in new[] { false, true })
- {
- Flush(f);
- var batch = new Lambda(a => Good(f, a, apply ? "tar" : "coal", lore: apply ? "" : "a good"));
- EconomyCommand.Author(f.CatalogPath, new EconomyBatch[] { batch }, apply, new StringWriter(), TestCatalog.Registry(), scratchRoot);
- }
- Assert.Empty(Directory.GetFileSystemEntries(scratchRoot));
- }
- finally { Directory.Delete(scratchRoot, true); }
+ var before = Directory.GetDirectories(Path.GetTempPath(), "aetherdb-economy-*").Length;
+ Author(f, false, out _, a => Good(f, a, "coal"));
+ Author(f, true, out _, a => Good(f, a, "tar", lore: ""));
+ Assert.Equal(before, Directory.GetDirectories(Path.GetTempPath(), "aetherdb-economy-*").Length);
}
[Fact]
@@ -340,13 +286,17 @@ public sealed class EconomyCommandTests
using var db = AetherDb.Open();
var expected = new StringWriter();
var expectedCode = EconomyCommand.Report(db.Cache, expected);
+ var console = new StringWriter();
+ var previous = Console.Out;
+ Console.SetOut(console);
var output = new StringWriter();
- int code = 0;
- var console = ConsoleProbe.WrittenBy(() => code = EconomyCommand.Run(new[] { "report" }, output));
+ int code;
+ try { code = EconomyCommand.Run(new[] { "report" }, output); }
+ finally { Console.SetOut(previous); }
Assert.Equal(expectedCode, code);
Assert.NotEmpty(expected.ToString());
Assert.Equal(expected.ToString(), output.ToString());
- Assert.Empty(console);
+ Assert.Empty(console.ToString());
}
[Fact]
@@ -356,13 +306,17 @@ public sealed class EconomyCommandTests
var before = File.ReadAllBytes(path);
var expected = new StringWriter();
var expectedCode = EconomyCommand.Author(path, new EconomyBatch[] { new Munitions() }, false, expected);
+ var console = new StringWriter();
+ var previous = Console.Out;
+ Console.SetOut(console);
var output = new StringWriter();
- int code = 0;
- var console = ConsoleProbe.WrittenBy(() => code = EconomyCommand.Run(new[] { "author", "Munitions" }, output));
+ int code;
+ try { code = EconomyCommand.Run(new[] { "author", "Munitions" }, output); }
+ finally { Console.SetOut(previous); }
Assert.Equal(expectedCode, code);
Assert.NotEmpty(expected.ToString());
Assert.Equal(expected.ToString(), output.ToString());
- Assert.Empty(console);
+ Assert.Empty(console.ToString());
Assert.Equal(before, File.ReadAllBytes(path));
}
diff --git a/tests/Aetheria.Shared.Tests/ElementIdBlind.cs b/tests/Aetheria.Shared.Tests/ElementIdBlind.cs
deleted file mode 100644
index 6c340ea8f..000000000
--- a/tests/Aetheria.Shared.Tests/ElementIdBlind.cs
+++ /dev/null
@@ -1,57 +0,0 @@
-using System;
-using System.Collections;
-using System.Linq;
-using System.Reflection;
-using GameCult.Caching;
-using GameCult.Caching.MessagePack;
-using MessagePack;
-
-// Element ids are minted at random when a record is written, so two writes of the same content differ in exactly those slots.
-// A test that asks "is this the same content" compares the bytes with every element id blank.
-public static class ElementIdBlind
-{
- private static readonly MessagePackSerializerOptions Options = CultDocumentMessagePackSerialization.OptionsFor(typeof(ItemData).Assembly);
-
- // The document's bytes with every [CultElementId] member blank, on a copy: the document is untouched.
- public static byte[] Pack(object document, Type type = null)
- {
- type ??= document.GetType();
- var copy = MessagePackSerializer.Deserialize(type, MessagePackSerializer.Serialize(type, document, Options), Options);
- Blank(copy);
- return MessagePackSerializer.Serialize(type, copy, Options);
- }
-
- // A stored payload of the schema, re-encoded with every element id blank.
- public static byte[] Payload(CultDocumentRegistry registry, string schemaId, byte[] payload)
- {
- var type = registry.GetRequiredBySchemaId(schemaId).DocumentType;
- var value = MessagePackSerializer.Deserialize(type, payload, Options);
- Blank(value);
- return MessagePackSerializer.Serialize(type, value, Options);
- }
-
- private static void Blank(object value)
- {
- if (value == null || value is string || value.GetType().IsPrimitive || value.GetType().IsEnum) return;
- if (value is IEnumerable items && !(value is string))
- {
- foreach (var item in items) Blank(item);
- return;
- }
- for (var type = value.GetType(); type != null && type != typeof(object); type = type.BaseType)
- foreach (var member in type.GetMembers(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly))
- {
- if (member is FieldInfo field)
- {
- if (field.GetCustomAttribute() != null) field.SetValue(value, "");
- else if (!field.FieldType.IsPrimitive && field.GetCustomAttribute() == null && field.GetCustomAttribute() != null)
- Blank(field.GetValue(value));
- }
- else if (member is PropertyInfo property && property.GetIndexParameters().Length == 0 && property.GetCustomAttribute() != null)
- {
- if (property.GetCustomAttribute() != null) property.SetValue(value, "");
- else Blank(property.GetValue(value));
- }
- }
- }
-}
diff --git a/tests/Aetheria.Shared.Tests/ElementIdUpgradeTests.cs b/tests/Aetheria.Shared.Tests/ElementIdUpgradeTests.cs
deleted file mode 100644
index 682b20409..000000000
--- a/tests/Aetheria.Shared.Tests/ElementIdUpgradeTests.cs
+++ /dev/null
@@ -1,124 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.IO;
-using System.Linq;
-using System.Threading.Tasks;
-using GameCult.Caching;
-using Xunit;
-
-// CultLib 3.0 requires element ids and reads the stores written before it (2.0 and older), which carry none.
-// The shipped GameData stores are those stores, byte for byte: they have never been rewritten under the new pin.
-// Upgrading is one-way: once a store is written under the new pin it holds element ids, and an older pin can read it only by
-// dropping them (CultLib #98). Readers upgrade before writers.
-public class ElementIdUpgradeTests
-{
- private static string Shipped => Path.Combine(RunStartTests.FindRepoRoot(), "GameData", "Aetheria.cc");
-
- [Fact]
- public async Task AStoreWrittenBeforeElementIdsOpensMintsThemOnceAndKeepsEveryRecord()
- {
- using var directory = new TempDirectory();
- var copy = Path.Combine(directory.Path, "Aetheria.cc");
- File.Copy(Shipped, copy);
-
- int records, minted;
- using (var cache = AetheriaStores.Open(copy, catalogWritable: true, registry: TestCatalog.Registry()))
- {
- records = cache.AllStoredDocuments.Count();
- Assert.True(records > 0);
- minted = cache.MintElementIds();
- Assert.True(minted > 0, "the shipped catalog predates element ids; opening it must have minted some");
- Assert.Equal(0, cache.MintElementIds());
- await cache.FlushAsync();
- }
-
- using var reopened = AetheriaStores.Open(copy, registry: TestCatalog.Registry());
- Assert.Equal(records, reopened.AllStoredDocuments.Count());
- Assert.Equal(0, reopened.MintElementIds());
- foreach (var hull in reopened.GetAll())
- {
- var ids = hull.Hardpoints.Select(hardpoint => hardpoint.Id).ToArray();
- Assert.All(ids, id => Assert.False(string.IsNullOrEmpty(id)));
- Assert.Equal(ids.Length, ids.Distinct().Count());
- }
- }
-
- // Upgrading assigns ids and changes nothing else: every record of the old-format file decodes, once the id members are
- // blank, to the same bytes before and after the mint, flush and reopen.
- [Fact]
- public async Task UpgradingKeepsEveryFieldOfEveryRecordAndOnlyAddsIds()
- {
- using var directory = new TempDirectory();
- var copy = Path.Combine(directory.Path, "Aetheria.cc");
- File.Copy(Shipped, copy);
- var registry = TestCatalog.Registry();
- Dictionary Content(string path) =>
- GameCult.Caching.MessagePack.CultDocumentMessagePackSerialization.DeserializeSnapshot(File.ReadAllBytes(path)).Records
- .ToDictionary(record => record.Key, record => record.SchemaId + ":" + Convert.ToHexString(ElementIdBlind.Payload(registry, record.SchemaId, record.Payload)));
- var before = Content(copy);
-
- using (var cache = AetheriaStores.Open(copy, catalogWritable: true, registry: TestCatalog.Registry()))
- {
- Assert.True(cache.MintElementIds() > 0);
- await cache.FlushAsync();
- }
-
- var after = Content(copy);
- Assert.Equal(before.Count, after.Count);
- foreach (var record in before) Assert.True(after[record.Key] == record.Value, $"{record.Key} changed content when its element ids were minted");
- }
-
- [Fact]
- public void EveryShippedModPackageStillLoads()
- {
- var packages = Directory.GetDirectories(Path.Combine(RunStartTests.FindRepoRoot(), "GameData", "Mods"));
- Assert.NotEmpty(packages);
- foreach (var package in packages)
- {
- var (hull, visual, _) = ShipAuthoringStore.Load(Path.Combine(package, "ship.cc"));
- Assert.NotNull(hull);
- Assert.NotNull(visual);
- }
- }
-
- // A package whose file still holds a retired slot reads but cannot be written over (CultSchemaConflictException).
- [Fact]
- public void EveryShippedModPackageCanBeWrittenOver()
- {
- foreach (var package in Directory.GetDirectories(Path.Combine(RunStartTests.FindRepoRoot(), "GameData", "Mods")))
- {
- using var directory = new TempDirectory();
- var copy = Path.Combine(directory.Path, "ship.cc");
- File.Copy(Path.Combine(package, "ship.cc"), copy);
- var (hull, visual, products) = ShipAuthoringStore.Load(copy);
- using (var cache = ShipAuthoringStore.Open(copy, writable: true))
- {
- ShipAuthoringStore.Write(cache, hull, visual);
- foreach (var product in products) ShipAuthoringStore.WriteProduct(cache, visual.Id, product);
- cache.FlushAsync().GetAwaiter().GetResult();
- }
- Assert.Equal(visual.Id, ShipAuthoringStore.Load(copy).Visual.Id);
- }
- }
-
- // The tool that regenerated the shipped packages: a dry run touches nothing, apply keeps every record's content.
- [Fact]
- public void RegenerateDryRunLeavesTheFileAndApplyKeepsTheContent()
- {
- using var directory = new TempDirectory();
- var copy = Path.Combine(directory.Path, "ship.cc");
- File.Copy(Path.Combine(RunStartTests.FindRepoRoot(), "tests", "fixtures", "mods", "aetheria.wren", "ship.cc"), copy);
- var bytes = File.ReadAllBytes(copy);
- var (hull, visual, products) = ShipAuthoringStore.Load(copy);
-
- Assert.Equal(0, ShipAuthoringCommands.Run(new[] { "regenerate", copy }));
- Assert.Equal(bytes, File.ReadAllBytes(copy));
- Assert.Equal(0, ShipAuthoringCommands.Run(new[] { "regenerate", copy, "apply" }));
-
- var (hull2, visual2, products2) = ShipAuthoringStore.Load(copy);
- Assert.Equal(ElementIdBlind.Pack(hull), ElementIdBlind.Pack(hull2));
- Assert.Equal(ElementIdBlind.Pack(visual), ElementIdBlind.Pack(visual2));
- Assert.Equal(products.Length, products2.Length);
- Assert.Equal(new[] { copy }, Directory.GetFiles(directory.Path).Where(file => !file.EndsWith(".lock")).ToArray());
- }
-}
diff --git a/tests/Aetheria.Shared.Tests/EmissionTests.cs b/tests/Aetheria.Shared.Tests/EmissionTests.cs
index 68ee5854d..831f6f520 100644
--- a/tests/Aetheria.Shared.Tests/EmissionTests.cs
+++ b/tests/Aetheria.Shared.Tests/EmissionTests.cs
@@ -281,7 +281,7 @@ public sealed partial class ContactRevealTests
var reader = new MessagePackReader(sensor);
Assert.Equal(2, reader.ReadArrayHeader());
Assert.Equal(5, reader.ReadInt32());
- Assert.Equal(38, reader.ReadArrayHeader());
+ Assert.Equal(14, reader.ReadArrayHeader());
for (var slot = 0; slot < 13; slot++) reader.Skip();
Assert.Equal(2f, MessagePackSerializer.Deserialize(ref reader, EmissionWire).Min);
Assert.Equal(2f, JObject.Parse(JsonConvert.SerializeObject(new SensorData { InterceptFactor = Const(2) }))["interceptFactor"].ToObject().Min);
@@ -291,7 +291,7 @@ public sealed partial class ContactRevealTests
reader = new MessagePackReader(bytes);
Assert.Equal(2, reader.ReadArrayHeader());
reader.Skip(); // the arm's union index
- Assert.Equal(38, reader.ReadArrayHeader()); // 35 and 36 are the weapon base's EffectiveRange and DamageAtMaxRange, 37 the element id
+ Assert.Equal(37, reader.ReadArrayHeader()); // 35 and 36 are the weapon base's EffectiveRange and DamageAtMaxRange
for (var slot = 0; slot < 34; slot++) reader.Skip();
Assert.Equal(3f, MessagePackSerializer.Deserialize(ref reader, EmissionWire).Min);
Assert.Equal(3f, JObject.Parse(JsonConvert.SerializeObject(new LauncherData { InterceptFactor = Const(3) }))["interceptFactor"].ToObject().Min);
diff --git a/tests/Aetheria.Shared.Tests/FireControlPerWeaponTests.cs b/tests/Aetheria.Shared.Tests/FireControlPerWeaponTests.cs
index 95260b713..f2fc94777 100644
--- a/tests/Aetheria.Shared.Tests/FireControlPerWeaponTests.cs
+++ b/tests/Aetheria.Shared.Tests/FireControlPerWeaponTests.cs
@@ -85,7 +85,7 @@ public sealed class FireControlPerWeaponTests : IDisposable
(ItemRotation Rotation, float Arc)[] mounts = null, bool beam = false, WeaponFuse? fuse = null, float blast = 0f,
float range = 100f, float targetRange = 60f, float accuracy = 1f, float minHit = .2f, bool lockWeapon = false,
bool turret = false, float energy = 0f, float heat = 0f, float visibility = 0f, int magazine = 0, bool singleAmmoBurst = false, bool decoy = false, bool charged = false, bool auto = false, float damage = 100f,
- float effective = float.PositiveInfinity, float damageAtMax = 0f, float velocity = 0f, float targetLayerHeight = 0f, int? crates = null, float reload = 1f)
+ float effective = float.PositiveInfinity, float damageAtMax = 0f, float velocity = 0f, float targetLayerHeight = 0f)
{
mounts ??= new[] { (ItemRotation.None, 0f) };
var hullData = new HullData
@@ -144,20 +144,10 @@ public sealed class FireControlPerWeaponTests : IDisposable
behavior.Heat = Constant(heat);
behavior.Visibility = Constant(visibility);
behavior.MagazineSize = magazine;
- behavior.ReloadTime = reload;
var cache = AetheriaStores.Open(Catalog + Guid.NewGuid().ToString("N"), catalogWritable: true);
_openCaches.Add(cache);
cache.Upsert(new VerseGrammar { Revision = 1 });
- // An ammunition-fed weapon: it names the Missiles commodity, and the shooter carries `crates` of it in a bay.
- if (crates.HasValue)
- {
- var bayShape = new Shape(4, 4);
- foreach (var cell in bayShape.AllCoordinates) bayShape[cell] = true;
- cache.Upsert(new CargoBayData { Name = "Bay", Shape = new Shape(), InteriorShape = bayShape, Price = 20, Durability = 4 });
- cache.Upsert(new SimpleCommodityData { Name = "Missiles", Shape = new Shape(), Price = 1, MaxStack = 100 });
- behavior.AmmoType = new CultRecordRef(cache.RefOf(cache.GetByName("Missiles")).Key);
- }
cache.Upsert(hullData);
cache.Upsert(shooterHullData);
cache.Upsert(new WeaponItemData
@@ -230,13 +220,6 @@ public sealed class FireControlPerWeaponTests : IDisposable
var item = shooter.Equipment.Single(x => x.EquippableItem == d);
rig.Decoy = new Gun { Item = item, Weapon = (Weapon) item.Behaviors.Single(b => b is Weapon) };
}
- if (crates.HasValue)
- {
- var bay = new EquippedCargoBay(items, Make("Bay", lot++, 4), new int2(1, 1), shooter, "bay");
- shooter.CargoBays.Add(bay);
- if (crates.Value > 0)
- Assert.True(bay.TryStore(new SimpleCommodity { Data = items.ItemData.RefOf(items.ItemData.GetByName("Missiles")), Quantity = crates.Value }));
- }
var targeting = Make("Targeting", lot++, 1);
Assert.True(shooter.TryFindSpace(targeting, out var tpos));
Assert.True(shooter.TryEquip(targeting, tpos));
@@ -1323,131 +1306,4 @@ public sealed class FireControlPerWeaponTests : IDisposable
Assert.False(weapon.CanFire);
}
-
- // ==== Ruling ballistics-real-ammo: an ammunition-fed weapon pays a round per magazine reload, no free reload ====
-
- // One launcher-shaped weapon (magazine 2, reload 3 s, Missiles) held on its trigger at no target, `crates` of Missiles in the
- // hold. Returns the rig and a counter of committed shots.
- private (Rig Rig, Func Shots) AmmoRig(int crates, int magazine = 2)
- {
- var r = Build(fuse: WeaponFuse.Proximity, blast: 30f, range: 40f, magazine: magazine, auto: true, crates: crates, reload: 3f);
- r.Shooter.SetTarget(TargetRef.None);
- Aim(r, float2(0, 1));
- var shots = 0;
- r.Zone.ShotCommitted.Subscribe(_ => shots++);
- r.Gun.Weapon.Activate();
- return (r, () => shots);
- }
-
- private static void Run(Rig r, float seconds)
- {
- for (var t = 0f; t < seconds; t += .25f) { r.Gun.Weapon.Activate(); r.Zone.Update(.25f); }
- }
-
- // With no crate in the hold the magazine is fired once and the gun then stays empty, however long the trigger is held. Kills:
- // a reload that refills the magazine without taking a crate (UseAmmo or FinishCountdown refilling on the timer alone).
- [Fact]
- public void AnAmmunitionFedWeaponWithNoCratesFiresItsMagazineAndNoMore()
- {
- var (r, shots) = AmmoRig(crates: 0);
- Run(r, 30f);
- Assert.Equal(2, shots());
- Assert.Equal(0, r.Gun.Weapon.Ammo);
- }
-
- // One crate is one reload: after ReloadTime the full magazine fires again, the crate is gone, and then the gun is empty. Kills:
- // a reload that consumes no crate, or more than one, or refills a partial magazine.
- [Fact]
- public void OneCrateReloadsTheWholeMagazineOnceAfterTheReloadTime()
- {
- var (r, shots) = AmmoRig(crates: 1);
- Run(r, 2f);
- Assert.Equal(2, shots());
- Assert.Equal(1, r.Gun.Weapon.Reserve);
- Run(r, 30f);
- Assert.Equal(4, shots());
- Assert.Equal(0, r.Gun.Weapon.Reserve);
- Assert.Equal(0, r.Gun.Weapon.Ammo);
- }
-
- // The reserve a HUD shows is the cargo count of the weapon's ammunition, and it falls by one when the magazine reloads. Kills: a
- // Reserve that reads a constant, the wrong commodity, or a count that ignores the stack quantity.
- [Fact]
- public void TheReserveIsTheCargoCountOfTheAmmunitionAndFallsByOnePerReload()
- {
- var (r, shots) = AmmoRig(crates: 3);
- Assert.Equal(3, r.Gun.Weapon.Reserve);
- Assert.Equal(3, r.Shooter.CountItemsInCargo(r.Gun.Weapon.WeaponData.AmmoType.Key));
- Run(r, 2f);
- Assert.Equal(2, shots());
- Assert.Equal(3, r.Gun.Weapon.Reserve);
- Run(r, 3.5f);
- Assert.Equal(2, r.Gun.Weapon.Reserve);
- }
-
- // A weapon with no ammunition type has no reserve.
- [Fact]
- public void AWeaponThatDrawsNoAmmunitionHasNoReserve()
- {
- var r = Build(magazine: 2);
- Assert.Equal(0, r.Gun.Weapon.Reserve);
- }
-
- // A magazine weapon that names no ammunition still reloads free and keeps firing: only an AmmoType makes a reload cost a crate.
- // Kills: TakeReloadRound refusing when AmmoType is unset, which would silence every unfed magazine gun after one magazine.
- [Fact]
- public void AMagazineWeaponWithNoAmmunitionTypeStillReloadsFree()
- {
- var r = Build(fuse: WeaponFuse.Proximity, blast: 30f, range: 40f, magazine: 2, auto: true, reload: 3f);
- r.Shooter.SetTarget(TargetRef.None);
- Aim(r, float2(0, 1));
- var shots = 0;
- r.Zone.ShotCommitted.Subscribe(_ => shots++);
- Run(r, 30f);
- Assert.True(shots > 4, $"an unfed magazine weapon fires past its first magazine, fired {shots}");
- }
-
- // A weapon that names an AmmoType is magazine-fed whatever MagazineSize says (0 or 1 is a magazine of one): it fires one round, every
- // reload takes a crate, and with none it fires no more. Kills: UseAmmo/reload ignoring AmmoType at MagazineSize <= 1 (free fire, or
- // fire that never touches the cargo).
- [Theory]
- [InlineData(0)]
- [InlineData(1)]
- public void ASingleRoundAmmunitionFedWeaponFiresOnePerCrateAndNoMore(int magazine)
- {
- var (r, shots) = AmmoRig(crates: 2, magazine: magazine);
- Assert.Equal(1, r.Gun.Weapon.Ammo);
- Run(r, 2f);
- Assert.Equal(1, shots());
- Assert.Equal(2, r.Gun.Weapon.Reserve);
- Run(r, 30f);
- Assert.Equal(3, shots());
- Assert.Equal(0, r.Gun.Weapon.Reserve);
- Assert.Equal(0, r.Gun.Weapon.Ammo);
- }
-
- [Theory]
- [InlineData(0)]
- [InlineData(1)]
- public void ASingleRoundAmmunitionFedWeaponWithNoCrateFiresOnceAndNoMore(int magazine)
- {
- var (r, shots) = AmmoRig(crates: 0, magazine: magazine);
- Run(r, 30f);
- Assert.Equal(1, shots());
- }
-
- // With no AmmoType a magazine of 0 or 1 is no magazine: the weapon fires free, as before. Kills: the new rule leaking onto unfed weapons.
- [Theory]
- [InlineData(0)]
- [InlineData(1)]
- public void AWeaponWithNoAmmunitionTypeAndNoRealMagazineFiresFree(int magazine)
- {
- var r = Build(fuse: WeaponFuse.Proximity, blast: 30f, range: 40f, magazine: magazine, auto: true, reload: 3f);
- r.Shooter.SetTarget(TargetRef.None);
- Aim(r, float2(0, 1));
- var shots = 0;
- r.Zone.ShotCommitted.Subscribe(_ => shots++);
- Run(r, 30f);
- Assert.True(shots > 4, $"an unfed weapon fires on, fired {shots}");
- }
}
diff --git a/tests/Aetheria.Shared.Tests/HardpointOriginTests.cs b/tests/Aetheria.Shared.Tests/HardpointOriginTests.cs
deleted file mode 100644
index 6d5341ae9..000000000
--- a/tests/Aetheria.Shared.Tests/HardpointOriginTests.cs
+++ /dev/null
@@ -1,163 +0,0 @@
-using System.Collections.Generic;
-using System.Linq;
-using CultMath;
-using Xunit;
-using static CultMath.math;
-
-// Hardpoint gear holds the hardpoint it was seated in across save and reload: an origin two hardpoints accept is
-// resolved by the item's saved Rotation (HardpointData.Rotation), not by hardpoint declaration order.
-public sealed partial class RunStartTests
-{
- // Two disjoint ballistic hardpoints, A (None, cell (6,5)) and B (Reversed, cell (5,5)). The edge gun's single cell is
- // (1,0): origin (5,5) puts it at (6,5) unturned and at (5,5) turned 180 degrees, so both hardpoints take it there.
- private (HullData hull, HardpointData a, HardpointData b) TwinMountHull(string name)
- {
- var a = Mount(HardpointType.Ballistic, 6, 5, rotation: ItemRotation.None);
- var b = Mount(HardpointType.Ballistic, 5, 5, rotation: ItemRotation.Reversed);
- return (ScratchHull(name, 12, a, b), a, b);
- }
-
- [Fact]
- public void AnOriginTwoHardpointsAcceptReloadsIntoTheHardpointItHeld()
- {
- var (hull, _, b) = TwinMountHull("Origin Twin Mounts");
- var filler = ScratchGear("Origin Filler", HardpointType.Ballistic, 1, 1);
- var edge = ScratchGear("Origin Edge Gun", HardpointType.Ballistic, EdgeShape());
- var entity = BareHull(hull);
- Assert.True(entity.TryEquip(Instance(filler), int2(6, 5)));
- Assert.True(entity.TryEquip(Instance(edge), int2(5, 5)));
- var held = entity.Equipment.Single(i => i.Data == edge);
- Assert.Same(b, held.Hardpoint);
- Assert.Equal(ItemRotation.Reversed, held.EquippableItem.Rotation);
- // Un-equip the filler as a player would, then save and reload.
- entity.TryUnequip(entity.Equipment.Single(i => i.Data == filler));
-
- var reloaded = EntitySerializer.Unpack(_items, null, EntitySerializer.Pack(entity));
- var after = reloaded.Equipment.Single(i => i.Data == edge);
- Assert.Equal(1, reloaded.HullData.Hardpoints.IndexOf(after.Hardpoint));
- }
-
- [Fact]
- public void ReloadKeepsTheFirstHardpointToo()
- {
- var (hull, _, _) = TwinMountHull("Origin Twin Mounts First");
- var edge = ScratchGear("Origin Edge Gun First", HardpointType.Ballistic, EdgeShape());
- var entity = BareHull(hull);
- Assert.True(entity.TryEquip(Instance(edge), int2(5, 5)));
- Assert.Equal(ItemRotation.None, entity.Equipment.Single(i => i.Data == edge).EquippableItem.Rotation);
-
- var reloaded = EntitySerializer.Unpack(_items, null, EntitySerializer.Pack(entity));
- var after = reloaded.Equipment.Single(i => i.Data == edge);
- Assert.Equal(0, reloaded.HullData.Hardpoints.IndexOf(after.Hardpoint));
- }
-
- [Fact]
- public void AnItemWhoseRotationNamesNoAcceptingHardpointStillSeats()
- {
- var (hull, a, _) = TwinMountHull("Origin Twin Mounts Stray");
- var edge = ScratchGear("Origin Edge Gun Stray", HardpointType.Ballistic, EdgeShape());
- var entity = BareHull(hull);
- var item = Instance(edge);
- item.Rotation = ItemRotation.Clockwise;
- Assert.True(entity.ItemFits(item, int2(5, 5)));
- Assert.True(entity.TryEquip(item, int2(5, 5)));
- var held = entity.Equipment.Single(i => i.Data == edge);
- Assert.Same(a, held.Hardpoint);
- Assert.Equal(ItemRotation.None, held.EquippableItem.Rotation);
- }
-
- // A probe reports; only TryEquip seats. The probe used to turn the item to the hardpoint it found, so the same item
- // probed twice could resolve differently, and a failed or merely previewed placement left it turned.
- [Fact]
- public void AProbeLeavesTheItemsRotationAlone()
- {
- var (hull, a, b) = TwinMountHull("Origin Twin Mounts Probe");
- var edge = ScratchGear("Origin Edge Gun Probe", HardpointType.Ballistic, EdgeShape());
- var entity = BareHull(hull);
- var item = Instance(edge);
- item.Rotation = ItemRotation.Clockwise;
-
- Assert.True(entity.ItemFits(item, int2(5, 5)));
- Assert.Equal(ItemRotation.Clockwise, item.Rotation);
- Assert.True(entity.ItemFits(item, int2(5, 5), out var seated));
- Assert.Equal(ItemRotation.None, seated);
- Assert.Equal(ItemRotation.Clockwise, item.Rotation);
- Assert.True(entity.TryFindSpace(item, out _));
- Assert.Equal(ItemRotation.Clockwise, item.Rotation);
- Assert.False(entity.ItemFits(item, int2(0, 0), out var unseated));
- Assert.Equal(ItemRotation.Clockwise, unseated);
- Assert.Equal(ItemRotation.Clockwise, item.Rotation);
-
- Assert.True(entity.TryEquip(item, int2(5, 5)));
- var held = entity.Equipment.Single(i => i.Data == edge);
- Assert.Same(a, held.Hardpoint);
- Assert.Equal(ItemRotation.None, held.EquippableItem.Rotation);
-
- var reversed = Instance(edge);
- reversed.Rotation = ItemRotation.Reversed;
- var fresh = BareHull(hull);
- Assert.True(fresh.ItemFits(reversed, int2(5, 5), out var first));
- Assert.True(fresh.ItemFits(reversed, int2(5, 5), out var second));
- Assert.Equal(ItemRotation.Reversed, first);
- Assert.Equal(first, second);
- Assert.Equal(b.Rotation, first);
- }
-
- // A deployed entity takes no gear, so no probe reports a fit or a seat on one (the out overload's own guard).
- // Kills: a probe that ignores the deployed state and offers a placement TryEquip would then refuse.
- [Fact]
- public void ADeployedEntityTakesNoProbe()
- {
- var (hull, _, _) = TwinMountHull("Origin Twin Mounts Deployed");
- var edge = ScratchGear("Origin Edge Gun Deployed", HardpointType.Ballistic, EdgeShape());
- var entity = BareHull(hull);
- var item = Instance(edge);
- item.Rotation = ItemRotation.Clockwise;
- Assert.True(entity.ItemFits(item, int2(5, 5), out _));
-
- var zone = Arena(false);
- entity.Zone = zone;
- zone.Admit(entity, piloted: false);
- Assert.False(entity.ItemFits(item, int2(5, 5), out var seated));
- Assert.Equal(ItemRotation.Clockwise, seated);
- Assert.False(entity.ItemFits(item, int2(5, 5)));
- Assert.False(entity.TryEquip(item, int2(5, 5)));
- }
-}
-
-// The shipped catalog authors no origin that two differently turned hardpoints of one type both take. The fit rule alone
-// over-approximates what Entity.HardpointAt sees (occupancy only removes candidates), so zero here is stricter than needed.
-public sealed class ShippedHardpointOriginTests
-{
- [Fact]
- public void TheShippedCatalogHasNoAmbiguousOrigin()
- {
- using var cache = RestoredHullsTests.OpenCatalog();
- var designs = cache.GetAll