I’m working on a game using OpenTK in C#. Currently trying to implement the pause menu system.
One feature, that I need your help with, is darkening the whole screen when the menu appears.
Is there any way i can do a final modification of every pixel (half the RGB?) once everything is rendered? If not, i know that drawing a quad over the screen works, but i can’t seem to work out how to get semi-transparency to work with OpenTK quads.
One simple effect, that uses only 100% and 0% alpha, yet ‘darkens’ the screen, is to have a checkerboard pattern (for 50% darker) of black and clear pixels, and render that over the screen.
The downfall of this is it isn’t ‘darkening’ the screen flawlessly, however it is faster than handling partial transparency, and can have a nice effect as it is (a bit of diversity).