mapbox-gl-js icon indicating copy to clipboard operation
mapbox-gl-js copied to clipboard

Remove the code darkening backfacing surfaces for shadows

Open jtorresfabra opened this issue 1 year ago • 0 comments

Remove the trick that was done to prevent artifacts in backfacing surfaces due to self shadowing. A correct bias tweaking make this trick innecessary and also avoids the issue it created: backfacing surfaces were being darkened twice.

Launch Checklist

  • [x] briefly describe the changes in this PR
  • [x] apply changelog label ('bug', 'feature', 'docs', etc) or use the label 'skip changelog'

jtorresfabra avatar Jul 11 '22 08:07 jtorresfabra