SceneCaptureComponent2D freezing after few seconds

DLROKen
Mon, 16 Oct 2017 01:44:34 +0000
Rendering

I’ve built a scope for a rifle using the following Tutorial as a base: Sniper Scope Zoom - [UE4 Tutorial] - YouTube
But because I have an Aim feature built in that zooms the guns a hair in first person view, using “Perspective” in the details section of the SceneCaptureComponent2D, did nothing to zoom. So I switched it to “Orthographic”, with a width of 2000 and it started working right, but lags a little until I check the Tick Box for “Capture Every Frame”. It then works fine to capture the Material I made but totally freezes up after about 10 seconds. The following is a screen shot of the settings for the scope and the material. If I Remove the check from the “Capture Every Frame” it works, but not very good. It is like static for a second, works, then static again, then works again for a little bit. I’m using 4.16 for this project. The Base project template was Generic Shooter. Can anyone tell me what I’m doing wrong, or a better method to make a good scope? I can’t use zoom by Scrolling the Mouse Button, because I already use that as a fast way to change out weapons.

https://ibb.co/iUwzkm

3 posts - 1 participant