Up to date
This page is up to date for Godot
If you still find outdated information, please open an issue.
Returns the vector that points in the direction of refraction. For use within the visual shader graph.
refract(I, N, eta) in the shader language, where
I is the incident vector,
N is the normal vector and
eta is the ratio of the indices of the refraction.