removed errors in shader constants and attributes