The ambient tint is a gaussian over the populated radius, not a quad that ends at Pack.Radius
Ambient Fog Light leaves Zone Brushes (root object, same pose) and Sector Tint.mat moves from PowerBrush to Brushes/Ambient Brush: brightness falls as exp(-x^2 ln(1/_EdgeBrightness)), x in units of Zone.PopulatedRadius. ZoneRenderer.FitAmbientLight, called by LoadZone, is the one writer of the quad's size and _Reach (the radius where it is 1e-5 of the centre). AmbientEdgeVerify renders the real scene object through that call. Builds in Unity 6000.3.24f1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
ecb165624d
commit
9b05ced11f
10 changed files with 324 additions and 10 deletions
|
|
@ -147,6 +147,7 @@ public static class FloatingItemsDrawnSmoke
|
|||
typeof(ZoneRenderer).GetField(name).SetValue(renderer, pickup);
|
||||
renderer.ItemManager = items;
|
||||
renderer.SectorBrushes = new GameObject("Smoke Brushes").transform;
|
||||
renderer.AmbientLight = Aetheria.EditorTools.AmbientEdgeVerify.NewAmbientLight();
|
||||
renderer.SlimeGravityCamera = new GameObject("Smoke Gravity Camera").AddComponent<Camera>();
|
||||
var slimeObject = new GameObject("Smoke Slime");
|
||||
slimeObject.SetActive(false); // the real Slime needs its compute shader; LoadZone only sets its radius
|
||||
|
|
|
|||
Loading…
Reference in a new issue