[SOLVED] Custom Shader (Fresnel)

It’s what you’re asking, but you could perhaps use this solution: