changed format style, add freetyle opengl texture generation