Daily update: Textre being read/created correctly now. The problem is that I was reading like a RG texture and creating it as a RED. Also, the shader is now working properly and camera can be rotated (awkwardly) by mouse. Next step: Fix the camera rotation.