Thanks for the help! I fiddled with the glow layer settings a bit more, and discovered that the mainTextureRatio
and blurKernelSize
have a dramatic effect on the blur rendering, and seem to mostly eliminate the flicker (as long as mainTextureSamples
is high enough).
Though, this dramatically reduces performance, so it’s not without cost.
It looks pretty good at:
const gl = new BABYLON.GlowLayer("glow", scene, {
mainTextureRatio: 1,
blurKernelSize: 64,
mainTextureSamples: 512,
});