Shader next pass not working?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Agentfox

Hi!
I’m trying to make a planet (primarily ocean), and I have put together a shader for it. I’m not the best at shaders, but visual shading helps a lot. I finished the water shader, but now I’m trying to overlay an atmosphere shader on top of it, so I put it in as a next pass, and the shader only shows up if I’m looking at it from a specific angle, and even then, all the colors are distorted from what it shows in the preview.
Here’s a video (sorry for the lens flare, I’m still working that out):

skip to 0:36 to see the weird angles.
Is there something I’m doing wrong?

:bust_in_silhouette: Reply From: Agentfox

Nvm, I fixed it.
it was the render priority xD
I feel so dumb now