Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)

Enlighten SDK 3.10 Documentation
Results will update as you type.
  • Welcome to Enlighten
  • How Enlighten works
  • Artist workflow
  • Install Enlighten
  • Libraries
  • Implementation guide
  • Technical reference
    • Output formats
    • Albedo handling
    • Lightmap lighting models
    • Light probe evaluation
    • Local IBL reflections
    • Light visibility data
    • Custom direct lights
    • Precompute pipeline
    • Low level precompute API
    • Debugging the precompute
    • The low level runtime
    • Baked lighting
      • Baking with the High Level Build System
        • Baking parameters
        • Bake lighting configuration
        • Bake instance types
        • Per-mesh lightmaps
        • Vertex baking
        • Level of detail and baking
        • Directionality and baking
        • Transparency and baking
        • Baking file types
        • Baking light masks
        • Final Gather
      • Baking with the low level bake API
    • Performance tuning
    • Technical troubleshooting
    • Terrain LOD
    • Probe LOD
    • Lightmap LOD
  • Advanced techniques
  • Tools
  • Enlighten Mobile
  • White papers
  • Third-party licences
  • Release notes
    Calendars

You‘re viewing this with anonymous access, so some content might be blocked.
/
Final Gather

    This is the documentation for Enlighten.

    Final Gather

    Nov 21, 2019

    By default, Final Gather is used in baking to calculate the first indirect bounce.  This produces higher output quality than the upscaled Enlighten irradiance used for subsequent bounces.  The Final Gather process casts rays from each pixel in the high resolution baked output texture, looking up the colour value of the hit location using high resolution ray-traced direct light and low resolution irradiance textures. These colour values are combined to produce the lighting at that point.The available Final Gather control parameters are:

    • EnableFinalGather: Enable final gather. When disabled baking instead uses upsampled Enlighten irradiance directly.
    • FinalGatherQuality: The number of rays to cast for each output pixel during final gather.
    • FinalGatherNumSamples: The number of samples to cast rays from for each output pixel during final gather.
    • FinalGatherTransparency: Enable the evaluation of transparency during final gather. Results might be inconsistent with real-time output.
    • FinalGatherPostFiltering: Enable running of a de-noising filter after final gather for smoother output.This allows using much lower values for FinalGatherQuality, but can result in undesired smoothing out of sharp lighting features for some scenes.

    This feature is enabled by default. 

    Set it using SetEnableFinalGather(), SetFinalGatherQuality(), SetFinalGatherNumSamples(), SetFinalGatherTransparency(), SetFinalGatherPostFiltering methods  in IBakeInputProperties. Or set enableFinalGather, finalGatherQuality, finalGatherNumSamples, finalGatherTransparency and finalGatherPostFiltering in the indirect bake parameters when using the HLBS.

    HLBS Example:

    <bakeParams enableFinalGather="true">
    <indirect finalGatherQuality="4096" finalGatherNumSamples="16" finalGatherTransparency="true" finalGatherPostFiltering="true"/>
    </bakeParams>
    
    , multiple selections available,
    {"serverDuration": 9, "requestCorrelationId": "185f04fac2114a65994e0cddb26874b4"}