simplified opacity calc