Added opaque texture support.