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:
Bonchellon
2026-11-24 15:28:47 +03:00
parent c7ca594b53
commit 52619d8952
713 changed files with 10453 additions and 324 deletions

View File

@ -77,7 +77,7 @@ namespace GrassCutter
readonly Dictionary<string, float> _said = new Dictionary<string, float>();
readonly float[] _mood = new float[7];
AudioSource _voice;
VisualElement _panel, _picture;
VisualElement _panel, _frame, _picture;
Label _caption;
Booth _booth;
// the user's filmed loops of her, one per mood
@ -128,6 +128,7 @@ namespace GrassCutter
I._voice.Stop();
I._queue.Clear();
I.Panel(false);
I._talk?.Cut();
I._on = false;
}
@ -135,6 +136,8 @@ namespace GrassCutter
{
// she lives on the cinema layer, above the windows: a window opened mid-line hides her till it closes
if (_panel != null) _panel.style.visibility = UIRoot.I && UIRoot.I.AnyModal ? Visibility.Hidden : Visibility.Visible;
// the frame lights up ahead of the hologram filling it, and goes out after
if (_frame != null && _talk != null) _frame.style.opacity = Mathf.Clamp01(_talk.Appear * 3f);
if (_on || _queue.Count == 0) return;
if (!Ready()) return;
var (line, at) = _queue.Dequeue();
@ -214,22 +217,26 @@ namespace GrassCutter
if (on && (_panel == null || _panel.panel == null)) Build();
if (_panel == null) return;
_booth?.Show(on);
if (on) _talk?.Play(0);
else _talk?.Stop();
// the picture comes in and goes out as a hologram; the panel goes once it has (TalkVideo.Gone)
_talk?.Show(on);
_caption.style.display = on ? DisplayStyle.Flex : DisplayStyle.None;
if (on)
{
_panel.style.display = DisplayStyle.Flex;
_panel.BringToFront();
UIK.PopIn(_panel, 0f, 0.25f);
UIK.PopIn(_caption, 0.2f, 0.25f);
}
else _panel.style.display = DisplayStyle.None;
else if (_talk == null) _panel.style.display = DisplayStyle.None;
}
void Build()
{
var root = UIRoot.I ? UIRoot.I.Cinema : null;
if (root == null) return;
_talk = new TalkVideo("asst", new[] { "happy", "stern", "fed" }, 400, 406);
// the window inside its 3 px border, at 1.5x
int outW = Mathf.RoundToInt((PicW * 0.8f - 6f) * 1.5f), outH = Mathf.RoundToInt((PicH * 0.8f - 6f) * 1.5f);
_talk = new TalkVideo("asst", new[] { "happy", "stern", "fed" }, 400, 406, outW, outH, new Rect(0f, 0f, 1f, 1f), "T_Talk_AsstBg");
_talk.Gone = () => { if (_panel != null) _panel.style.display = DisplayStyle.None; };
_panel = new VisualElement { pickingMode = PickingMode.Ignore };
_panel.style.position = Position.Absolute;
_panel.style.left = 22;
@ -246,20 +253,15 @@ namespace GrassCutter
var edge = new Color(0.55f, 0.85f, 0.95f, 0.9f);
frame.style.borderLeftColor = frame.style.borderRightColor = frame.style.borderTopColor = frame.style.borderBottomColor = edge;
frame.style.overflow = Overflow.Hidden;
frame.style.backgroundColor = new Color(0.08f, 0.12f, 0.22f);
var bg = AssetBank.I ? AssetBank.I.Tex("T_Dir_Bg") : null;
if (bg)
{
frame.style.backgroundImage = new StyleBackground(bg);
frame.style.unityBackgroundScaleMode = ScaleMode.ScaleAndCrop;
frame.style.unityBackgroundImageTintColor = new Color(0.82f, 0.86f, 0.95f);
}
// see-through glass: the room behind her is in the picture, which the hologram brings in
frame.style.backgroundColor = new Color(0.02f, 0.06f, 0.12f, 0.35f);
frame.style.opacity = 0f;
_frame = frame;
_panel.Add(frame);
_picture = new VisualElement { pickingMode = PickingMode.Ignore };
_picture.style.flexGrow = 1;
_picture.style.unityBackgroundScaleMode = ScaleMode.ScaleAndCrop;
_talk.Switched = rt => _picture.style.backgroundImage = new StyleBackground(Background.FromRenderTexture(rt));
_talk.Switched(_talk.Rt);
_picture.style.unityBackgroundScaleMode = ScaleMode.StretchToFill;
_picture.style.backgroundImage = new StyleBackground(Background.FromRenderTexture(_talk.Rt));
frame.Add(_picture);
var tag = UIK.Text(Loc.T("ASSISTANT · G.R.A.S.S.A."), "", frame, true);
tag.style.position = Position.Absolute;