It is currently Mon Dec 11, 2017 9:42 pm

All times are UTC - 7 hours



Forum rules


Related:



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Snes shadows
PostPosted: Fri Dec 30, 2016 10:31 am 
Offline
User avatar

Joined: Fri May 08, 2015 7:17 pm
Posts: 1866
Location: DIGDUG
I've been looking at SNES games, and I see a lot of games that use a checkerboard dither (black vs transparent), to do shadows that blend into the background. Urban Strike is an example (and hundreds of sport games). This looks kind of ugly to me. I'd prefer a solid dark for a shadow.

Then I saw a few games that had a half transparent effect for shadows...
-Power Moves
-Street Combat
-TKO Boxing (best example)

Does anyone know how these shadow effects are done (that blend with the BG)?

Also interesting, is NBA All-Star Challenge, which seems to be blending players 'reflection' with the floor. I have a feeling this is the same effect.

_________________
nesdoug.com -- blog/tutorial on programming for the NES


Top
 Profile  
 
 Post subject: Re: Snes shadows
PostPosted: Fri Dec 30, 2016 10:44 am 
Offline
User avatar

Joined: Sun Sep 19, 2004 9:28 pm
Posts: 3192
Location: Mountain View, CA, USA
It varies per game, and I'm not willing to RE every single game. Most commonly it's accomplished with one of several approaches, or possibly a combination:

- Screen addition/subtraction: registers $2130-2131, $212C-212D
- Colour constant addition/subtraction: $2130-2132
- Colour windows (has my vote): registers $212E-212F, $2125-212B, $2130-2132

Otherwise it's done in software and appropriate tiles created/manipulated (likely alongside use of the above). I played around with screen addition/subtraction in my old "iNFiNiTY" demo as part of my old SNES docs.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group