Changed PerPixel material (added texture support).