Today I encountered an issue when I was testing my game with isometric camera used (camera type for my game), some shadows are rendered when there isn’t anything above at all.
Here’s the video displaying the problem:
Later, I found that higher FOV doesn’t cause this issue. I think this is likely a bug, but I still want some more info before confirming it.
isometric camera works by going far out and then lowering FOV right? Then the problem is likely lower quality shadows at long distance due to LOD optimization
My isometric camera does not go far away from the character nor super lowering the FOV so no rendering problems should be expected. My camera code looks like this:
-- (MOST CODE ARE DELETED FOR EASIER READING) --
local CAMERA_DEPTH = 22
local HEIGHT_OFFSET = 2
local FIELD_OF_VIEW = 35
local function updateCamera()
local character = player.Character
if character then
local humanoidRootPart = character:FindFirstChild("HumanoidRootPart")
if humanoidRootPart then
local playerPosition = humanoidRootPart.Position + Vector3.yAxis * HEIGHT_OFFSET
local cameraPosition = playerPosition + Vector3.new(-1,1.15,1) * CAMERA_DEPTH
local camCFrame = CFrame.lookAt(cameraPosition, playerPosition) * camOffset
camera.CFrame = camera.CFrame:Lerp(camCFrame, 0.2)
end
end
end