Fog issue with TerrainMaterial/MixMaterial

Hi, so I have a problem with fog on TerrainMaterial/MixMaterial:


No matter the fog type, it’s always thicker over default gltf assets materials (which are PBR Materials). If I dispose all PBR Materials and create StandardMaterials instead, the fog looks the same. However I’d prefer staying with PBR Materials on all assets.

Is there something I could do about that fog on TerrainMaterial/MixMaterial? So that the fog over PBR Materials and TerrainMaterial/MixMaterial looks the same?

Did you have a look at this topic ?

I think best is to use PBR everywhere if you need fog

2 Likes

Yeah that’s what I thought, it’s because the two materials are way too different.

But do we have a PBR version of TerrainMaterial/MixMaterial?

No, these materials are external contributions and use custom shaders with custom lighting. Maybe you can try to use a node material instead?