Rise
The Vieneo Province
Loading...
Searching...
No Matches
Fog Beams11 tests

Checks fog-light beam visibility and stability under camera-relative coordinates.

Subsystem: Weather, clouds, lightning and atmospheric visibility
Fixture/harness: fogbeams11tests
Setup: The standalone FogBeams11Tests harness owns the inputs, local helpers and assertion sink used by the case files below. Graphics setup uses NativeUiTest11.

Build/entry point: Tests/FogBeams11Tests.vcxproj; declared configurations: Debug|Win32, Release|Win32, Release|x64.

FogBeams11Tests.cpp

Source: Tests/FogBeams11Tests.cpp

Entry-point checks

Fixture: Fog Beams11 tests
Case symbol: main
Source: Tests/FogBeams11Tests.cpp:189

Test
Entry-point checks: camera-relative beam survives large camera translation without swimming; upper low-beam cutoff leaves sky unlit; side-on crossing beam is visible.
Source check messages (including original failure wording)

  • road beam is visible in fog
  • camera-relative beam survives large camera translation without swimming
  • upper low-beam cutoff leaves sky unlit
  • side-on crossing beam is visible
  • fog radiance matches independent dense integration
  • dense-fog photometric fixture stays measurable without display saturation
  • dense near-source fog retains authored candela before scattering
  • reduced dense-fog beam retains near-source photometric brightness
  • foreground depth blocks the entire beam
  • cockpit stencil blocks beam scattering
  • off lamp contributes no fog
  • clear air contributes no fog
  • offscreen nonintersecting beam is culled
  • beam aimed away cannot illuminate the view
  • dense mist reduces distant beam throw
  • resource reinitialization retains fog rendering
  • read inherited fog startup override
  • set fog startup override
  • fog startup defaults on and respects explicit off/on overrides
  • packaged production fog shaders initialize
  • A/B off keeps a clear cloud frame black
  • production fog lights survive cloud-envelope culling
  • cloud source/view extinction reduces fog scattering
  • reduced beam remains visible
  • reduced mean brightness stays within five percent of reference
  • reduced radiance agrees with full-resolution reference
  • reduced near-plane fog matches the depth-clipped reference
  • foreground depth removes the distant fog contribution
  • reduced cockpit stencil blocks the beam
  • reduced reconstruction preserves the exact road sky cutoff
  • eight total lamps is a hard cap including player lights
  • beam survives beside a thin foreground edge
  • reconstruction cannot leak through a thin depth/stencil edge
  • odd viewport size rounds reduced targets up safely
  • resized target release recreates valid scattering layers
  • shared buffer preserves overlapping road and aircraft lamps
  • offset viewport reconstructs a visible beam
  • offset viewport leaves pixels outside its rectangle untouched
  • reduced cloud extinction suppresses the distant beam
  • MSAA fog is visible
  • MSAA cockpit samples remain unlit
  • mixed MSAA depth clips covered samples without expanding the silhouette
  • hardware stencil masks individual MSAA samples at uniform depth
  • 4K automatic shared buffer agrees with the reference
  • perspective ground fixture contains visible headlight fog
  • perspective ground fog has no missing scanlines or horizon seam
  • perspective ground fog brightness stays within five percent of reference
  • tilted perspective reconstruction preserves thin cockpit silhouettes