britown,
@britown@mastodon.gamedev.place avatar

Some great impostor syndrome going on today trying to wrap my head around recursive shadowcasting, but finally getting somewhere

video/mp4

eniko,
@eniko@peoplemaking.games avatar

@britown fun fact: i do raycasted shadows/vision in midboss and at one point i emailed david brevik to ask how those were done in diablo 2. he then pointed out an optimization i'd never thought of: the fact you can cache the offsets for each ray to check ahead of time rather than doing a bresenham algorithm for each

meanwhile in midboss i basically just shoot a ray using bresenham from each and every tile within a certain visibility range to the player and if it gets blocked at any point that tile is obscured >_> works fine tbh

  • All
  • Subscribed
  • Moderated
  • Favorites
  • gamedev
  • ngwrru68w68
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • megavids
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • provamag3
  • JUstTest
  • All magazines