VisualShaderNodeVectorRefract
Inherits: VisualShaderNodeVectorBase < VisualShaderNode < Resource < RefCounted < Object
Returns the vector that points in the direction of refraction. For use within the visual shader graph.
Description
Translated to 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.
© Copyright 2014-present Juan Linietsky, Ariel Manzur and the Godot community (CC BY 3.0). Revision 53e837c6
.
Built with Sphinx using a theme provided by Read the Docs.