Mirage Source
Shading a Sprite - Printable Version

+- Mirage Source (https://mirage-engine.uk/forums)
+-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61)
+--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18)
+---- Forum: General (https://mirage-engine.uk/forums/forumdisplay.php?fid=17)
+---- Thread: Shading a Sprite (/showthread.php?tid=648)



Shading a Sprite - William - 16-01-2007

So I've been googeling for a answer but I can't seem to find good words to search for, I tried like: DirectDraw fastblt shading etc..

Do anybody know a good way to shade the sprite? Then please explain.


- Mithlomion - 16-01-2007

eh... pixel shade O_o.. i dont really get what your asking.. you want a tool which shades a sprite for you?


- Matt - 16-01-2007

He wants a method that he can program into his game that will shade the sprite darker while on darker tiles.

Not a tool.


- William - 16-01-2007

Advocate Wrote:He wants a method that he can program into his game that will shade the sprite darker while on darker tiles.

Not a tool.
Exactly.


- Robin - 16-01-2007

Well. You could do the easy way and make a few different versions of all sprites and tiles a bit darker and a bit darker, then use tile types or map properties to make them change when in darker rooms, OR you could create a DX7 and DX8 hybrid and use pixel shading (Hard) OR you could use my alpha-blending utility to make a person sized black bmp above people.


- grimsk8ter11 - 16-01-2007

DirectX8 conversion is the way to go. Alphablend is the faggot Tongue


- William - 16-01-2007

Quote:OR you could use my alpha-blending utility to make a person sized black bmp above people.
Sounds like the best example.