It could be the cable. At the back of the LCD, right behind the Apple logo is where the video (LVDS) cable plugs in. The cable is routed through the hinge to the logicboard. What happens is that over time it chafes with all the lid opening and closing. That can wear the cable.
But replacing just the cable is really, really difficult. The LCD cover is connected to the screen by a series of very small (and sharp) hooks.You have to wedge a spudger or something similar in between the bezel and the back cover to pop the hooks. And you have to do it slowly, so it's time consuming. Once you get a small section off you can slide it a certain way to disengage the hooks. You'd think all you'd have to do is remove those two screws on the front side of the LCD, but nope, that isn't the way it works. You do have to remove them. But you have to also be careful here as they can strip. Getting them back tight again when they've been stripped is impossible.
The problem is that the hooks are actually small strips of a tin type metal. They are glued on to the inside of the back cover. So any over exertion of pressure can actually rip the strip of hooks off the inside of the back cover. There's a certain way to do it, but it was my first time and I completely messed it up. If you mess it up there's no real way to get the cover back on and flush (and secure) like it is to begin with.
Once you have the cover off, you can replace the cable. But it's getting that back cover off that's the problem. Once you get through all that though, there is no guarantee that it was the cable. You can go through that whole freaking process only to find out that it was the screen. So, then you have to replace the screen. Are you going to also take back out the good LVDS cable you just put in?
It's a gamble. I lost, because even after replacing the cable the screen only worked for a short while. I also had a screwed up bezel and there were gaps between the cover and the bezel you could drive a truck through. So, I replaced the entire thing.
Since this seems to be a DIY project then, go over to iFixit.com, find your model and look at the guide for screen replacement. It's involved, but it's not difficult. You just have to be comfortable working inside the Mac. You'll also want to pick up a set of Torx wrenches and possibly a spudger.