Buto 1.3.2 Patch Notes

by Michael Sacco Published November 6, 2022
The cover for Buto 1.3.2 Patch Notes

Abstract

Buto’s 1.3.2 release fixes an issue that could cause the new Volumetric Point Lights to appear blown out in some cases.

Discussion of the Issue

This issue was caused by a quirk of the Inverse-Square Law when used at distances of < 1.0.

Inverse Square Law = 1.0 / d^2.

The result approaches infinity as d approaches 0.

Given how the Raymarch works in Buto, the same is sometimes taken very close to the Volumetric Point Light’s source, sometimes not. This results in flickering behavior when the sample is taken very close to the source and the resulting lighting value is very high.

Buto Volumetric Point Light demonstrating the original issue

Resolution Approach

We resolved this issue by ensuring the falloff value never exceeds 1,

Modified Equation = 1.0 / (1.0 + d^2).

You may observe that the original equation resulted in more intense lighting near the source. You can increase the Volumetric Point Light’s intensity to achieve more intense lighting near the source without the flickering that accompanied the prior approach.

Buto Volumetric Point Light demonstrating the same light with the fix applied

Alternatives

Although we could also resolve this issue by allowing the user to define the source radius of the Point Light, we believe this level of control would not be useful or meaningful for most users. Therefore, we opted for this approach that avoids introducing additional control parameters.

About Buto

Buto enables you to easily add real-time physically based volumetric lighting and volumetric fog to your Unity game.

Learn more about Buto on the Unity Asset Store

Free download: Indie Game Marketing Checklist

Download now

Category

patch notes

Don't forget to share this post!

Popular assets for Unity

See all assets ->
    Cutting-edge volumetric fog and volumetric lighting with support for transparent materials.
    Volumetric clouds, day night cycles, dynamic skies, global lighting, weather effects, and planets and moons.
    A lightweight procedural skybox ideal for semi-stylized projects.
    Image-based Outlines for 2D and 3D games with variable line weight, color, and displacement options.
    Drag-and-drop ready-to-use ambient, impact, and spell particle effects.
    Per-pixel gaussian blur on your entire screen, part of the UI, or in-scene objects.

Free Indie Game Marketing Checklist

Learn how to make your game successful with this handy checklist.

Download for free