summaryrefslogtreecommitdiff
path: root/main/performance.h
diff options
context:
space:
mode:
authorJoan Fons <joan.fonssanchez@gmail.com>2022-04-13 17:31:40 +0200
committerJoan Fons <joan.fonssanchez@gmail.com>2022-04-13 17:37:28 +0200
commit1270b542bb8746c881e0257e211a4bd86f22171c (patch)
treef466d02013972651d7a3ecc531215c34e6016fdd /main/performance.h
parente44aa166f0ce30c1ec62263d6c058711144a8c65 (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