godot/modules/lightmapper_rd
William Deurwaarder f3f64389ca GPULightmapper: prevent loop with max iterations
In case the calculation of the delta contained infinity values (division by
zero), than later the calculation of the next cell failed as the infinity value
was multiplied by zero which resulted in a nan. The nan-value caused that the
next cell was equal to the current cell which resulted in an end-less loop,
which only terminates by the maximum iterations protection.

This is solved by replacing infinity with grid_size which acts as infinity.
2021-10-12 23:43:34 +02:00
..
config.py New lightmapper 2020-05-10 15:59:09 -03:00
lightmapper_rd.cpp GPULightmapper's triangles and their bounding box will be in-sync 2021-09-11 14:02:37 +02:00
lightmapper_rd.h GPULightmapper's triangles and their bounding box will be in-sync 2021-09-11 14:02:37 +02:00
lm_blendseams.glsl Refactor GLSL shader compilation 2021-04-14 11:37:52 -03:00
lm_common_inc.glsl GPULightmapper's triangles and their bounding box will be in-sync 2021-09-11 14:02:37 +02:00
lm_compute.glsl GPULightmapper: prevent loop with max iterations 2021-10-12 23:43:34 +02:00
lm_raster.glsl Refactor GLSL shader compilation 2021-04-14 11:37:52 -03:00
register_types.cpp Implement the ability to disable classes 2021-07-13 09:25:14 -03:00
register_types.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
SCsub GPULightmapper's triangles and their bounding box will be in-sync 2021-09-11 14:02:37 +02:00