changed transparency to work with two render targets