add view matrix, fix bug in shader parsing