virtualx-engine/servers/rendering
snowapril b6f72f2b4a Fix D_GGX code which can cause divide-by-zero val
When given roughness is lower than 0.01, d value in original code will
be zero. This can make last return value as NAN because of
divide-by-zero. This is well addressed in issue #56373.

Modified code is referenced on D_GGX function of google/filament
(https://github.com/google/filament/blob/main/shaders/src/brdf.fs#L54-L79)

Signed-off-by: snowapril <sinjihng@gmail.com>
2022-03-14 13:25:05 +09:00
..
renderer_rd Fix D_GGX code which can cause divide-by-zero val 2022-03-14 13:25:05 +09:00
rasterizer_dummy.h Remove unused shadow_color property from Light3D 2022-03-04 23:12:18 +01:00
renderer_canvas_cull.cpp Tweak render timestamp names for explicitness and consistency 2022-03-04 08:46:12 +01:00
renderer_canvas_cull.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
renderer_canvas_render.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
renderer_canvas_render.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
renderer_compositor.cpp Implementing OpenXR driver 2022-02-23 12:02:24 +01:00
renderer_compositor.h Improve compilation speed (forward declarations/includes cleanup) 2022-02-12 02:46:22 +01:00
renderer_scene.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
renderer_scene.h Improve compilation speed (forward declarations/includes cleanup) 2022-02-12 02:46:22 +01:00
renderer_scene_cull.cpp Tweak render timestamp names for explicitness and consistency 2022-03-04 08:46:12 +01:00
renderer_scene_cull.h Improve compilation speed (forward declarations/includes cleanup) 2022-02-12 02:46:22 +01:00
renderer_scene_occlusion_cull.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
renderer_scene_occlusion_cull.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
renderer_scene_render.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
renderer_scene_render.h Improve compilation speed (forward declarations/includes cleanup) 2022-02-12 02:46:22 +01:00
renderer_storage.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
renderer_storage.h Remove unused shadow_color property from Light3D 2022-03-04 23:12:18 +01:00
renderer_thread_pool.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
renderer_thread_pool.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
renderer_viewport.cpp Tweak render timestamp names for explicitness and consistency 2022-03-04 08:46:12 +01:00
renderer_viewport.h Enable 16-bit shadow atlas by default in the RenderingServer methods 2022-02-04 16:41:08 +01:00
rendering_device.cpp Merge pull request #53857 from briansemrau/rd-free-rid-bind-rename 2022-01-20 17:24:34 +01:00
rendering_device.h Add a UniformSet cache 2022-03-06 13:03:33 +01:00
rendering_device_binds.cpp String: Add contains(). 2022-02-04 01:28:02 +05:45
rendering_device_binds.h Add a UniformSet cache 2022-03-06 13:03:33 +01:00
rendering_server_default.cpp Improve XRInterface hooks into rendering 2022-01-26 13:55:44 +11:00
rendering_server_default.h Remove unused shadow_color property from Light3D 2022-03-04 23:12:18 +01:00
rendering_server_globals.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
rendering_server_globals.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
SCsub RenderingServer reorganization 2020-12-04 18:39:46 -03:00
shader_compiler.cpp Use Filament specular models and parametrization 2022-02-22 19:39:41 -08:00
shader_compiler.h Optimize include files to improve shader_language.h compilation speed 2022-01-12 14:19:12 +03:00
shader_language.cpp Style: Cleanup single-line blocks, semicolons, dead code 2022-02-16 14:06:29 +01:00
shader_language.h Allow multiple declarations in for loop in a shader 2022-02-03 11:35:38 +03:00
shader_types.cpp Use Filament specular models and parametrization 2022-02-22 19:39:41 -08:00
shader_types.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
shader_warnings.cpp Add translation links to shader errors 2022-01-19 15:16:32 +03:00
shader_warnings.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00