how to outline a model/file on the edge?
not using a Selection Box or Highlight like this
or inverting faces
this is the end target
how to outline a model/file on the edge?
not using a Selection Box or Highlight like this
this is the end target
Don’t see why you wouldn’t use highlight for this. You specified you don’t want to but I’m interested why not?
Roblox doesn’t have functionality like that, closest you’ll get is using a highlight instance, but it’ll only create an outline outside the object, not on the model edges.
You could go into blender and manually invert the object (alt+n > flip with all faces selected) and that’ll get a result, albeit just very similar to what you’d get with a highlight.
And finally, any other options include custom texturing similar to what Borderlands does.
because it doesn’t outline the edge
The thing your looking for is called an edge detection shader.
If your just doing it for one part/mesh, then Charks approach is your best call, that is, manually make the edges.
If your dead set on having this effect made procedurally, then you have two options with potentially huge performance costs (if your doing it for every object in your game):
Deconstruct the model into face and vertex data (possibly using roblox’s MeshAPI) then create a part at each edge where faces aren’t flush. (Note that if you want an edge between two meshes that are touching, you’d also need to make a 3D intersection algorithm)
Try to make the shader in Roblox using ImageAPI and a custom renderer.