In the image above you can see a small snowy baseplate and a sphere on top. I am trying to create an effect where you can only see whats on the baseplate if it is in the sphere like a snowglobe. The problem I run into is that I cannot make the parts partially transparent which would allow me to simply detect which parts are colliding with the sphere and make them transparent. If you could think of a way to create this same effect I would gladly appreciate the help. (I am not trying to make a snowglobe that was just an example)
Have you looked into FogStart in the Lighting service?
Its not going to create the same effect as I want sadly
Well then there’s no way around it. You can’t “partially” render a BasePart without thr Glass material trick. And that’s just inconvenient.
It might take a bit of programming, but you can use .Magnitude or Shapecasts to measure if the center of a Part is a certain number of studs away, and if it is less than the sphere distance then make it Transparent. It’s still going to render each entire tree (I’m guessing they are MeshParts), but it might be close to what you want.
Similar posts found using the term ‘only render close parts’:
How would i make so the nearby parts to a player become gradually transparent the closer
Ideal way to detect if player is near specific parts