Refactor on basic/tex shader programs