shader correction; indexBuffer moved to base class.