i recently started learning Unreal Engine. To learn the basics of Blueprints i started making a small game. But the thing is i need the camera to be Orthographic. But for some reason the lighting and shadows are not rendering correctly.
Perspective camera works as expected. Orthographic Camera is not.
Am i missing something related to UE5.3 in Orthographic camera? (What i am trying to do is Use 3D models to get 2D look.)
1st image above is the perpective camera
2nd image is the orthographic camera
3rd image is the screenshot of the level
4th image is the screenshot of the orthographic camera settings
What is the expected look from the Orthographic Camera?
I assume the issue is that half the background is black. If that’s the case, I think the problem is that exponential height fog still doesn’t work well with orthographic camera. You’ll have to use a different background, like a sky sphere or something.
Also it’s important to note that Orthographic rendering in 5.3 is still Experimental so it’s not gonna be feature complete and will have issues like this.
Orthographic Rendering (Experimental)
Starting in 5.3, orthographic rendering is now supported as Experimental. Multiple areas of the engine have been fixed to achieve parity between perspective and orthographic projections. Most modern features of UE5 should now work, including Lumen, Nanite, and Shadows. This represents ongoing work and we are interested in hearing your feedback trying to use it in your projects.
I am also experiencing issues with the orthographic camera in UE 5.3. You can see in the following screenshots that there are issues with the lighting and shadowing when using an orthographic camera:
I am running UE on an M1 macbook. Just for reference, both cameras are placed at approximately (-8000, 0, 4500) in world space. The perspective camera has a FOV of 15 degrees, and the ortho camera has a width of ~2300. I have tried removing the exponential height fog but that does not have any effect on my scene. I have also tried multiple settings for global illumination on the ortho camera but they seem to have no effect.
Seems yeah… i mean the ortho camera seems to work as intended. But the lighting doesn’t seems to like the ortho camera.
so i had to use a work around. So i still use the perspective camera. But to get the flat look of the ortho camera. i have placed the camera far away (like 20000 units away ) and made the field of view like 4 degrees.