Improving video memoryand shder model