virtualx-engine/servers/rendering
mandryskowski 33e46aac13
Revert the change of the limit for interpolation of R0 with respect to metallic and SSR
Commit 2c000cb72f changed the interpolation limits from (0.04, 1.0) to (0.04, 0.37). This is incorrect, as we want to have an F0 of 0.04 for dielectrics (materials with metalness of 0.0) and an F0 of 1.0 for metals.
The Schlick approximation uses an F0 of 0.04 for all dielectrics and it's good enough.
Having it lower than 1.0 leads to an incorrect application of the Fresnel effect for metals and leads to bugs like #79549
2023-07-18 19:18:19 +02:00
..
dummy (Re-)Implemented Light3D's property "shadow_reverse_cull_face" 2023-05-19 19:22:10 +02:00
environment
renderer_rd Revert the change of the limit for interpolation of R0 with respect to metallic and SSR 2023-07-18 19:18:19 +02:00
storage Fix shader uniform storage conversions and crash 2023-05-29 15:17:13 +03:00
renderer_canvas_cull.cpp Fix Y-sort modulate for top-most Y-sorted CanvasItem 2023-06-12 13:33:26 +02:00
renderer_canvas_cull.h Single Compilation Unit build. 2023-06-06 15:36:51 +01:00
renderer_canvas_render.cpp
renderer_canvas_render.h
renderer_compositor.cpp
renderer_compositor.h
renderer_geometry_instance.cpp
renderer_geometry_instance.h Expose RD::texture_native_handle 2023-06-14 09:58:08 +10:00
renderer_scene_cull.cpp Properly clear material slots on mesh instance when material is freed 2023-05-22 23:00:00 +10:00
renderer_scene_cull.h Properly clear material slots on mesh instance when material is freed 2023-05-22 23:00:00 +10:00
renderer_scene_occlusion_cull.cpp
renderer_scene_occlusion_cull.h
renderer_scene_render.cpp
renderer_scene_render.h
renderer_viewport.cpp Add RENDERING_INFO parameters to GL Compatibility renderer 2023-06-16 09:10:00 +02:00
renderer_viewport.h Add RENDERING_INFO parameters to GL Compatibility renderer 2023-06-16 09:10:00 +02:00
rendering_device.cpp Split raster barrier into vertex and fragment barrier 2023-07-15 12:30:32 +10:00
rendering_device.h Split raster barrier into vertex and fragment barrier 2023-07-15 12:30:32 +10:00
rendering_device_binds.cpp
rendering_device_binds.h Add ValidatedCall to MethodBind 2023-04-30 20:01:26 +02:00
rendering_method.cpp
rendering_method.h
rendering_server_default.cpp Add RENDERING_INFO parameters to GL Compatibility renderer 2023-06-16 09:10:00 +02:00
rendering_server_default.h For GDExternal use, provides access to internal graphics handles for textures 2023-05-09 13:47:22 +10:00
rendering_server_globals.cpp
rendering_server_globals.h
SCsub
shader_compiler.cpp Merge pull request #77740 from ChibiDenDen/simplify_vulkan 2023-07-12 17:16:12 +02:00
shader_compiler.h replace sampler arrays with constant sampler elements 2023-06-22 01:11:57 +03:00
shader_language.cpp Add autocomplete for filter/repeat hints on uniform arrays 2023-07-13 11:27:28 +12:00
shader_language.h Enable shadow warnings and fix raised errors 2023-05-11 16:00:59 +02:00
shader_preprocessor.cpp i18n: Sync translations with Weblate (now tracking 4.1 strings) 2023-06-12 14:57:08 +02:00
shader_preprocessor.h Fix Shader Preprocessor line numbering when disabled 2023-04-26 16:48:23 +03:00
shader_types.cpp Merge pull request #76565 from clayjohn/debug-PSSM-splits 2023-05-15 09:33:01 +02:00
shader_types.h
shader_warnings.cpp
shader_warnings.h