Getting Terraria to Run at 4K 60fps With a Facecam Overlay
Most people try to record Terraria at high resolution without adjusting anything first. The game is not demanding by modern standards, but throwing a facecam on top of a 4K render pass through OBS or similar capture software will tank your framerate pretty quickly if you do not configure it properly. I have dealt with this exact setup multiple times over the years. Here is how it actually works when you stop guessing. Start with Terraria itself. Launch the game and go to Settings > Video. Set your resolution to your monitor's native 4K output if possible, or at least something that matches your intended final render size. Turn off V-Sync inside the game if you want frame pacing to be predictable, and disable any in-game frame cap. You will cap it on the capture side instead. Make sure full-screen mode is set to either Borderless or Fullscreen Exclusive depending on what captures more reliably on your system. Borderless tends to cause less input lag in Terraria. Fullscreen Exclusive can give you slightly cleaner capture in OBS but breaks alt-tabbing. Your call. On the capture side, open your recording or streaming software and set the base canvas to 3840x2160. Set the output resolution to 3840x2160 as well. The scale filter should be set to Lanczos or Bilinear depending on whether your CPU or GPU can handle it. Lanczos looks sharper but costs more. Bilinear is faster and usually good enough for Terraria since the art style is already pixel-based. Set your framerate to 60. If you are recording locally and storage is not a concern, use a lossless or near-lossless preset like H.264 with a very high bitrate or x264 ultrafast if you plan to convert later.
For the facecam, add a source and point it at your webcam. Most modern webcams do not natively output at 4K, so you will be upscaling the camera feed. Set the filter on the camera source to Scale to Fit or Preserve Aspect Ratio, then position it in the corner of the canvas. I tend to use a small border or drop shadow filter just to separate it visually from the gameplay. Do not overdo transparency effects. They look fine in the preview but can cause encoding artifacts or stuttering depending on your hardware. If you are using OBS, go to Settings > Output and switch to Advanced mode. Set the encoder. If you have an NVIDIA card, NVENC H.264 is reliable. Pick the P5 or P6 preset for encoding quality versus speed. B-frame delay should be zero to prevent audio sync drift. Set bitrate around 30000 to 40000 kbps for 4K 60fps. If you are doing local recording and want the highest quality, use the FFmpeg output path with a slow preset or lossless option. Your file sizes will be large, but the result will be clean. If you stream, stay under your platform's bitrate recommendations or you will get packet loss and corruption. There is a specific issue I ran into a while back that is worth mentioning. I was recording Terraria at 4K 60fps with a facecam and noticed that every so often, the video would stutter for exactly one frame. I had ruled out CPU bottlenecks, RAM issues, and GPU throttling. The culprit turned out to be Windows Hardware-Accelerated GPU Scheduling. It was causing micro-stutters in the capture pipe specifically when the facecam source was active alongside the game. Disabling it in Windows Settings under System > Display > Graphics settings fixed the problem immediately. This is not a universal issue, but if you see periodic frame drops that do not show up in the frame counter, check that setting.
Audio matters just as much as video. Terraria runs on very simple audio, but your facecam microphone will pick up everything else in the room. Set your mic to a reasonable gain. Do not rely on noise suppression if you can avoid it because some implementations will warp Terraria's sounds and make them sound underwater. A basic noise gate that closes the mic when you are not talking is usually sufficient and does not affect audio quality as much. Route your game audio separately in the mixer so you can adjust its level independently of your voice track. If you are streaming, this also prevents your mic from ducking game audio unexpectedly.
Get the Full Details

What beginners usually get wrong
People often think that higher bitrate always means better quality. That is true until it is not. At 4K 60fps, the encoding process becomes extremely sensitive to keyframe intervals. If your keyframe interval is too high, chapters in the video will skip and playback in some players will buffer or fail. Set your keyframe interval to 2 seconds. This is standard for most platforms and keeps the file decodable everywhere. Another common mistake is running the game and the recording software on the same disk. If Terraria is loading assets from a slow SSD while you are simultaneously writing 4K footage to that same drive, you will experience stuttering that looks like a framerate issue but is actually disk contention. Keep the game installed on one drive and write recordings to a different one. It is a cheap and easy fix that most people overlook.
When this approach breaks down
4K 60fps with a facecam overlay is fine if you have a modern GPU and plenty of disk space. If your GPU is older, like a GTX 10-series or equivalent, encoding at this resolution will eat your CPU and leave little headroom for the game itself. In that case, recording at 1440p or even 1080p and upscaling later is more practical. The visual difference at that resolution for a game like Terraria is minimal, especially since the pixel art does not benefit from 4K sharpness in the same way photorealistic content does. Also, if you are on a console version of Terraria, the capture path is completely different and this guide does not apply. You would need an external capture card and the workflow changes significantly. The settings I described are for the PC version only. Finally, remember that Terraria itself has a built-in frame rate limit in some configurations. If you do not see 60fps in the in-game stats despite everything being configured correctly, check the game's config file for a maximum fps entry and make sure it is set appropriately. The default can sometimes clamp output depending on your installation. This is a known issue that is easy to miss if you assume the game is just running poorly.