Weird color artifacts w color grading

Hey all, I’m getting weird color artifacts when I apply color grading, even with a neutral LUT. Anyone seen this or know how to solve?

https://playground.babylonjs.com/#23YL1J#8

Random observation… I’ve been using the ColorCorrectionPostProcess, problem doesn’t seem to exist there.

https://playground.babylonjs.com/#23YL1J#9

Edit:

Looking at

We can see the need for

    lutTexture.anisotropicFilteringLevel = 1;
    lutTexture.wrapU = BABYLON.Texture.CLAMP_ADDRESSMODE;
    lutTexture.wrapV = BABYLON.Texture.CLAMP_ADDRESSMODE;

Adding those fixes the issue:
https://playground.babylonjs.com/#23YL1J#10

The line about anisotropicFilteringLevel seems to be missing here:

2 Likes

Wow great catch @JacobF – that second docs link was the one I was working from and it is indeed missing the anisotropicFilteringLevel line. That totally fixed it. THANK YOU!! :smile:

1 Like