improved hdr calculation
added separate hdr for view
there are problems of re-assigning arguments for cl kernels