I have read some optimazations for the opengl es. There is one for it that they perform the lighting after the rasterization. But, I don't know how to implement it because we only get the fragment after the rasterization. How could i perform the lighting after the rasterization. I wonder that we can do per-vertex or per-pixel lighting after the rasterization.