Basically im trying to do the pixelation effect with glass + distortion (really far away from world origin)
The games in first person so i just need to have the glass in front of the camera.
This is the script from the original thread on the pixelation effect. I have no idea what to do with it or where to put it.
local Camera = workspace.CurrentCamera
local part = workspace.Glass
part.CanCollide = false
part.Anchored = true
part.Parent = workspace
local function update()
part.CFrame = Camera.CFrame*CFrame.new(0,0,-0.41)*CFrame.Angles(math.pi/-2,math.pi/1,math.pi/1)
end
Camera:GetPropertyChangedSignal"CFrame":Connect(update)
update()
The part IS disappearing, to where? No clue but its not going to my camera
Play around with the CFrame values a bit to try to find what’s appropriate.
Something that could also help is parenting the part to the Camera. This is usually done in view models and this part serves the same purpose so that may help.