mirror of https://github.com/godotengine/godot
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. |
||
|---|---|---|
| .. | ||
| SCsub | ||
| config.py | ||
| lightmapper_rd.cpp | ||
| lightmapper_rd.h | ||
| lm_blendseams.glsl | ||
| lm_common_inc.glsl | ||
| lm_compute.glsl | ||
| lm_raster.glsl | ||
| register_types.cpp | ||
| register_types.h | ||