Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / [DBP] Sprite Masking / Alpha / Diffuse Thingy

Author
Message
BMacZero
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ NA / USA
Posted: 17th Apr 2009 00:29 Edited at: 27th Nov 2009 15:21
I made this function today as an example and decided to post it here in case anyone else has a use for it.

It's similar to SPRITE DIFFUSE but allows you to set the sprite to a solid color as well as partial colors (SPRITE DIFFUSE will always have at least half of the sprite's original color coming through).



It uses one of Scraggle's free suns as a test image...attached.

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-11-25 00:06:06
Your offset time is: 2024-11-25 00:06:06