diff options
author | Joan Fons <joan.fonssanchez@gmail.com> | 2022-04-13 17:31:40 +0200 |
---|---|---|
committer | Joan Fons <joan.fonssanchez@gmail.com> | 2022-04-13 17:37:28 +0200 |
commit | 1270b542bb8746c881e0257e211a4bd86f22171c (patch) | |
tree | f466d02013972651d7a3ecc531215c34e6016fdd /main/performance.h | |
parent | e44aa166f0ce30c1ec62263d6c058711144a8c65 (diff) |
Fix depth pre-pass on all face cull modes
The default shadow material was used for depth rendering disregarding the cull mode of the original material. This commit adds a check so the default shadow material is only used when the original material has back-face culling.
Diffstat (limited to 'main/performance.h')
0 files changed, 0 insertions, 0 deletions