We have the need to override the ground and skybox material for our application. We are using the EnvironmentHelper to create the skybox and ground meshes. We also want to be able to override the material that are on both meshes. However, the skyboxMaterial and groundMaterial properties on the EnvironmentHelper are read only. Our current work around is to use the skybox and ground properties on the EnvironmentHelper and set the material directly on the mesh. Is that the best solution or is there a better way to accomplish what we are trying to do?
EnvironmentHelper docs: EnvironmentHelper | Babylon.js Documentation