Models becoming less detailed past a certain point

I’m using the standard roblox materials and past a certain point they “smooth” out and become less detailed, I’ve tried to move the parts and it seems like it happens at a certain point, I’ve also tried restarting studio but that didn’t help.

bug

I have two blocks side by side and it happens again not that far to the right of it.


Update: Found the cause, it was because of the camera script I was using, It disappears when you remove it but I need the script for my game, If you could find what might be causing this it would be appreciated.

local player = game.Players.LocalPlayer

local camera = workspace.CurrentCamera

player.CharacterAdded:Wait()

player.Character:WaitForChild(“HumanoidRootPart”)

camera.CameraSubject = player.Character.HumanoidRootPart

camera.CameraType = Enum.CameraType.Attach

camera.FieldOfView = 40

game:GetService(‘RunService’).Stepped:Connect(function()

camera.CFrame = CFrame.new(player.Character.HumanoidRootPart.Position) * CFrame.new(0,0,40)

end)