Same pass, different moment
You add a blur and transparent objects stay sharp. You add an outline and its color is off because it lands after color grading. Neither is a shader problem; both are about when the pass runs. Picking the wrong injection point in the renderer feature list produces exactly this.
Each point is missing something
Several features at the same point run top down in list order, so the list position decides the result too.
- Before rendering, the color target is not ready yet.
- After rendering opaques, transparent objects are not drawn yet.
- Before rendering transparents is where a screen-reading blur usually belongs.
- After post processing, the screen already has grading applied.
// Pinning the point in code removes the later confusion
public override void Create()
{
pass = new OutlinePass
{
renderPassEvent = RenderPassEvent.BeforeRenderingTransparents
};
}Judge it in the Frame Debugger
Do not guess. Open a single frame and the pass order, plus what the screen holds at that moment, is right there.
[Frame Debugger]
DrawOpaqueObjects
Outline <- here
DrawTransparentObjects
PostProcessingExpected result and next step
A pass sitting where you intended in the Frame Debugger finishes this item, often without editing a single shader line. If the pass has moved to render graph, check that its declared resources agree with this order.
Official documentation review
Verified
Reviewed the article's code and procedure against official Unity documentation and marked it ready for publication. This is not a claim of an independent Unity project or device reproduction; version- or device-specific reports will be checked in that environment as follow-up.