mirror of
https://github.com/godotengine/godot.git
synced 2024-12-27 11:24:59 +08:00
8a485ff658
Depth comparison is now used to prevent refraction from occurring if the pixel being refracted is located in front of the object. For pixels slightly behind the object, a `smoothstep()` curve is used to progressively increases refraction intensity as the distance between the object and the refraction increases. This avoids sudden discontinuities in the refraction. Co-authored-by: GeneralLegendary <generallegendary456@gmail.com> |
||
---|---|---|
.. | ||
2d | ||
3d | ||
animation | ||
audio | ||
debugger | ||
gui | ||
main | ||
resources | ||
theme | ||
property_list_helper.cpp | ||
property_list_helper.h | ||
property_utils.cpp | ||
property_utils.h | ||
register_scene_types.cpp | ||
register_scene_types.h | ||
scene_string_names.cpp | ||
scene_string_names.h | ||
SCsub |