godot/servers/rendering/renderer_rd
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
..
forward_clustered Add a UniformSet cache 2022-03-06 13:03:33 +01:00
forward_mobile Add a UniformSet cache 2022-03-06 13:03:33 +01:00
shaders Fix D_GGX code which can cause divide-by-zero val 2022-03-14 13:25:05 +09:00
cluster_builder_rd.cpp Add a UniformSet cache 2022-03-06 13:03:33 +01:00
cluster_builder_rd.h
effects_rd.cpp Add a UniformSet cache 2022-03-06 13:03:33 +01:00
effects_rd.h Implementing OpenXR driver 2022-02-23 12:02:24 +01:00
pipeline_cache_rd.cpp
pipeline_cache_rd.h
renderer_canvas_render_rd.cpp Add a UniformSet cache 2022-03-06 13:03:33 +01:00
renderer_canvas_render_rd.h Merge pull request #54489 from briansemrau/texture-delete-update 2022-01-19 10:10:54 +01:00
renderer_compositor_rd.cpp Add a UniformSet cache 2022-03-06 13:03:33 +01:00
renderer_compositor_rd.h Add a UniformSet cache 2022-03-06 13:03:33 +01:00
renderer_scene_environment_rd.cpp add support for glow maps 2022-01-20 16:47:25 +01:00
renderer_scene_environment_rd.h Merge pull request #39965 from Calinou/tweak-sdfgi-defaults 2022-02-10 17:31:54 +01:00
renderer_scene_gi_rd.cpp Add a UniformSet cache 2022-03-06 13:03:33 +01:00
renderer_scene_gi_rd.h Remove unused shadow_color property from Light3D 2022-03-04 23:12:18 +01:00
renderer_scene_render_rd.cpp Merge pull request #49447 from Calinou/remove-shadow-color-property 2022-03-08 07:48:05 +01:00
renderer_scene_render_rd.h Remove unused shadow_color property from Light3D 2022-03-04 23:12:18 +01:00
renderer_scene_sky_rd.cpp Merge pull request #58819 from vreon/fix-eyedir-z 2022-03-13 00:55:32 +01:00
renderer_scene_sky_rd.h Revert "Fix default sky process mode not being Real-Time" 2022-02-17 23:13:10 -08:00
renderer_storage_rd.cpp Merge pull request #49447 from Calinou/remove-shadow-color-property 2022-03-08 07:48:05 +01:00
renderer_storage_rd.h Merge pull request #49447 from Calinou/remove-shadow-color-property 2022-03-08 07:48:05 +01:00
SCsub
shader_rd.cpp
shader_rd.h
uniform_set_cache_rd.cpp Add a UniformSet cache 2022-03-06 13:03:33 +01:00
uniform_set_cache_rd.h Add a UniformSet cache 2022-03-06 13:03:33 +01:00