godot/scene/resources
Hugo Locurcio 8a485ff658
Fix BaseMaterial3D refracting objects located in front of the material
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>
2024-09-26 15:12:31 +02:00
..
2d SCons: Add unobtrusive type hints in SCons files 2024-09-25 09:34:35 -05:00
3d SCons: Add unobtrusive type hints in SCons files 2024-09-25 09:34:35 -05:00
animated_texture.cpp AnimatedTexture: Fix crash when loaded from a thread 2024-06-19 09:54:01 +02:00
animated_texture.h AnimatedTexture: Fix crash when loaded from a thread 2024-06-19 09:54:01 +02:00
animation_library.cpp Use Core/Scene stringnames consistently 2024-05-13 23:41:07 +02:00
animation_library.h Optimise Object's get_argument_options 2024-02-29 18:00:54 +01:00
animation.compat.inc Fix seeking Animation immediate after playback for Discrete track 2024-06-08 22:09:37 +09:00
animation.cpp Merge pull request #97380 from TheSofox/handle_modes_default_fix 2024-09-25 12:39:22 +02:00
animation.h Use static LocalVector for processed_hashes 2024-08-30 19:41:38 +03:00
atlas_texture.cpp Fix empty region in AtlasTexture 2024-07-18 15:31:59 +02:00
atlas_texture.h Fix empty region in AtlasTexture 2024-07-18 15:31:59 +02:00
audio_stream_polyphonic.compat.inc Add samples playback support 2024-06-18 11:06:31 -04:00
audio_stream_polyphonic.cpp Fix leak when using audio samples instead of streams 2024-09-04 12:56:03 -04:00
audio_stream_polyphonic.h Fix polyphonic audio streams with id > 1 cannot be stopped or changed (MSVC mis-optimization) 2024-07-22 14:08:02 +02:00
audio_stream_wav.cpp Merge pull request #96768 from DeeJayLSP/wav-end 2024-09-12 09:25:31 +02:00
audio_stream_wav.h AudioStream(Playback)WAV: Use LocalVectors instead of pointers 2024-09-08 02:32:59 -03:00
bit_map.cpp Avoid expensive sqrt operation in hot loop of BitMap.grow_mask 2024-09-12 11:04:57 -03:00
bit_map.h
bone_map.cpp
bone_map.h
camera_attributes.cpp Avoid unqualified-id "near" and "far" in Node3DEditor/Viewport 2024-02-13 18:53:21 +09:00
camera_attributes.h Style: Apply new clang-format changes 2024-09-20 08:09:48 -05:00
camera_texture.cpp Add linux camera support 2024-09-25 12:08:06 +02:00
camera_texture.h Add linux camera support 2024-09-25 12:08:06 +02:00
canvas_item_material.cpp Let materials' shaders update happen on loader threads 2024-05-06 19:40:00 +02:00
canvas_item_material.h Let materials' shaders update happen on loader threads 2024-05-06 19:40:00 +02:00
compositor.cpp Implement hooks into renderer 2024-02-18 21:54:21 +11:00
compositor.h Implement hooks into renderer 2024-02-18 21:54:21 +11:00
compressed_texture.cpp Add check in CompressedTextureLayered::get_layer_data to prevent crash 2024-02-16 22:41:05 +08:00
compressed_texture.h Add 'override' mark to ResourceFormat class 2024-03-25 04:06:34 +08:00
curve_texture.cpp Use Core/Scene stringnames consistently 2024-05-13 23:41:07 +02:00
curve_texture.h
curve.cpp Support “clear points” function in Path3D editor 2024-03-27 12:40:30 +08:00
curve.h Support “clear points” function in Path3D editor 2024-03-27 12:40:30 +08:00
environment.cpp Implement glow/bloom on compatibility renderer 2024-02-19 13:29:43 +11:00
environment.h Add optional depth fog 2024-02-17 22:39:34 -03:00
external_texture.cpp Remove direct render include in ExternalTexture 2024-09-21 17:44:28 +02:00
external_texture.h Add external texture support (GLES3) 2024-09-20 10:48:32 -05:00
font.compat.inc
font.cpp Merge pull request #93602 from aaronp64/inspector_latency 2024-08-22 00:10:26 +02:00
font.h [Font] Add check for cyclic base font dependencies. 2024-08-03 00:00:11 +03:00
gradient_texture.cpp Merge pull request #92000 from clayjohn/vram-debugger 2024-05-16 09:32:11 +02:00
gradient_texture.h
gradient.cpp
gradient.h
image_texture.cpp
image_texture.h
immediate_mesh.cpp Avoid singularity when generated tangents and validate that tangents are good enough when using compression 2024-02-23 16:25:26 -08:00
immediate_mesh.h
label_settings.cpp
label_settings.h
material.cpp Fix BaseMaterial3D refracting objects located in front of the material 2024-09-26 15:12:31 +02:00
material.h Let materials' shaders update happen on loader threads 2024-05-06 19:40:00 +02:00
mesh_data_tool.compat.inc
mesh_data_tool.cpp
mesh_data_tool.h
mesh_texture.cpp
mesh_texture.h
mesh.cpp Fix shadow mesh recursion. 2024-08-31 22:31:43 +03:00
mesh.h Disable all 3D nodes, physics, and resources when compiling without 3D 2024-03-11 01:00:55 -07:00
multimesh.cpp Fixed Timestep Interpolation: MultiMesh 2024-08-18 17:14:59 +02:00
multimesh.h Fixed Timestep Interpolation: MultiMesh 2024-08-18 17:14:59 +02:00
navigation_mesh.cpp NavigationPolygon: Implement get/set_polygon fast paths. 2024-08-17 00:31:58 +02:00
navigation_mesh.h Extract navigation-related defaults to separate header 2024-08-27 20:12:10 +02:00
packed_scene.cpp Added a more detailed error message when instatiating a scene with missing export properties. 2024-09-16 16:08:55 +02:00
packed_scene.h Implement typed dictionaries 2024-09-04 10:27:26 -05:00
particle_process_material.cpp Add cone angle control to particle emission ring shape 2024-09-02 14:35:51 +02:00
particle_process_material.h Add cone angle control to particle emission ring shape 2024-09-02 14:35:51 +02:00
physics_material.cpp
physics_material.h
placeholder_textures.cpp
placeholder_textures.h
portable_compressed_texture.cpp Mark underscored properties as internal 2024-07-30 18:50:00 +02:00
portable_compressed_texture.h
resource_format_text.cpp [Resource Loader] Do not check property type for non registered properties. 2024-09-10 11:27:16 +03:00
resource_format_text.h Fix SCU global namespace conflict in resource_format_text.cpp 2024-09-03 07:30:56 +01:00
SCsub SCons: Add unobtrusive type hints in SCons files 2024-09-25 09:34:35 -05:00
shader_include.cpp
shader_include.h Add 'override' mark to ResourceFormat class 2024-03-25 04:06:34 +08:00
shader.compat.inc Allow setting a cubemap as default parameter to shader 2024-08-27 09:43:05 +03:00
shader.cpp Cleanup of raw nullptr checks with Ref 2024-08-31 15:01:09 +02:00
shader.h Allow setting a cubemap as default parameter to shader 2024-08-27 09:43:05 +03:00
skeleton_profile.cpp Match the coding style for concatenating String 2024-06-09 18:35:23 +09:00
skeleton_profile.h [Animation] Expose SkeletonProfile.set/is_required 2024-03-30 20:57:55 +01:00
sky.cpp
sky.h
sprite_frames.cpp Add duplicate animation 2024-09-01 17:00:47 +02:00
sprite_frames.h Add duplicate animation 2024-09-01 17:00:47 +02:00
style_box_flat.cpp Fix StyleBoxFlat rectangles skewing independently 2024-08-29 15:34:30 +02:00
style_box_flat.h
style_box_line.cpp
style_box_line.h
style_box_texture.cpp
style_box_texture.h
style_box.cpp
style_box.h
surface_tool.cpp Cleanup of raw nullptr checks with Ref 2024-08-31 15:01:09 +02:00
surface_tool.h Expose create_from_arrays in SurfaceTool and cleanup some naming 2024-04-19 18:45:06 -07:00
syntax_highlighter.cpp Fix uint's suffix is not highlighted in text shader editor 2024-05-03 21:45:53 +08:00
syntax_highlighter.h Make native shader source visualizer can highlight uint suffix 2024-05-07 14:18:48 +08:00
text_file.cpp
text_file.h
text_line.cpp
text_line.h
text_paragraph.cpp Account for dropcap when calculating paragraph size, fix duplicate last char when using dropcap with autowrap off. 2024-08-29 09:37:23 +03:00
text_paragraph.h
texture_rd.cpp
texture_rd.h
texture.cpp
texture.h
theme.cpp Improve Editor Inspector/Theme item lookup performance 2024-08-20 13:39:40 -04:00
theme.h Improve Editor Inspector/Theme item lookup performance 2024-08-20 13:39:40 -04:00
video_stream.cpp
video_stream.h
visual_shader_nodes.compat.inc Allow setting a cubemap as default parameter to shader 2024-08-27 09:43:05 +03:00
visual_shader_nodes.cpp Visual Shader: Add vector operations to Remap node 2024-09-22 11:25:36 -07:00
visual_shader_nodes.h Visual Shader: Add vector operations to Remap node 2024-09-22 11:25:36 -07:00
visual_shader_particle_nodes.cpp Reduce and prevent unnecessary random-access to List 2024-05-04 16:08:55 +02:00
visual_shader_particle_nodes.h Fix some missing categories in visual shader nodes 2024-03-05 19:39:23 +01:00
visual_shader_sdf_nodes.cpp
visual_shader_sdf_nodes.h Fix some missing categories in visual shader nodes 2024-03-05 19:39:23 +01:00
visual_shader.cpp Merge pull request #95984 from timothyqiu/what-identifier 2024-08-27 16:55:06 +02:00
visual_shader.h Allow setting a cubemap as default parameter to shader 2024-08-27 09:43:05 +03:00
world_2d.cpp Reorganize some code to have 2D things grouped together 2024-04-13 02:56:50 -07:00
world_2d.h Remove self includes in some files 2024-02-27 17:10:54 +01:00