Added transparent texture support.