TOWER OF SORCERY VISUAL PROFILE — TEST 1128

Edit sorcery-visual-profile.ini beside CV64Recompiled.exe, then restart the
game. The profile affects Dynamic lighting in Tower of Sorcery (native Map17,
FILE78 / MAHOU_TOU) only. Original mode keeps the added effects inactive.

The supplied stage values are inherited by [lower], [middle] and [upper].
These are elevation zones, not invented native room numbers. Map17 uses one
global actor list and spatially culled stage pieces, with no018B room lists.
Zone transitions blend over80 world units around heights450 and800. Light
energy uses each source's own elevation, so turning or moving the camera does
not change a window's assigned energy.

SETTING                 DEFAULT   RANGE / PURPOSE
roughness               0.22      0.06..0.8; static normal variation and ice response
reflection_strength     0.78      0..1; reflected contribution
crystal_emission        1.6       0..4; certified crystal source energy
window_brightness       2.4       0..6; inward aperture light, also glass display gain
fog_density             0.48      0..2; low frost optical density
particle_density        0.58      0..1 effective eligible mote fraction
bloom                   0.30      0..1; restrained analytic mote glow, not full HDR bloom
exposure                1.12      0.4..2; fixed local linear-light response
wall_detail             0.32      0..1; subtle procedural stone normal detail
crack_detail            0.60      0..1; fine procedural surface fissure contrast
quality                 1         0 low /1 balanced /2 high

Quality changes the existing mist integrations: low2 halo/4 floor samples,
balanced4/8, high6/12. It does not add shadow rays. Existing source limits are
16 point lights and16 aperture lights; this profile assigns9 apertures.
The atmosphere retains its existing8 global/max2 local visibility-query caps.

Optional stable per-window light overrides:

[window.SOR-W01]
brightness=0.8
reach=280
red=0.40
green=0.90
blue=1.35

IDs SOR-W00..SOR-W05 and SOR-W12..SOR-W14 are listed in window-coverage.json and the comparison
report. brightness is a multiplier0..3, reach80..500, and RGB components0..3.
These overrides adjust the associated light. The shared glass display gain
follows its elevation-zone window_brightness; it retains a dim intrinsic
appearance at zero source energy. Unknown keys/sections and nonfinite values
are ignored; valid values are clamped. Defaults need no per-window entries.

WHAT THE RENDERER DOES

Original asset pixels, painted texture detail, mesh layout, collision,
native glass alpha, character design, camera and HUD are preserved. Ice uses
the existing nearest reflected bounce, small static normal variations,
nonuniform response and procedural fissures. Stone keeps its original carving
textures and uses local cyan sources with shadow-tested highlights. Certified
platform/crystal sources and low frost follow native live model transforms.
Particles remain near crystal floors; empty upper air is kept clear.
Certified ice uses80% cold scattering hue and20% native hue, retaining painted
luminance/detail. This is an intentional display material recolouring; the
original texture files and pixels are unchanged. Magical practical lights
use cold cyan at the same luminance, position, radius and slot as before.

All9 actual standalone windows (27 glass sections)
have reviewed native positions and stable light assignments, independent of
visible-model allocation. Canonical native asset identity is checked on stage entry, allowing only
the native actor bookkeeping flags independently observed/documented in the
original actor records. All window positions, IDs/yaw, geometry, textures and
other bytes remain exact. Loading/mode changes invalidate the cache; an
incomplete load is retried at a bounded30-update interval. No native RAM writes.
The central decorated tower is NOT a stained-glass window. Its former six
window IDs06..11 are retired, with no aperture lights or self-emission.
Those INI sections are ignored. Existing public IDs12..14 stay stable.
Finite original glass polygons bound a fixed playable-side/downward light ray;
existing opaque/cutout visibility queries test intervening geometry. Original
yellow translucent window-shaft sheets are hidden only in Dynamic display,
so they do not overlap the replacement lighting. Their asset bytes remain.

LIMITATIONS / ARTISTIC APPROXIMATIONS

This is local ray-traced direct lighting and a single reflected bounce, not
full path-traced GI. The aperture is one deterministic visibility sample,
not a sampled physical area light with penumbras. Complete offscreen occluder
residency is limited by the existing scene acceleration structure; persistent
window light assignments do not themselves guarantee every offscreen blocker.

Ice roughness is a single-bounce normal/Fresnel approximation, not a many-ray
rough dielectric BSDF. Original crystal meshes/art remain: no new fractured
interior geometry or physically refracted crystal volume is supplied. Native
primary transmission/alpha is retained. Reflections can include one nearest
certified translucent glass layer at an artistic55% opacity, reusing the
existing waterfall-layer path; this is not multilayer refraction.

The bloom control adjusts analytic mote halos. There is no new HDR bloom or
automatic exposure pass. World effects stay in existing depth-checked world
passes; native HUD composition stays separate. Original texture paint is not
claimed to be recovered albedo. The concept's new geometry/texture detail is
an art-direction reference, not an exact pixel-match guarantee.

Use Settings > General > Level Selector to select Tower of Sorcery /Carrie.
Play.cmd uses separate portable settings/saves. Your supported US1.0 ROM is
required; no ROM or saves are included.

Four additional exact original crystal palette textures use the same icy
material response. Native front/back commands keep a single planar reflection
receiver layer; the rejected duplicate-layer candidate is not used. Native
geometry, alpha, culling and original texture bytes remain unchanged.

PLAYER-FOLLOWING ANKLE FROST (Test1128)
Soft local cloud centred on the lowest rendered boot vertices, using the same interpolated local positions and world matrices as the player. No retained previous-player position. It follows jumps rather than creating a false floor. Bounds16x5.5x16 world units, soft radial fade and drifting density, maximum alpha0.42. fog_density controls its density; quality uses4/8/12 local integration samples. Native depth clips the cloud; existing nearby ray-tested light colours tint it, plus restrained intrinsic cyan scattering. No added point light, ambient player lift or shadow query. It is only enabled by the Dynamic Map17/profile certificate; Original and other stages do not receive it.

Test1157 contact rule: the character-following ankle cloud clears when the native player is airborne or jumping. Floor atmosphere stays fixed to the floor. Sorcery additionally requires a verified supporting crystal floor volume. No moving light is added.
