Now each fragment points to a triangle index.
Got the triangle index written!