Spherical Opacity Mask Material - Fill Areas

I am using an opacity mask on my material with a sphere shape to cut through my voxel landscape - the areas on the mesh edges where it subtracts are of course left ‘open’ visually on the mesh.

I was wondering if there is a way of filling this void area with another material - so basically the crossover area where the sphere intersects through the mesh so it looks like it has volume?

The landscape changes in play so it needs to be something that adjusts automatically

Hope this makes sense!

1 Like

The opacity makes the mesh transparent, so unless there is something behind the landscape to render, nothing will show.

If the opacity-masking is done in the landscape material, you can add extra logic to, instead of adjusting opacity, use that alpha to mix in another set of textures, etc.

Otherwise, if you are literally just carving away mesh/triangles, there’s nothing there to render to begin with.