fixed mat entity

still need the add texture