godot/modules/lightmapper_rd
William Deurwaarder 9e58b02252 GPULightmapper: skip smoothen positions for flat triangles
Smoothening positions for flat, non-smoothened, triangles is unnecessary and
caused positions to move outside their  triangle which caused side-effects as
rays from those positions intersected with triangles which could not be
reached from the original triangle.

This is solved by skipping smoothening of positions for flat triangles.
A triangle is determined to be flas as its vertex normals are equal.
2021-10-12 18:23:16 +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: skip smoothen positions for flat triangles 2021-10-12 18:23:16 +02:00
lm_compute.glsl GPULightmapper exclude back-face triangles while calculating bounces 2021-09-14 22:29:31 +02:00
lm_raster.glsl GPULightmapper: skip smoothen positions for flat triangles 2021-10-12 18:23:16 +02: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