applied hexTex and fixed triTex application