I just wonder how to create a smooth transition so the scene doesn’t look that there is an end. Imagine the camera is in the middle of the scene on a plane. The plane is e.g. 10x10. Several objects are placed on the plane. In this case you can clearly see all objects and the edges of the plane. Is it possible to create a gradient that affects the whole scene for all vertices with a higher distance than maybe 7 to the center? I hope it’s clear what I mean.
My first thought was about a volumetric fog. The normal fog is influenced by the camera position what is not what I am looking for. Using a particle system is too expensive imo. Best solution for me would be to have a shader that successively reduces the opacity for vertices with a higher distance to center than X.
This is my approach so far: https://playground.babylonjs.com/#AM5JBF#1
It makes the fog static regarding the camera zoom but it doesn’t work for panning. And it is not possible to create a gradient to transparent.