Tuesday, 22 May 2018

Screen material

I've created a screen material from the render target created previously to appear on the arcade screen.

This implements a scan-line material to simulate an old CRT screen and a black border edge based on the Wireframe material created earlier.

These effects are both created procedurally, meaning they do not need any textures of their own, which reduces memory and loading overheads. The only texture required in this implementation is from the render target as the basis for the effect to go over.

I am pretty proud of this effect I've created. I was originally going to use something similar to this implementation on the Unreal website, but I worked out a way to do it without needing textures for the scan-line.

https://wiki.unrealengine.com/Video_Scanline_Post_Process_Effects_%28Tutorial%29

I feel like I have improved on their implementation.