Build Soundings cruise management simulator

This commit is contained in:
josh
2026-11-27 20:50:28 -05:00
parent 250dc988a3
commit ba7902dd5e
88 changed files with 6226 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: aa1059e890605c9b0a52b1cfe8e1ad3b
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 MiB

View File

@@ -0,0 +1,132 @@
fileFormatVersion: 2
guid: e01c46595e8600400a97111226d3c524
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: 4096
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 0
wrapV: 0
wrapW: 0
nPOTScale: 0
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: 4096
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: 4096
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: 4096
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:

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 MiB

View File

@@ -0,0 +1,132 @@
fileFormatVersion: 2
guid: 698e381f301f3c6f28a45bc5bdbd1aff
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: 4096
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 0
wrapV: 0
wrapW: 0
nPOTScale: 0
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: 4096
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: 4096
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: 4096
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:

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 MiB

View File

@@ -0,0 +1,132 @@
fileFormatVersion: 2
guid: 79d810021c034907a351af61c6665d0f
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: 4096
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 0
wrapV: 0
wrapW: 0
nPOTScale: 0
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: 4096
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: 4096
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: 4096
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:

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 MiB

View File

@@ -0,0 +1,132 @@
fileFormatVersion: 2
guid: a31e0e1c639440aa9b577d18030caaf8
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: 4096
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 0
wrapV: 0
wrapW: 0
nPOTScale: 0
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: 4096
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: 4096
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: 4096
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:

View File

@@ -0,0 +1,101 @@
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.
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:
http://scripts.sil.org/OFL
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.

View File

@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 01fc2bf4938ed9d70914e70de7bd817b
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

View File

@@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: 2c84b0e6a19b54cf387171ed414e5afa
TrueTypeFontImporter:
externalObjects: {}
serializedVersion: 4
fontSize: 16
forceTextureCase: -2
characterSpacing: 0
characterPadding: 1
includeFontData: 1
fontNames:
- Liberation Serif
fallbackFontReferences: []
customCharacters:
fontRenderingMode: 0
ascentCalculationMode: 1
useLegacyBoundsCalculation: 0
shouldRoundAdvanceValue: 1
subsetRecipes: []
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,45 @@
Shader "Soundings/Harbor Reflection"
{
Properties
{
_Color ("Paint", Color) = (1,1,1,1)
}
SubShader
{
Tags { "Queue"="Background+3" "RenderType"="Transparent" }
Pass
{
Cull Off
ZWrite Off
Blend SrcAlpha OneMinusSrcAlpha
CGPROGRAM
#pragma vertex vert
#pragma fragment frag
#include "UnityCG.cginc"
fixed4 _Color;
struct Output { float4 clip : SV_POSITION; float3 world : TEXCOORD0; };
Output vert(appdata_base input)
{
Output output;
float4 worldPosition = mul(unity_ObjectToWorld, input.vertex);
worldPosition.y = -worldPosition.y * .59;
worldPosition.z += sin(worldPosition.x * .53 + worldPosition.y * 2.14 + _Time.y * 1.55) * .27;
worldPosition.x += sin(worldPosition.y * .88 - _Time.y) * .29;
output.clip = UnityWorldToClipPos(worldPosition.xyz);
output.world = worldPosition.xyz;
return output;
}
fixed4 frag(Output input) : SV_Target
{
clip(-input.world.y);
float breakup = .48 + .38 * sin(input.world.y * 14 + input.world.x * .62 - _Time.y * 1.02);
float alpha = saturate(1 + input.world.y / 7.5) * breakup * .34;
return fixed4(_Color.rgb * float3(.51,.60,.64), alpha);
}
ENDCG
}
}
}

View File

@@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: 1eb58811a3bfa28f7ab593e087627bff
ShaderImporter:
externalObjects: {}
defaultTextures: []
nonModifiableTextures: []
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,63 @@
Shader "Soundings/Harbor Surface"
{
Properties
{
_Color ("Paint", Color) = (1,1,1,1)
_Roughness ("Roughness", Range(.02,1)) = .42
_Metal ("Metal", Range(0,1)) = 0
_Emissive ("Emission", Range(0,1)) = 0
_Weather ("Weathering", Range(0,1)) = .1
}
SubShader
{
Tags { "RenderType"="Opaque" }
Pass
{
CGPROGRAM
#pragma vertex vert
#pragma fragment frag
#include "UnityCG.cginc"
fixed4 _Color;
float _Roughness, _Metal, _Emissive, _Weather;
struct Input { float4 vertex : POSITION; float3 normal : NORMAL; };
struct Output { float4 clip : SV_POSITION; float3 normal : TEXCOORD0; float3 world : TEXCOORD1; };
Output vert(Input input)
{
Output output;
output.clip = UnityObjectToClipPos(input.vertex);
output.normal = UnityObjectToWorldNormal(input.normal);
output.world = mul(unity_ObjectToWorld, input.vertex).xyz;
return output;
}
fixed4 frag(Output input) : SV_Target
{
float3 p = input.world;
float3 normal = normalize(input.normal);
float3 eye = normalize(_WorldSpaceCameraPos.xyz - p);
float3 sun = normalize(float3(-.69,.40,-.43));
float3 halfVector = normalize(sun + eye);
float sunlight = saturate(dot(normal,sun));
float sky = saturate(normal.y * .5 + .5);
float fresnel = pow(1 - saturate(dot(eye,normal)), 3.5);
float roughExponent = lerp(220, 9, _Roughness);
float specular = pow(saturate(dot(normal,halfVector)), roughExponent) * (1 - _Roughness * .65);
float3 reflected = reflect(-eye,normal);
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);
float3 light = lerp(float3(.25,.34,.46),float3(.61,.68,.77),sky) + sunlight * float3(.62,.44,.30);
float micro = sin(p.x * 13.7 + p.y * 19.3) * sin(p.z * 15.4 - p.x * 8);
float abrasion = sin(p.x * .82 + p.z * 1.7) * sin(p.y * 3.5 + p.z * 4.8);
float surfaceGrain = 1 + _Weather * (.055 * micro + .10 * abrasion);
float3 diffuse = _Color.rgb * light * surfaceGrain;
float3 shine = skyReflection * (.07 + fresnel * .24 + _Metal * .21) * (1 - _Roughness * .48)
+ specular * float3(.72,.51,.34) * (.14 + .59 * _Metal);
return fixed4(saturate(diffuse + shine + _Color.rgb * _Emissive * .60), 1);
}
ENDCG
}
}
}

View File

@@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: a74ecdb9273108a4eaebd4c277a784ca
ShaderImporter:
externalObjects: {}
defaultTextures: []
nonModifiableTextures: []
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,62 @@
Shader "Soundings/Harbor Water"
{
Properties
{
_Backdrop ("Harbor photograph", 2D) = "black" {}
_BackdropCrop ("Harbor crop", Vector) = (1,1,0,0)
_HullSpan ("Hull length and beam", Vector) = (71,7,0,0)
}
SubShader
{
Tags { "Queue"="Background" "RenderType"="Opaque" }
Pass
{
Cull Off
ZWrite Off
CGPROGRAM
#pragma vertex vert
#pragma fragment frag
#include "UnityCG.cginc"
sampler2D _Backdrop;
float4 _BackdropCrop, _HullSpan;
struct Output { float4 clip : SV_POSITION; float4 screen : TEXCOORD0; float2 world : TEXCOORD1; };
Output vert(appdata_base input)
{
Output output;
output.clip = UnityObjectToClipPos(input.vertex);
output.screen = ComputeScreenPos(output.clip);
output.world = mul(unity_ObjectToWorld, input.vertex).xz;
return output;
}
fixed4 frag(Output input) : SV_Target
{
float2 uv = input.screen.xy / input.screen.w;
uv = (uv - .5) * _BackdropCrop.xy + .5;
float waterMask = 1 - smoothstep(.55,.69,uv.y);
float2 p = input.world;
float t = _Time.y;
float textureWave = sin(p.y * 1.94 + p.x * .30 + sin(p.x * .44 - t * .30)) * .0015;
uv += waterMask * float2(textureWave, textureWave * .14);
float3 color = tex2D(_Backdrop, uv).rgb;
if (_HullSpan.x < 1)
return fixed4(color, 1);
float halfLength = _HullSpan.x * .5;
float along = abs((p.x + halfLength * .022) / halfLength);
float shaft = saturate(1 - pow(max(0,along), 3.2));
float waterline = _HullSpan.y * lerp(.28, 1, shaft);
float offset = abs(p.y + .5) - waterline;
float shadow = (1 - smoothstep(-.8, 5.1, offset)) * (1 - smoothstep(.90,1.12,along));
color *= 1 - .39 * shadow * waterMask;
float edgeWave = sin(p.x * 1.46 + p.y * 1.88 + t * .65) + .36 * sin(p.x * 3.3 + p.y * 2.42 - t * .50);
float foam = saturate(edgeWave - .55) * (1 - smoothstep(.12, 1.3, abs(offset - .25))) * (1 - smoothstep(.81,1.06,along));
color += float3(.19,.23,.24) * foam * waterMask;
return fixed4(color, 1);
}
ENDCG
}
}
}

View File

@@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: 0b4abc0d8562a9a9ba3436bd2b107143
ShaderImporter:
externalObjects: {}
defaultTextures: []
nonModifiableTextures: []
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,235 @@
:root {
background-color: #101d26;
color: #e9ede7;
font-size: 14px;
-unity-font-style: normal;
}
Label { margin: 0; padding: 0; }
.action {
background-color: #1b313b;
color: #e9ede7;
border-width: 1px;
border-color: #35515a;
border-radius: 5px;
padding: 0 13px;
height: 37px;
min-height: 37px;
margin: 0;
font-size: 13px;
-unity-font-style: bold;
}
.action:hover { background-color: #29444d; border-color: #557b80; }
.action:focus { border-color: #8dd4be; }
.action:disabled { background-color: #17272e; border-color: #2a4148; color: #84989b; opacity: .76; }
.primary { background-color: #8bd6bc; border-color: #8bd6bc; color: #132c2b; padding: 0 17px; }
.primary:hover { background-color: #a7e7cf; border-color: #b9f2dd; }
.primary:focus { border-color: #e9f7db; }
.active-option { background-color: #21413f; border-color: #568b78; }
.muted { color: #a3b8bc; font-size: 13px; -unity-font-style: normal; }
.gold { color: #e4bd85; }
.gain { color: #98dec8; }
.loss { color: #efa28a; }
.body-copy { color: #bbc9ca; white-space: normal; margin-top: 10px; font-size: 14px; }
.eyebrow { color: #a1b8bd; font-size: 11px; letter-spacing: 1.1px; -unity-font-style: bold; }
.on-image { color: #f0e9da; }
.tag {
background-color: #123037;
border-radius: 4px;
border-width: 1px;
border-color: #78a89e;
padding: 5px 9px;
font-size: 10px;
letter-spacing: .75px;
-unity-font-style: bold;
}
.brand { flex-direction: row; align-items: center; }
.brand-mark { width: 33px; height: 34px; margin-right: 11px; flex-shrink: 0; }
.brand-type { color: #f1e7d2; font-size: 23px; -unity-font-style: bold; }
.crest { margin-bottom: 44px; }
.title-screen { flex-direction: row; flex-grow: 1; background-color: #10232e; }
.title-intro {
width: 42%;
min-width: 405px;
max-width: 635px;
padding: 40px 48px;
justify-content: center;
flex-shrink: 0;
border-right-width: 1px;
border-color: #456066;
}
.title-intro .eyebrow { color: #e3bf8a; }
.title-display { color: #f1e9d8; font-size: 84px; margin-top: -6px; margin-bottom: 7px; }
.title-copy { color: #bdccce; font-size: 16px; margin-bottom: 31px; white-space: normal; }
.title-visual { flex-grow: 1; overflow: hidden; background-color: #2c494d; }
.splash-location {
position: absolute;
left: 27px;
right: 27px;
bottom: 25px;
flex-direction: row;
justify-content: space-between;
align-items: center;
background-color: rgba(16,32,38,.88);
border-radius: 5px;
padding: 11px 13px;
}
.title-action { margin: 8px 0 0; font-size: 15px; min-height: 45px; }
.start-option {
justify-content: center;
align-items: flex-start;
margin-top: 11px;
min-height: 68px;
padding: 7px 14px;
}
.option-title { color: #e9ede7; font-size: 16px; -unity-font-style: bold; margin-bottom: 2px; }
.shell { flex-grow: 1; }
.mast { height: 67px; flex-direction: row; align-items: center; padding: 0 25px; background-color: #132730; border-bottom-width: 1px; border-color: #35545b; flex-shrink: 0; }
.mast-brand { flex-grow: 1; }
.mast-sub { color: #92aeb2; font-size: 10px; letter-spacing: 1.25px; margin-left: 15px; margin-top: 3px; }
.mast-metrics { flex-direction: row; align-items: center; }
.head-metric { min-width: 105px; padding: 0 19px; border-left-width: 1px; border-color: #31515a; }
.head-value { font-size: 19px; -unity-font-style: bold; }
.menu-button { margin-left: 9px; }
.body { flex-direction: row; flex-grow: 1; min-height: 0; }
.rail {
width: 211px;
flex-shrink: 0;
background-color: #12262f;
border-right-width: 1px;
border-color: #304851;
padding: 24px 13px 15px;
}
.rail-heading { margin-left: 11px; margin-bottom: 10px; color: #93aeb4; }
.nav { flex-direction: row; justify-content: flex-start; align-items: center; margin-bottom: 5px; color: #b8c9cb; border-color: rgba(0,0,0,0); background-color: rgba(0,0,0,0); height: 42px; }
.nav.current { background-color: #25413f; border-color: #3e685e; color: #ebf0e8; }
.nav-name { font-size: 15px; }
.fleet-heading { margin-top: 24px; }
.fleet-scroll { flex-grow: 1; min-height: 20px; }
.ship-item { align-items: flex-start; justify-content: center; margin: 0 0 5px; min-height: 51px; background-color: #142b35; }
.ship-item.selected { border-color: #44746c; background-color: #1e373b; }
.ship-name { font-size: 14px; color: #e8ece6; }
.ship-location { font-size: 11px; color: #9bb9bb; }
.fleet-empty { margin-left: 10px; color: #a3b8bc; font-size: 13px; }
.rail-goal { background-color: #162f36; border-width: 1px; border-color: #32515a; border-radius: 5px; padding: 10px 11px; margin-top: 15px; flex-shrink: 0; }
.rail-goal .eyebrow { color: #d6ae74; font-size: 9px; }
.goal-name { font-size: 13px; -unity-font-style: bold; margin-top: 5px; }
.goal-detail { font-size: 11px; color: #9db5b7; margin-top: 4px; white-space: normal; }
.page-scroll { flex-grow: 1; min-width: 0; }
.page { max-width: 1580px; padding: 16px 28px 30px; }
.page-head { flex-direction: row; align-items: center; justify-content: space-between; margin-bottom: 12px; min-height: 62px; }
.page-title { font-size: 48px; color: #ebe3cf; }
.page-meta { color: #b8a689; padding-top: 10px; }
.notice { background-color: #1a373b; color: #aee0cd; border-left-width: 3px; border-color: #7cc3ac; border-radius: 4px; margin-bottom: 12px; padding: 7px 10px; white-space: normal; font-size: 13px; }
.title-intro .notice { margin-top: 13px; }
.notice.warning { background-color: #3c302e; color: #f2c0a7; border-color: #d69073; }
.columns { flex-direction: row; align-items: stretch; }
.wide { flex-basis: 61%; flex-grow: 1; flex-shrink: 1; min-width: 0; margin-right: 13px; }
.narrow { flex-basis: 37%; flex-grow: 1; flex-shrink: 1; min-width: 0; }
.half { margin-right: 9px; flex-basis: 50%; flex-grow: 1; flex-shrink: 1; min-width: 0; }
.second-row { margin-top: 13px; }
.hero {
position: relative;
height: 280px;
overflow: hidden;
background-color: #335353;
border-width: 1px;
border-color: #496068;
border-radius: 7px;
}
.harbor-image { position: absolute; left: 0; top: 0; right: 0; bottom: 0; }
.hero-port { position: absolute; top: 16px; left: 16px; }
.hero-label {
position: absolute;
left: 16px;
bottom: 15px;
background-color: rgba(12,32,39,.93);
border-left-width: 2px;
border-color: #e6bc85;
border-radius: 4px;
padding: 5px 14px 11px;
}
.hero-title { font-size: 38px; color: #f3e8d3; }
.card {
background-color: #162b35;
border-color: #33505a;
border-width: 1px;
border-radius: 7px;
padding: 15px 16px;
}
.card-title { font-size: 21px; -unity-font-style: bold; color: #e7ece6; margin-bottom: 8px; }
.forecast-route { color: #b9ccce; font-size: 15px; margin-bottom: 9px; }
.paired { flex-direction: row; padding: 9px 0 10px; margin-bottom: 3px; background-color: #112630; border-radius: 4px; }
.forecast-metric { flex-grow: 1; flex-shrink: 0; padding: 0 10px; }
.forecast-metric .eyebrow { letter-spacing: .75px; }
.forecast-value { font-size: 26px; -unity-font-style: bold; margin-top: 3px; }
.measure { flex-direction: row; justify-content: space-between; align-items: center; min-height: 31px; border-bottom-width: 1px; border-color: #304753; }
.measure-label { color: #b2c4c8; font-size: 13px; }
.measure-value { font-size: 13px; -unity-font-style: bold; margin-left: 8px; }
.control-label { margin: 5px 0 5px; }
.field { margin: 0; min-height: 38px; }
.field .unity-base-field__input {
background-color: #10232d;
border-width: 1px;
border-color: #3d5961;
border-radius: 4px;
min-height: 38px;
padding-left: 10px;
color: #e4ebe5;
font-size: 14px;
}
.field .unity-base-field__input:focus { border-color: #8dd4be; }
.field .unity-popup-field__arrow { -unity-background-image-tint-color: #a5c8c7; }
.field .unity-text-field__input { -unity-selection-color: #35585b; -unity-cursor-color: #e4ebe5; }
.control-row { flex-direction: row; align-items: center; justify-content: space-between; margin-top: 11px; }
.control-copy .muted { margin-top: 3px; }
.stepper { flex-direction: row; align-items: center; }
.step { min-width: 33px; width: 33px; height: 34px; min-height: 34px; padding: 0; font-size: 19px; }
.step-value { min-width: 66px; -unity-text-align: middle-center; font-size: 15px; -unity-font-style: bold; }
.dispatch { flex-direction: row; align-items: center; justify-content: space-between; margin-top: 13px; border-top-width: 1px; border-color: #314a52; padding-top: 11px; }
.readiness { font-size: 13px; white-space: normal; flex-shrink: 1; margin-right: 14px; color: #dcc29c; }
.readiness.gain { color: #98dec8; }
.meter { height: 5px; background-color: #314c55; margin-top: 2px; border-radius: 3px; overflow: hidden; }
.meter-fill { height: 5px; background-color: #72c3ad; }
.deck-stats { flex-direction: row; }
.deck-stats .forecast-metric { flex-basis: 25%; }
.deck-tabs { flex-direction: row; flex-wrap: wrap; margin-top: 3px; }
.deck-tabs .action { margin-right: 7px; margin-bottom: 6px; }
.deck-tabs .add-deck { margin-left: auto; margin-right: 0; }
.blueprint { background-color: #0f2330; border-width: 1px; border-color: #3a5662; border-radius: 5px; padding: 11px 10px; margin-top: 9px; }
.axes { flex-direction: row; justify-content: space-between; align-items: center; padding: 5px 3px 8px; }
.cell-row { flex-direction: row; margin-top: 5px; }
.berth { flex-basis: 0; flex-grow: 1; min-width: 0; min-height: 63px; height: 63px; padding: 3px 0; margin: 0 3px; align-items: center; justify-content: center; border-color: #3a5360; }
.cell-label { color: #b5c4c4; font-size: 10px; }
.cell-mark { color: #eef4e9; font-size: 17px; margin-top: 4px; }
.room-0 { background-color: #1b313e; }
.room-1 { background-color: #25534f; }
.room-2 { background-color: #6a4b32; }
.room-3 { background-color: #57435b; }
.room-4 { background-color: #36506b; }
.deck-hint { margin-top: 12px; }
.facility { flex-direction: row; justify-content: flex-start; align-items: center; min-height: 56px; margin-bottom: 6px; padding: 5px 8px; }
.facility-mark { min-width: 31px; width: 31px; height: 30px; border-radius: 4px; -unity-text-align: middle-center; margin-right: 9px; }
.facility-details { align-items: flex-start; min-width: 0; flex-grow: 1; flex-shrink: 1; }
.facility-title { font-size: 14px; -unity-font-style: bold; }
.facility-price { margin-left: 3px; font-size: 13px; }
.yard-item { flex-direction: row; align-items: center; justify-content: space-between; padding: 8px 12px; margin-bottom: 7px; min-height: 64px; }
.yard-copy { align-items: flex-start; flex-shrink: 1; }
.yard-copy .muted { white-space: normal; }
.yard-price { margin-left: 13px; -unity-font-style: bold; }
.maintenance-row { flex-direction: row; align-items: center; justify-content: space-between; }
.maintenance-row .body-copy { margin-top: 0; }
.full-button { margin-top: 9px; }
.chart { height: 245px; margin-top: 3px; background-color: #122d38; border-radius: 4px; }
.chart-legend { margin-top: 8px; flex-direction: row; justify-content: space-between; font-size: 12px; }
.map-port { position: absolute; margin-top: -13px; margin-left: -13px; background-color: #1b3640; border-color: #608081; width: 26px; min-height: 26px; height: 26px; border-radius: 13px; padding: 0; font-size: 12px; }
.map-port.active-option { border-color: #e4bd85; }
.port-grid { flex-direction: row; flex-wrap: wrap; }
.port-row { flex-basis: 22%; flex-grow: 1; height: 52px; min-height: 52px; margin: 0 4px 6px; align-items: flex-start; justify-content: center; }
.ledger-scroll { max-height: 227px; min-height: 67px; }
.breakdown { margin-top: -3px; }
.exterior-preview { height: 172px; margin-top: 11px; border-radius: 5px; overflow: hidden; background-color: #1b323e; }
.unity-scroller--vertical { width: 12px; background-color: #132730; }
.unity-scroller__low-button, .unity-scroller__high-button { display: none; }
.unity-scroller--vertical .unity-base-slider__tracker { background-color: #1b343e; border-width: 0; }
.unity-scroller--vertical .unity-base-slider__dragger { background-color: #41646b; border-color: #527b80; }

View File

@@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 4adc479b4349792f699ee23305468bfb
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
disableValidation: 0
unsupportedSelectorAction: 0

View File

@@ -0,0 +1 @@
@import url("unity-theme://default");

View File

@@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: ee78eb0a9f196ceeea3b4eaa688d206d
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 12388, guid: 0000000000000000e000000000000000, type: 0}
disableValidation: 0
unsupportedSelectorAction: 0