Banding issue with point light

Hello,
I’ve placed a point light over a mirror,
and I get quite a huge banding effect (please look at it fullscreen)
https://playground.babylonjs.com/#IQPBS4#26
I’m I missing something on the material?
Or maybe it’s my monitor :roll_eyes: ?
Many thanks!

Not your monitor only, I can see it too! :rofl: this seems to be a recurrent problem with lighting in general, saw discussion on it on the context of Blender too: Color banding… How do I make it go away? - Game Engine / Game Engine Support and Discussion - Blender Artists Community. One recommended trick seems to be adding some kind of “irregularity” on the scene, like with the grain post-process: banding issue | Babylon.js Playground (babylonjs.com)

@sebavan is going to be working on a plugin to add dithering to PBR materials soon, which will also help counteract this :grinning_face_with_smiling_eyes:

4 Likes

I will definitely do that cause I agree it is annoying, and as soon as the light is pretty low the default back buffer of 8 bits is not enough to handle smooth shading,

ETA is a couple weeks from now :slight_smile:

5 Likes

So here is a first quick pass at the plugin you can interpolate from https://playground.babylonjs.com/#IQPBS4#46

@brunobg is writing the doc at the moment and @Evgeni_Popov can help as well :slight_smile:

2 Likes

doc is coming this week, I already started it. I’m so looking forward to the next release. I’m going to use this immediately :slight_smile:

1 Like

Already did and I love it !!! Congrats @brunobg and @Evgeni_Popov

1 Like

Anyone have a link to this plug-in? Or, is this built-in to BJS now? I’m having this banding issue on a ground plane.

It’s in the PG from @sebavan:

1 Like

Oh, I see now. Thanks @Evgeni_Popov.

1 Like