actually the BasicGameState thing was a different example, in this example I extend BaseGame and make call in render method.
I know, but in this example it's rather clear you should not do this (because it's already in a pass). With a GameState it might not be that obvious.
im finally getting it, I took out the shadowpass and the texture rendered fine