Rebrand as Big Ship Tycoon and add crew operations
This commit is contained in:
BIN
Assets/Soundings/Resources/Art/BigShipTycoonTitle.png
Normal file
BIN
Assets/Soundings/Resources/Art/BigShipTycoonTitle.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.4 MiB |
132
Assets/Soundings/Resources/Art/BigShipTycoonTitle.png.meta
Normal file
132
Assets/Soundings/Resources/Art/BigShipTycoonTitle.png.meta
Normal file
@@ -0,0 +1,132 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7440bcd7f41a2149db9698437b36b053
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 13
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 1
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 0
|
||||
wrapV: 0
|
||||
wrapW: 0
|
||||
nPOTScale: 1
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 0
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 0
|
||||
spriteTessellationMethod: 0
|
||||
spriteTessellationDetail: -1
|
||||
spriteGeometrySubdivision: -1
|
||||
textureType: 0
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 4
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 4
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 4
|
||||
buildTarget: WebGL
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID:
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
8
Assets/Soundings/Resources/Audio/Deck.meta
Normal file
8
Assets/Soundings/Resources/Audio/Deck.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 462d73a09a93412aaaf2d826961a9a88
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/Soundings/Resources/Audio/Deck/Bridge.ogg
Normal file
BIN
Assets/Soundings/Resources/Audio/Deck/Bridge.ogg
Normal file
Binary file not shown.
23
Assets/Soundings/Resources/Audio/Deck/Bridge.ogg.meta
Normal file
23
Assets/Soundings/Resources/Audio/Deck/Bridge.ogg.meta
Normal file
@@ -0,0 +1,23 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b5399a2dabca451a9420ac9d016cb0bc
|
||||
AudioImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 8
|
||||
defaultSettings:
|
||||
serializedVersion: 2
|
||||
loadType: 0
|
||||
sampleRateSetting: 0
|
||||
sampleRateOverride: 24000
|
||||
compressionFormat: 1
|
||||
quality: 0.85
|
||||
conversionMode: 0
|
||||
preloadAudioData: 1
|
||||
platformSettingOverrides: {}
|
||||
forceToMono: 0
|
||||
normalize: 0
|
||||
loadInBackground: 0
|
||||
ambisonic: 0
|
||||
3D: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/Soundings/Resources/Audio/Deck/Crowd.ogg
Normal file
BIN
Assets/Soundings/Resources/Audio/Deck/Crowd.ogg
Normal file
Binary file not shown.
23
Assets/Soundings/Resources/Audio/Deck/Crowd.ogg.meta
Normal file
23
Assets/Soundings/Resources/Audio/Deck/Crowd.ogg.meta
Normal file
@@ -0,0 +1,23 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 389f87ac38d241e88d88c1eb4fe82b3f
|
||||
AudioImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 8
|
||||
defaultSettings:
|
||||
serializedVersion: 2
|
||||
loadType: 0
|
||||
sampleRateSetting: 0
|
||||
sampleRateOverride: 24000
|
||||
compressionFormat: 1
|
||||
quality: 0.85
|
||||
conversionMode: 0
|
||||
preloadAudioData: 1
|
||||
platformSettingOverrides: {}
|
||||
forceToMono: 0
|
||||
normalize: 0
|
||||
loadInBackground: 0
|
||||
ambisonic: 0
|
||||
3D: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/Soundings/Resources/Audio/Deck/Deck.ogg
Normal file
BIN
Assets/Soundings/Resources/Audio/Deck/Deck.ogg
Normal file
Binary file not shown.
23
Assets/Soundings/Resources/Audio/Deck/Deck.ogg.meta
Normal file
23
Assets/Soundings/Resources/Audio/Deck/Deck.ogg.meta
Normal file
@@ -0,0 +1,23 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1904d6042dfe487690d9a10ad59b14a8
|
||||
AudioImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 8
|
||||
defaultSettings:
|
||||
serializedVersion: 2
|
||||
loadType: 0
|
||||
sampleRateSetting: 0
|
||||
sampleRateOverride: 24000
|
||||
compressionFormat: 1
|
||||
quality: 0.85
|
||||
conversionMode: 0
|
||||
preloadAudioData: 1
|
||||
platformSettingOverrides: {}
|
||||
forceToMono: 0
|
||||
normalize: 0
|
||||
loadInBackground: 0
|
||||
ambisonic: 0
|
||||
3D: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/Soundings/Resources/Audio/Deck/Dining.ogg
Normal file
BIN
Assets/Soundings/Resources/Audio/Deck/Dining.ogg
Normal file
Binary file not shown.
23
Assets/Soundings/Resources/Audio/Deck/Dining.ogg.meta
Normal file
23
Assets/Soundings/Resources/Audio/Deck/Dining.ogg.meta
Normal file
@@ -0,0 +1,23 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 125654259c8d4f78959a6d9247a51954
|
||||
AudioImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 8
|
||||
defaultSettings:
|
||||
serializedVersion: 2
|
||||
loadType: 0
|
||||
sampleRateSetting: 0
|
||||
sampleRateOverride: 24000
|
||||
compressionFormat: 1
|
||||
quality: 0.85
|
||||
conversionMode: 0
|
||||
preloadAudioData: 1
|
||||
platformSettingOverrides: {}
|
||||
forceToMono: 0
|
||||
normalize: 0
|
||||
loadInBackground: 0
|
||||
ambisonic: 0
|
||||
3D: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/Soundings/Resources/Audio/Deck/Entertainment.ogg
Normal file
BIN
Assets/Soundings/Resources/Audio/Deck/Entertainment.ogg
Normal file
Binary file not shown.
23
Assets/Soundings/Resources/Audio/Deck/Entertainment.ogg.meta
Normal file
23
Assets/Soundings/Resources/Audio/Deck/Entertainment.ogg.meta
Normal file
@@ -0,0 +1,23 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f6a5400a8a0a46c99a161c56adf5843f
|
||||
AudioImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 8
|
||||
defaultSettings:
|
||||
serializedVersion: 2
|
||||
loadType: 0
|
||||
sampleRateSetting: 0
|
||||
sampleRateOverride: 24000
|
||||
compressionFormat: 1
|
||||
quality: 0.85
|
||||
conversionMode: 0
|
||||
preloadAudioData: 1
|
||||
platformSettingOverrides: {}
|
||||
forceToMono: 0
|
||||
normalize: 0
|
||||
loadInBackground: 0
|
||||
ambisonic: 0
|
||||
3D: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/Soundings/Resources/Audio/Deck/Galley.ogg
Normal file
BIN
Assets/Soundings/Resources/Audio/Deck/Galley.ogg
Normal file
Binary file not shown.
23
Assets/Soundings/Resources/Audio/Deck/Galley.ogg.meta
Normal file
23
Assets/Soundings/Resources/Audio/Deck/Galley.ogg.meta
Normal file
@@ -0,0 +1,23 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7e7e1480340543c185a8d3155f0741bd
|
||||
AudioImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 8
|
||||
defaultSettings:
|
||||
serializedVersion: 2
|
||||
loadType: 0
|
||||
sampleRateSetting: 0
|
||||
sampleRateOverride: 24000
|
||||
compressionFormat: 1
|
||||
quality: 0.85
|
||||
conversionMode: 0
|
||||
preloadAudioData: 1
|
||||
platformSettingOverrides: {}
|
||||
forceToMono: 0
|
||||
normalize: 0
|
||||
loadInBackground: 0
|
||||
ambisonic: 0
|
||||
3D: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/Soundings/Resources/Audio/Deck/Laundry.ogg
Normal file
BIN
Assets/Soundings/Resources/Audio/Deck/Laundry.ogg
Normal file
Binary file not shown.
23
Assets/Soundings/Resources/Audio/Deck/Laundry.ogg.meta
Normal file
23
Assets/Soundings/Resources/Audio/Deck/Laundry.ogg.meta
Normal file
@@ -0,0 +1,23 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f916c99807e0462792a674fa9ce7794d
|
||||
AudioImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 8
|
||||
defaultSettings:
|
||||
serializedVersion: 2
|
||||
loadType: 0
|
||||
sampleRateSetting: 0
|
||||
sampleRateOverride: 24000
|
||||
compressionFormat: 1
|
||||
quality: 0.85
|
||||
conversionMode: 0
|
||||
preloadAudioData: 1
|
||||
platformSettingOverrides: {}
|
||||
forceToMono: 0
|
||||
normalize: 0
|
||||
loadInBackground: 0
|
||||
ambisonic: 0
|
||||
3D: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/Soundings/Resources/Audio/Deck/Machinery.ogg
Normal file
BIN
Assets/Soundings/Resources/Audio/Deck/Machinery.ogg
Normal file
Binary file not shown.
23
Assets/Soundings/Resources/Audio/Deck/Machinery.ogg.meta
Normal file
23
Assets/Soundings/Resources/Audio/Deck/Machinery.ogg.meta
Normal file
@@ -0,0 +1,23 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b2d19631d885481fa19b292fcb999a46
|
||||
AudioImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 8
|
||||
defaultSettings:
|
||||
serializedVersion: 2
|
||||
loadType: 0
|
||||
sampleRateSetting: 0
|
||||
sampleRateOverride: 24000
|
||||
compressionFormat: 1
|
||||
quality: 0.85
|
||||
conversionMode: 0
|
||||
preloadAudioData: 1
|
||||
platformSettingOverrides: {}
|
||||
forceToMono: 0
|
||||
normalize: 0
|
||||
loadInBackground: 0
|
||||
ambisonic: 0
|
||||
3D: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/Soundings/Resources/Audio/Deck/Pool.ogg
Normal file
BIN
Assets/Soundings/Resources/Audio/Deck/Pool.ogg
Normal file
Binary file not shown.
23
Assets/Soundings/Resources/Audio/Deck/Pool.ogg.meta
Normal file
23
Assets/Soundings/Resources/Audio/Deck/Pool.ogg.meta
Normal file
@@ -0,0 +1,23 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 763d9bccdb2f49c3aee5816917965bcc
|
||||
AudioImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 8
|
||||
defaultSettings:
|
||||
serializedVersion: 2
|
||||
loadType: 0
|
||||
sampleRateSetting: 0
|
||||
sampleRateOverride: 24000
|
||||
compressionFormat: 1
|
||||
quality: 0.85
|
||||
conversionMode: 0
|
||||
preloadAudioData: 1
|
||||
platformSettingOverrides: {}
|
||||
forceToMono: 0
|
||||
normalize: 0
|
||||
loadInBackground: 0
|
||||
ambisonic: 0
|
||||
3D: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/Soundings/Resources/Audio/Deck/Retail.ogg
Normal file
BIN
Assets/Soundings/Resources/Audio/Deck/Retail.ogg
Normal file
Binary file not shown.
23
Assets/Soundings/Resources/Audio/Deck/Retail.ogg.meta
Normal file
23
Assets/Soundings/Resources/Audio/Deck/Retail.ogg.meta
Normal file
@@ -0,0 +1,23 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0e21916e6ac24b96bc97f7820c2bceef
|
||||
AudioImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 8
|
||||
defaultSettings:
|
||||
serializedVersion: 2
|
||||
loadType: 0
|
||||
sampleRateSetting: 0
|
||||
sampleRateOverride: 24000
|
||||
compressionFormat: 1
|
||||
quality: 0.85
|
||||
conversionMode: 0
|
||||
preloadAudioData: 1
|
||||
platformSettingOverrides: {}
|
||||
forceToMono: 0
|
||||
normalize: 0
|
||||
loadInBackground: 0
|
||||
ambisonic: 0
|
||||
3D: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
60
Assets/Soundings/Resources/CrewOffice.uss
Normal file
60
Assets/Soundings/Resources/CrewOffice.uss
Normal file
@@ -0,0 +1,60 @@
|
||||
.crew-office {
|
||||
position: absolute;
|
||||
left: 5%; right: 5%; top: 97px; bottom: 91px;
|
||||
align-items: center;
|
||||
}
|
||||
.crew-sheet {
|
||||
width: 1050px;
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
padding: 20px 25px;
|
||||
background-color: #122933;
|
||||
border-width: 1px;
|
||||
border-top-width: 2px;
|
||||
border-color: #8e8265;
|
||||
border-top-color: #d1ae6d;
|
||||
}
|
||||
.crew-heading { flex-direction: row; align-items: center; justify-content: space-between; }
|
||||
.crew-identity { min-width: 0; flex-grow: 1; }
|
||||
.crew-kicker { color: #e1c588; letter-spacing: 1px; font-size: 10px; -unity-font-style: bold; }
|
||||
.crew-title { color: #f1e7cc; font-size: 44px; margin: 0 0 2px; }
|
||||
.crew-ship { color: #c4d9d6; font-size: 15px; }
|
||||
.crew-office-budget { flex-direction: row; margin-right: 16px; }
|
||||
.crew-stat { padding: 6px 14px; margin-left: 7px; border-left-width: 1px; border-color: #496166; }
|
||||
.crew-stat-value { color: #f0ddb2; font-size: 28px; }
|
||||
.action.crew-fleet { margin-left: 9px; min-height: 32px; }
|
||||
.crew-table { margin-top: 15px; flex-shrink: 1; }
|
||||
.crew-columns, .crew-row { flex-direction: row; align-items: center; padding: 6px 10px; }
|
||||
.crew-columns { background-color: #0e222d; }
|
||||
.crew-row { min-height: 65px; border-bottom-width: 1px; border-color: #3d565c; background-color: #17303a; }
|
||||
.crew-row:hover { background-color: #1b3740; }
|
||||
.crew-department { flex-grow: 1; min-width: 0; margin-right: 10px; }
|
||||
.crew-department-name { color: #f1e2c3; font-size: 21px; }
|
||||
.crew-counts { width: 143px; flex-shrink: 0; }
|
||||
.crew-count { color: #b4dfcc; font-size: 16px; -unity-font-style: bold; }
|
||||
.crew-short { color: #f3bb86; }
|
||||
.crew-wage, .crew-note, .crew-office-footer { color: #aec8c7; font-size: 12px; white-space: normal; }
|
||||
.crew-row-actions { width: 200px; flex-shrink: 0; }
|
||||
.crew-actions { flex-direction: row; justify-content: flex-end; }
|
||||
.action.crew-hire, .action.crew-release { min-height: 31px; font-size: 12px; padding: 4px 9px; margin-left: 5px; }
|
||||
.action.crew-hire { color: #f0d6a1; border-color: #9e8659; background-color: #304444; }
|
||||
.action.crew-hire:hover { background-color: #46564b; }
|
||||
.crew-office-footer { margin-top: 12px; }
|
||||
.crew-manifest-overlay {
|
||||
position: absolute;
|
||||
left: 0; right: 0; top: 0; bottom: 0;
|
||||
align-items: center; justify-content: center;
|
||||
background-color: rgba(4, 11, 17, .67);
|
||||
}
|
||||
.crew-manifest {
|
||||
width: 490px; max-width: 88%;
|
||||
padding: 21px 25px;
|
||||
background-color: #132b36;
|
||||
border-width: 1px;
|
||||
border-top-width: 2px;
|
||||
border-color: #ac9565;
|
||||
}
|
||||
.crew-manifest-roster { margin: 12px 0; }
|
||||
.crew-manifest-row { flex-direction: row; justify-content: space-between; align-items: center; padding: 5px 0; border-bottom-width: 1px; border-color: #4c6061; }
|
||||
.crew-manifest-role, .crew-manifest-payroll { color: #e8dfc8; font-size: 14px; }
|
||||
.crew-manifest-payroll { margin: 1px 0 6px; }
|
||||
12
Assets/Soundings/Resources/CrewOffice.uss.meta
Normal file
12
Assets/Soundings/Resources/CrewOffice.uss.meta
Normal file
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d60b7c013e37ed114a2336e6482fb100
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
|
||||
disableValidation: 0
|
||||
unsupportedSelectorAction: 0
|
||||
@@ -9,6 +9,8 @@ Shader "Soundings/Harbor Surface"
|
||||
_Weather ("Weathering", Range(0,1)) = .1
|
||||
_Finish ("Surface finish", Float) = 0
|
||||
_Waterline ("Opaque hull at the waterline", Float) = 0
|
||||
_TileFrequency ("Tiles per meter", Float) = 0
|
||||
_FabricMotif ("Woven floor motif", Range(0,1)) = 0
|
||||
}
|
||||
SubShader
|
||||
{
|
||||
@@ -24,8 +26,9 @@ Shader "Soundings/Harbor Surface"
|
||||
|
||||
fixed4 _Color;
|
||||
float _Roughness, _Metal, _Emissive, _Weather, _Finish, _Waterline;
|
||||
float _TileFrequency, _FabricMotif;
|
||||
float _SoundingsSeaWeather, _SoundingsSeaSailing, _SoundingsSeaTime;
|
||||
struct Input { float4 vertex : POSITION; float3 normal : NORMAL; };
|
||||
struct Input { float4 vertex : POSITION; float3 normal : NORMAL; float4 basin : TEXCOORD0; };
|
||||
struct Output
|
||||
{
|
||||
float4 clip : SV_POSITION;
|
||||
@@ -33,6 +36,7 @@ Shader "Soundings/Harbor Surface"
|
||||
float3 world : TEXCOORD1;
|
||||
float3 local : TEXCOORD2;
|
||||
float3 localNormal : TEXCOORD3;
|
||||
float4 basin : TEXCOORD4;
|
||||
};
|
||||
|
||||
Output vert(Input input)
|
||||
@@ -43,6 +47,7 @@ Shader "Soundings/Harbor Surface"
|
||||
output.world = mul(unity_ObjectToWorld, input.vertex).xyz;
|
||||
output.local = input.vertex.xyz;
|
||||
output.localNormal = input.normal;
|
||||
output.basin = input.basin;
|
||||
return output;
|
||||
}
|
||||
|
||||
@@ -81,7 +86,9 @@ Shader "Soundings/Harbor Surface"
|
||||
float fibre = crossGrain * 53 + .73 * sin(p.x * 2.8 + crossGrain * 32);
|
||||
float grain = sin(fibre) * Detail(crossGrain * 8.4);
|
||||
float seams = Groove(across, .014) + Groove(p.x * .383 + frac(row * .381966), .0026);
|
||||
tone = 1 + plank * .16 * Detail(across) + grain * .052 - seams * lerp(.12, .27, horizontal);
|
||||
float wear = sin(p.x * 2.2 + crossGrain * 2.9) * cos(crossGrain * 8.2 - p.x * 1.9);
|
||||
tone = 1 + plank * .19 * Detail(across) + grain * .055 - seams * lerp(.12, .27, horizontal)
|
||||
+ wear * .036 * _Weather;
|
||||
}
|
||||
else if (_Finish == 3)
|
||||
{
|
||||
@@ -89,6 +96,13 @@ Shader "Soundings/Harbor Surface"
|
||||
float weave = cos(p.x * 142) * cos(crossFibre * 153) * Detail(crossFibre * 24.4) * Detail(p.x * 22.6);
|
||||
float mottling = sin(p.x * 11 + crossFibre * 16) * sin(p.x * 23 - crossFibre * 13);
|
||||
tone = 1 + .037 * weave + .028 * mottling * Detail(p.x * 3.7);
|
||||
if (_FabricMotif > .01)
|
||||
{
|
||||
float2 diamonds = float2(p.x + crossFibre, p.x - crossFibre) * 1.83;
|
||||
float braid = Groove(diamonds.x, .065) * .046 + Groove(diamonds.y, .065) * .046;
|
||||
float inset = Groove(diamonds.x + .5, .08) * Groove(diamonds.y + .5, .08) * .19;
|
||||
tone += (braid + inset - .026) * _FabricMotif;
|
||||
}
|
||||
}
|
||||
else if (_Finish == 4)
|
||||
{
|
||||
@@ -99,24 +113,58 @@ Shader "Soundings/Harbor Surface"
|
||||
else if (_Finish == 5)
|
||||
{
|
||||
float along = p.x + p.z * .42;
|
||||
float plateRow = floor(p.y * .86);
|
||||
float plateAlong = along * .23 + plateRow * .5;
|
||||
float irregular = PanelShade(float2(floor(plateAlong), plateRow)) - .5;
|
||||
float runoff = sin(along * 9.1 + sin(along * 2.1)) * sin(along * 2.9 - .2 * p.y);
|
||||
float plates = Groove(p.y * .86, .005) + Groove(along * .23 + floor(p.y * .86) * .5, .0038);
|
||||
float plates = Groove(p.y * .86, .008) + Groove(plateAlong, .005);
|
||||
float salt = 1 - smoothstep(-.04, .82, p.y);
|
||||
tone = 1 + salt * .11 + (paint * .1 + runoff * .18 * Detail(along * 1.45) - plates * .16) * _Weather;
|
||||
tone = 1 + salt * .15
|
||||
+ (irregular * .25 + paint * .1 + runoff * .21 * Detail(along * 1.45) - plates * .21) * _Weather;
|
||||
}
|
||||
if (_TileFrequency > 0)
|
||||
{
|
||||
float3 axis = abs(normal);
|
||||
float2 face = axis.y > .57 ? p.xz : axis.x > axis.z ? p.zy : p.xy;
|
||||
float2 grout = face * _TileFrequency;
|
||||
float tileVariation = (PanelShade(floor(grout)) - .5) * Detail(grout.x) * Detail(grout.y);
|
||||
tone *= 1 + tileVariation * .18 - max(Groove(grout.x, .036), Groove(grout.y, .036)) * .31;
|
||||
}
|
||||
return tone;
|
||||
}
|
||||
|
||||
float3 PoolColor(float3 world, float4 basin, float3 normal, float3 eye, float3 sky, float glint, float fresnel)
|
||||
{
|
||||
// Unmapped water is used for small fountains. Pool caps carry distance to their own basin edges.
|
||||
if (basin.z < .01)
|
||||
return _Color.rgb * .73 + sky * (.20 + fresnel * .42) + glint * .43;
|
||||
float edge = min(basin.z - abs(basin.x), basin.w - abs(basin.y));
|
||||
float shallow = 1 - smoothstep(.015, .86, edge);
|
||||
float bottomShade = lerp(.73, 1, smoothstep(-.01, .14, edge));
|
||||
float2 p = world.xz;
|
||||
float time = _Time.y;
|
||||
float2 wave = float2(p.x * 2.29 + p.y * 1.88, p.y * 2.63 - p.x * 1.03);
|
||||
wave.x += .17 * sin(p.y * 6.3 - time * 1.7) + time * .22;
|
||||
wave.y += .13 * sin(p.x * 5.04 + time * 1.52) - time * .31;
|
||||
float distance = min(abs(frac(wave.x) - .5), abs(frac(wave.y) - .5));
|
||||
float feather = max(max(fwidth(wave.x), fwidth(wave.y)) * .69, .029);
|
||||
float caustic = (1 - smoothstep(.021, .027 + feather, distance)) * Detail(wave.x) * Detail(wave.y);
|
||||
float3 body = _Color.rgb * lerp(float3(.52,.68,.83), float3(1.14,1.39,1.37), shallow);
|
||||
float3 teal = body * bottomShade + caustic * float3(.07,.15,.13) * lerp(.45, 1, shallow);
|
||||
float waterFresnel = .06 + pow(1 - saturate(dot(eye, normal)), 5) * .54;
|
||||
return lerp(teal, sky * 1.15, waterFresnel) + glint * float3(.57,.61,.65);
|
||||
}
|
||||
|
||||
fixed4 frag(Output input) : SV_Target
|
||||
{
|
||||
float3 normal = normalize(input.normal);
|
||||
if (_Finish == 6)
|
||||
{
|
||||
float2 p = input.local.xz;
|
||||
float2 p = input.world.xz;
|
||||
float rippleX = p.x * 5.7 + p.y * 2.2 - _Time.y * 2.7;
|
||||
float rippleZ = p.y * 8.3 - p.x * 1.3 + _Time.y * 3.1;
|
||||
float3 ripple = float3(sin(rippleX) * Detail(p.x * .91), 0, sin(rippleZ) * Detail(p.y * 1.32));
|
||||
normal = normalize(normal + mul((float3x3)unity_ObjectToWorld, ripple) * .085);
|
||||
normal = normalize(normal + ripple * .095);
|
||||
}
|
||||
float3 eye = unity_OrthoParams.w > .5 ? UNITY_MATRIX_V[2].xyz
|
||||
: normalize(_WorldSpaceCameraPos.xyz - input.world);
|
||||
@@ -131,6 +179,8 @@ Shader "Soundings/Harbor Surface"
|
||||
float sunsetStripe = smoothstep(-.08,.13,reflected.y) * (1 - smoothstep(.13,.42,reflected.y));
|
||||
float3 skyReflection = lerp(float3(.11,.19,.27), float3(.39,.48,.60), saturate(reflected.y))
|
||||
+ sunsetStripe * float3(.20,.12,.061);
|
||||
if (_Finish == 6)
|
||||
return fixed4(saturate(PoolColor(input.world, input.basin, normal, eye, skyReflection, specular, fresnel)), 1);
|
||||
float overcast = _SoundingsSeaWeather * _SoundingsSeaSailing;
|
||||
float3 direct = lerp(float3(.58,.46,.34), float3(.20,.24,.28), overcast);
|
||||
float3 light = lerp(float3(.26,.34,.43), float3(.62,.69,.75), sky) + sunlight * direct;
|
||||
@@ -142,18 +192,19 @@ Shader "Soundings/Harbor Surface"
|
||||
? OceanWave(input.world.xz, _SoundingsSeaTime, _SoundingsSeaWeather).x : 0;
|
||||
float aboveWater = input.world.y - level;
|
||||
clip(aboveWater);
|
||||
diffuse *= lerp(.73, 1, smoothstep(0, .62, aboveWater));
|
||||
diffuse *= lerp(.60, 1, smoothstep(0, .64, aboveWater));
|
||||
diffuse += skyReflection * (.12 * (1 - smoothstep(.04,.67,aboveWater)) * (.26 + fresnel * .62));
|
||||
}
|
||||
if (_Finish == 2)
|
||||
{
|
||||
float horizon = 1 - smoothstep(.005, .067 + _Roughness * .12, abs(reflected.y - .025));
|
||||
float3 glazing = skyReflection * (.30 + fresnel * .62) + float3(.21,.32,.36) * horizon * .28;
|
||||
float roofReflection = smoothstep(.21, .28, reflected.y) * (1 - smoothstep(.31, .44, reflected.y));
|
||||
float3 glazing = skyReflection * (.34 + fresnel * .66) + float3(.21,.32,.36) * horizon * .37
|
||||
+ float3(.18,.23,.25) * roofReflection * .12;
|
||||
float facing = smoothstep(-.12, .49, reflected.y);
|
||||
float3 glass = diffuse * (.47 + facing * .30) + glazing + specular * float3(.65,.55,.41) * .33;
|
||||
return fixed4(saturate(lerp(glass, diffuse + glazing * .32 + _Color.rgb * .22, _Emissive)), 1);
|
||||
}
|
||||
if (_Finish == 6)
|
||||
return fixed4(saturate(diffuse * .81 + skyReflection * (.24 + fresnel * .61) + specular * .44), 1);
|
||||
float3 shine = skyReflection * (.045 + fresnel * .21 + _Metal * .16) * (1 - _Roughness * .56)
|
||||
+ specular * float3(.73,.60,.43) * (.10 + .47 * _Metal) * saturate(3 * sunlight);
|
||||
return fixed4(saturate(diffuse + shine + _Color.rgb * _Emissive * .53), 1);
|
||||
|
||||
@@ -69,11 +69,22 @@ Label { margin: 0; padding: 0; }
|
||||
.title-crest { flex-direction: row; align-items: center; }
|
||||
.title-kicker { margin-left: 8px; color: #d9c18e; font-size: 13px; letter-spacing: 2px; }
|
||||
.title-wordmark {
|
||||
margin: 3px 0 24px;
|
||||
}
|
||||
.title-wordmark-lead, .title-wordmark-main {
|
||||
color: #f0e5ca;
|
||||
font-size: 106px;
|
||||
margin: -8px 0 26px;
|
||||
text-shadow: 1px 3px 8px rgba(0, 0, 0, .7);
|
||||
}
|
||||
.title-wordmark-line { flex-direction: row; align-items: center; }
|
||||
.title-wordmark-lead { font-size: 72px; }
|
||||
.title-wordmark-main { font-size: 85px; margin-top: -13px; color: #f3d79b; }
|
||||
.title-overpaint { position: relative; margin-left: -3px; }
|
||||
.title-underpaint { color: #a49c85; }
|
||||
.title-spray-letter { position: absolute; left: -7px; top: 0; width: 63px; height: 82px; }
|
||||
.title-thumbnail { top: 12%; bottom: 12%; }
|
||||
.title-thumbnail .title-wordmark-lead { font-size: 91px; }
|
||||
.title-thumbnail .title-wordmark-main { font-size: 105px; }
|
||||
.title-thumbnail .title-spray-letter { width: 76px; height: 102px; }
|
||||
.career-option, .title-command {
|
||||
padding: 12px 16px;
|
||||
margin-bottom: 10px;
|
||||
@@ -161,6 +172,7 @@ Label { margin: 0; padding: 0; }
|
||||
.helm-orders { position: absolute; right: 44px; bottom: 108px; align-items: flex-end; }
|
||||
.helm-command { min-height: 51px; min-width: 167px; padding: 5px 13px 5px 40px; font-size: 17px; }
|
||||
.helm-command .game-icon { position: absolute; left: 11px; top: 10px; height: 25px; width: 25px; }
|
||||
.action.harbor-crew-link { margin-top: 5px; min-height: 30px; color: #eddbb5; }
|
||||
.harbor-empty { position: absolute; left: 44px; bottom: 108px; align-items: flex-start; }
|
||||
.harbor-empty .helm-command { padding-left: 13px; }
|
||||
.camera-legend { flex-direction: row; align-items: center; margin-top: 5px; }
|
||||
|
||||
Reference in New Issue
Block a user