Highlight Help Needed

So I have an invisible part in a Model that has a highlight in it
I want the part to be completely invisible (I don’t care about the highlight outline on it right now)
The part is Glass and is 1 Transparency but it is still somewhat visible and the sun reflects off of it


It’s only exclusive to glass, which is odd. If you can, change it to another material. That should fix it.


I made it glass since I saw that was the only way to make it so highlight does work on a part when it is transparent, I am using it as visual effects and want the highlight to tween into appearance same as the part. Do you know solution for this?

(I do not think adding a humanoid is a good idea)

Hello! I made that tutorial long ago but I read back on it, according to myself from the past you need to make the reflectance -infinity instead of 1 like you put. I have not reviewed whether this still works, but try it out and tell me what happens!

my theory for this is that highlight interacts with glass material code weirdly and has the refraction part of it set to max, presumably not getting patched cuz its theorized to be how the water material gets its reflections

You can mostly hide the surface reflections by flipping the normals of the part. You’ll need to do this in a LocalScript and reapply the matrix every time you set the CFrame.

Use in the Command Bar to invert it manually

local Part = workspace.Part
Part.CFrame = CFrame.fromMatrix(Part.Position, Part.CFrame.RightVector, Part.CFrame.UpVector, -Part.CFrame.RightVector:Cross(Part.CFrame.UpVector))

An example LocalScript that reapplies the matrix if it becomes uninverted

local Part = workspace:WaitForChild("Part")

local function InvertPart()
	Part.CFrame = CFrame.fromMatrix(Part.Position, Part.CFrame.RightVector, Part.CFrame.UpVector, -Part.CFrame.RightVector:Cross(Part.CFrame.UpVector))
end

Part:GetPropertyChangedSignal("CFrame"):Connect(function()
	local IsInverted = Part.CFrame.LookVector == Part.CFrame.RightVector:Cross(Part.CFrame.UpVector)

	if not IsInverted then
		InvertPart()
	end
end)

InvertPart()

Consider what others suggested. However, if you want an outline on a transparent part you can also use selectionbox

image

It becomes purely black when I do that


Your “Issue” for me it works by just as u said doing the material to glass, setting the parts transparency to 1 and setting the fill transparency to 1 and boom!

Or if you want nothing to be visible just change the outlinetransparency to 1 too

Actually for some reason it works perfectly now but did not yesterday

is there any way to make it so surfaceguis are not hidden when the glass is between you and the gui?

decals work unless the part is transparent which it will be in my game

Glass automatically culls images. You really can’t do anything about that, sadly. There are more detailed explanations out there, but it boils down to “transparency is expensive, I guess”.