Sumia
asked on
Shadows
How to produce shadows when using sprites. A detail answer is required.Platform is directx 8.0.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
And what about 3d sprites?
As far as I know, there's no such thing as 3D sprites. The term 'sprite' refers to a 2D image. You'll need to clarify that last question.
I'm sorry... I definately worded my response poorly. Sprites are, by definition, 2D. I meant that if your "characters" (or whatever you're using sprites for) were 3D you could mathematically generate shadows. With 2D sprites you cannot do that unless you do as I said in my previous post.
- when using sprites, shadows can be placed in the sprite artwork and as seperate sprites.
- since DX8 finally dropped an exclusive 2D mode, feel free to just place appropriately shaped and coloured polygons in your scene to be your shadows.
- your typical graphics book will likely have a section on shadows, it's probably a good idea to start perusing whatever literature is available.
- you may want to talk to a sprite artist to see what techniques they use. We programmers don't always have the answers, we only have them most of the time :)