resolution

Parameters

resolution

Width in px of the largest mip in the downsample chain. 0 lets Filament pick a default (~360 px), which can look pixelated on high-DPI displays. Bump to roughly half the render width for a smoother halo on retina/iOS screens.