send light/material data to the shader