diff options
author | William Deurwaarder <william.git@xs4all.nl> | 2021-10-01 23:20:20 +0200 |
---|---|---|
committer | William Deurwaarder <william.git@xs4all.nl> | 2021-10-12 18:23:16 +0200 |
commit | 9e58b02252944ea128da186c056c4f46c482fbd0 (patch) | |
tree | 5e1af42e96c71c9c6b44d5f076b7d24c68fc0a74 /modules/msdfgen | |
parent | fa3164e90c31e74d9fb244e91453fb2f58154138 (diff) |
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.
Diffstat (limited to 'modules/msdfgen')
0 files changed, 0 insertions, 0 deletions