added the setOpacity method on surface renderer