I've been trying to implement a 1 light deferred shading for upwards of 10 hours no because I have no idea what I'm doing wrong. I'm writing this using GLSL. It seems I've tried every variation of view space, world space, etc. and nothing works. I've looked on the internet for tutorials, but I can't find any, just papers explaining the theory. If anyone could point me to a good tutorial, that would be greatly appreciated. Thanks.