Hologram calls, HaulOS phone, Enhanced lighting, smoother camera; Blender remaster review files
Game: - Assistant and Director portraits: GPT backgrounds and a holographic appear/disappear shader (Talk/TalkHolo) instead of on/off - Phone redesigned (HaulOS home, address bar, dock, error/loading states) and the browser link made sturdier - Settings > Graphics > Lighting: Classic / Enhanced (runtime volume, no project assets changed); Enhanced SSAO uses the smooth interleaved-gradient method at high samples so flat panels don't speckle - Painted board textures (T_HullPanel, T_BarnRed) keep only edge wear: the big bare-wood patches read as dirty smudges - The head leans into a sidestep smoothly instead of snapping with A / D - New keys in all 11 languages Review only (nothing swapped into the game yet): ArtSource/Blender/remaster (v1 paint pass of our own models, Synty-built ones left out), remaster/crew (crew repaint with arm, colour-edge and face fixes), remaster_v2 (smooth-geometry pilot). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
BIN
Assets/Resources/Talk/T_Talk_AsstBg.png
(Stored with Git LFS)
Normal file
BIN
Assets/Resources/Talk/T_Talk_AsstBg.png
(Stored with Git LFS)
Normal file
Binary file not shown.
132
Assets/Resources/Talk/T_Talk_AsstBg.png.meta
Normal file
132
Assets/Resources/Talk/T_Talk_AsstBg.png.meta
Normal file
@ -0,0 +1,132 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5abd9308ce329b846900acfde7f9ba41
|
||||
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: 1
|
||||
wrapV: 1
|
||||
wrapW: 1
|
||||
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: 1024
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 2
|
||||
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:
|
||||
BIN
Assets/Resources/Talk/T_Talk_BossBg.png
(Stored with Git LFS)
Normal file
BIN
Assets/Resources/Talk/T_Talk_BossBg.png
(Stored with Git LFS)
Normal file
Binary file not shown.
132
Assets/Resources/Talk/T_Talk_BossBg.png.meta
Normal file
132
Assets/Resources/Talk/T_Talk_BossBg.png.meta
Normal file
@ -0,0 +1,132 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 537930ff76b550b4c9f7bdf8e8a09460
|
||||
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: 1
|
||||
wrapV: 1
|
||||
wrapW: 1
|
||||
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: 1024
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 2
|
||||
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:
|
||||
145
Assets/Resources/Talk/TalkHolo.shader
Normal file
145
Assets/Resources/Talk/TalkHolo.shader
Normal file
@ -0,0 +1,145 @@
|
||||
// The video call's picture (TalkVideo): a talking loop filmed on black (Unity's player drops the webm's alpha), keyed
|
||||
// out again here and laid over the room behind the character, with a hologram that brings it in and takes it away.
|
||||
// The key: near-black is see-through, with a soft rim by brightness; dark bits the figure closes round (pupils, creases
|
||||
// of a navy suit) stay solid, because opaque figure is found on both sides of them.
|
||||
// _Appear 0..1: a glow of light sweeps up the window and leaves the picture behind it, tinted, scanlined, flickering,
|
||||
// breaking up in blocks and slipping sideways in bands; it settles as _Appear reaches 1, where only faint scanlines,
|
||||
// a slow bright roll and a rare glitch stay.
|
||||
Shader "GrassCutter/TalkHolo"
|
||||
{
|
||||
Properties
|
||||
{
|
||||
_MainTex ("Stacked loop", 2D) = "black" {}
|
||||
_BgTex ("Room behind", 2D) = "black" {}
|
||||
_Appear ("Appear", Range(0, 1)) = 1
|
||||
_Tint ("Hologram", Color) = (0.35, 0.9, 1, 1)
|
||||
}
|
||||
SubShader
|
||||
{
|
||||
Cull Off ZWrite Off ZTest Always
|
||||
Pass
|
||||
{
|
||||
CGPROGRAM
|
||||
#pragma vertex vert_img
|
||||
#pragma fragment frag
|
||||
#include "UnityCG.cginc"
|
||||
|
||||
sampler2D _MainTex, _BgTex;
|
||||
float4 _FigST, _BgST, _Px, _Tint, _MainTex_TexelSize;
|
||||
float _Appear, _T, _HasBg;
|
||||
|
||||
float hash(float2 p) { return frac(sin(dot(p, float2(127.1, 311.7))) * 43758.5453); }
|
||||
float noise(float2 p)
|
||||
{
|
||||
float2 i = floor(p), f = frac(p);
|
||||
f = f * f * (3 - 2 * f);
|
||||
return lerp(lerp(hash(i), hash(i + float2(1, 0)), f.x), lerp(hash(i + float2(0, 1)), hash(i + 1), f.x), f.y);
|
||||
}
|
||||
|
||||
// how bright the brightest channel is, as filmed (the texture hands it over in linear)
|
||||
float Peak(float2 uv)
|
||||
{
|
||||
float3 c = max(tex2Dlod(_MainTex, float4(uv, 0, 0)).rgb, 0);
|
||||
#ifndef UNITY_COLORSPACE_GAMMA
|
||||
c = LinearToGammaSpace(c);
|
||||
#endif
|
||||
return max(c.r, max(c.g, c.b));
|
||||
}
|
||||
|
||||
// the background is at most this bright (a little blue from the codec); a pixel this bright is figure for sure
|
||||
#define LO (14.0 / 255.0)
|
||||
#define HI (30.0 / 255.0)
|
||||
|
||||
float Solid(float2 uv) { return step(HI, Peak(uv)); }
|
||||
|
||||
// a dark pixel with figure on both sides of it, at any of three reaches (a pupil is ~30 texels across), along any
|
||||
// of four lines, is figure
|
||||
float Closed(float2 uv)
|
||||
{
|
||||
float fill = 0;
|
||||
[unroll] for (int k = 0; k < 3; k++)
|
||||
{
|
||||
float2 t = _MainTex_TexelSize.xy * (k == 0 ? 6.0 : k == 1 ? 14.0 : 26.0);
|
||||
fill = max(fill, Solid(uv + float2(t.x, 0)) * Solid(uv - float2(t.x, 0)));
|
||||
fill = max(fill, Solid(uv + float2(0, t.y)) * Solid(uv - float2(0, t.y)));
|
||||
fill = max(fill, Solid(uv + t) * Solid(uv - t));
|
||||
fill = max(fill, Solid(uv + float2(t.x, -t.y)) * Solid(uv - float2(t.x, -t.y)));
|
||||
}
|
||||
return fill;
|
||||
}
|
||||
|
||||
// the figure at fuv: colour (dark at the edge, as filmed on black, so it's already "premultiplied") and coverage
|
||||
float4 Figure(float2 fuv)
|
||||
{
|
||||
if (any(fuv < 0) || any(fuv > 1)) return 0;
|
||||
float3 c = tex2D(_MainTex, fuv).rgb;
|
||||
float a = smoothstep(LO, HI, Peak(fuv));
|
||||
if (a < 1) a = max(a, Closed(fuv));
|
||||
return float4(c * step(0.001, a), a);
|
||||
}
|
||||
|
||||
float3 Colour(float2 fuv)
|
||||
{
|
||||
if (any(fuv < 0) || any(fuv > 1)) return 0;
|
||||
return tex2D(_MainTex, fuv).rgb;
|
||||
}
|
||||
|
||||
float4 frag(v2f_img i) : SV_Target
|
||||
{
|
||||
float2 uv = i.uv;
|
||||
float t = _T;
|
||||
float ap = smoothstep(0, 1, _Appear);
|
||||
float hs = saturate((1 - ap) * 1.6); // how much hologram
|
||||
|
||||
// sideways slips in bands: often while it's coming in, now and then once it's on
|
||||
float tick = floor(t * 14);
|
||||
float band = floor(uv.y * 28 + hash(float2(tick, 7)) * 9);
|
||||
float slipOn = step(0.8, hash(float2(band, tick))) * (hs + step(0.985, hash(float2(floor(t * 3), 1))) * 0.25);
|
||||
uv.x += (hash(float2(band, tick + 3)) - 0.5) * 0.08 * slipOn;
|
||||
|
||||
// the sweep: up the window, its front ragged with noise
|
||||
float n = noise(uv * float2(14, 30) + t * 2.5);
|
||||
float front = ap * 1.3 - 0.15;
|
||||
float edge = uv.y + (n - 0.5) * 0.1;
|
||||
float shown = smoothstep(front + 0.012, front - 0.012, edge);
|
||||
float glow = exp(-abs(edge - front) * 55) * saturate(hs * 4);
|
||||
|
||||
// breaking up into blocks just behind the front
|
||||
float zone = saturate((edge - (front - 0.22)) / 0.22) * hs;
|
||||
// (only while it's coming or going: a hash can come out at exactly 0, and step(0, 0) is 1)
|
||||
float holes = zone > 0.001 ? step(hash(floor(uv * float2(46, 70)) + floor(t * 22) * 0.137), zone) : 0;
|
||||
|
||||
// the room, a little out of focus and darker than her
|
||||
float3 bg = 0;
|
||||
if (_HasBg > 0.5)
|
||||
{
|
||||
bg = tex2Dbias(_BgTex, float4(uv * _BgST.xy + _BgST.zw, 0, 1.2)).rgb;
|
||||
float2 d = i.uv - 0.5;
|
||||
bg *= 0.82 * (1 - dot(d, d) * 0.9);
|
||||
}
|
||||
|
||||
// her, split a hair into red/green/blue (more while coming in), each over the room
|
||||
float2 fuv = uv * _FigST.xy + _FigST.zw;
|
||||
float ca = 0.0015 + 0.02 * hs;
|
||||
float4 fg = Figure(fuv);
|
||||
float3 fc = float3(Colour(fuv + float2(ca, 0)).r, fg.g, Colour(fuv - float2(ca, 0)).b) * step(0.001, fg.a);
|
||||
float3 col = fc + bg * (1 - fg.a);
|
||||
|
||||
// the hologram's tint, scanlines, a slow bright roll, flicker
|
||||
float lum = dot(col, float3(0.3, 0.59, 0.11));
|
||||
col = lerp(col, lum * _Tint.rgb * 1.7 + _Tint.rgb * 0.06, hs * 0.8);
|
||||
float scan = 0.5 + 0.5 * sin(uv.y * _Px.y * 1.6 - t * 8);
|
||||
col *= 1 - (0.06 + 0.3 * hs) * scan;
|
||||
float r = frac(uv.y * 0.7 - t * 0.12);
|
||||
col += _Tint.rgb * smoothstep(0, 0.05, r) * (1 - smoothstep(0.05, 0.14, r)) * (0.035 + 0.1 * hs);
|
||||
float flick = 1 - hs * 0.4 * step(0.55, hash(float2(floor(t * 24), 3)));
|
||||
|
||||
float body = shown * flick * (1 - holes * 0.9);
|
||||
float a = saturate(body + glow);
|
||||
float3 rgb = (col * body + _Tint.rgb * glow * 1.6) / max(a, 1e-3);
|
||||
return float4(saturate(rgb), a);
|
||||
}
|
||||
ENDCG
|
||||
}
|
||||
}
|
||||
}
|
||||
9
Assets/Resources/Talk/TalkHolo.shader.meta
Normal file
9
Assets/Resources/Talk/TalkHolo.shader.meta
Normal file
@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 85f876d4978b59f4a9cbcc8b4be8c5ba
|
||||
ShaderImporter:
|
||||
externalObjects: {}
|
||||
defaultTextures: []
|
||||
nonModifiableTextures: []
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user