add initialization of the texture parameters