accelerationShader fix
fixed bug in texture lookup methods