In my game I have a real-time security camera using render textures.
Is it possible to have this camera/render texture run at a lower refresh rate?
Looks weird to have an old looking CCTV camera setup running at a smooth 60fps.
Someone on another thread suggested turning the camera off at intervals, but this also pauses all the image effects happening, making this unsuitable.
Any ideas?
You could maka a second rendertexture and coppy the 60fps rendertexture every second less frame to the second rendertexture and display that one on your CCTV display.
Thank you for you response!
Could you possibly elaborate on your suggestion? I’m having difficulty understanding it.
Are you saying to do something like this?
- Render texture 1 is rendering at 60fps
- Render texture 2 does not update by itself
- Every X frames, Render texture 2 gets the current image from Render texture 1
If that is what you are saying, wouldn’t it still pause the animated image effects (film grain)?
Although I guess if it was updating at around 24 FPS (for example) it might not be that noticable.
Thats a good point, that the image effect is running on the camera and not the rendertexture.
Maybe there is a way to manual call the image effects every frame and give them the Rendertexture 2 instead of just having them sit on a camera. I have to test that.