Jump to content

View more

Image of the Day

Boxes as reward for our ranking mode. ヾ(☆▽☆)
#indiedev #gamedev #gameart #screenshotsaturday https://t.co/ALF1InmM7K
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

2D fog

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
9 replies to this topic

#1 ColdFusionEntertainment   Members   

122
Like
Likes
Like

Posted 29 October 1999 - 03:54 AM

i really am lost on this one...how can i implement 2D fog for my side scroller game that is fast, but yet does not use hardware acceleration...any cheap tricks? or what so?

thnx
Scott


#2 SonicSilcion   Members   

122
Like
Likes
Like

Posted 19 October 1999 - 08:44 AM

-2D fog?
-Do you mean clouds seen from above or a solid rectangular pism (showbox) lying on the ground?

[This message has been edited by SonicSilcion (edited October 19, 1999).]


#3 ColdFusionEntertainment   Members   

122
Like
Likes
Like

Posted 27 October 1999 - 09:43 AM

i mean fog like that uses alpha blitting/blending whatever to give the affect of fog near the ground using alpha blending when i do it slows my program to a crawl (without acceleration) is there any cheap tricks to get some half way decent fog without such a performance hit

later,
cfe


#4 ColdFusionEntertainment   Members   

122
Like
Likes
Like

Posted 27 October 1999 - 09:44 AM

without hardware acceleration

#5 Niels   Members   

122
Like
Likes
Like

Posted 27 October 1999 - 11:15 AM

A 50/50 blend is fairly cheap, and could do the trick (I think there's an article on this site that talks about this)... If not, let me know, I can probably point you to another place.

/Niels


#6 ColdFusionEntertainment   Members   

122
Like
Likes
Like

Posted 27 October 1999 - 06:52 PM

point me somewhere i dont know where "where" is

:-)

later,
scott


#7 drago   Members   

150
Like
Likes
Like

Posted 27 October 1999 - 07:31 PM

The MMX alpha blend article has a 50/50 blend function... its in reference...

#8 ColdFusionEntertainment   Members   

122
Like
Likes
Like

Posted 28 October 1999 - 04:04 PM

it needs to be pure software no hardware

#9 Anonymous Poster_Anonymous Poster_*   Guests   

Likes

Posted 28 October 1999 - 04:40 PM

you could always bust old school styles (think diablo) with a dithering type system that makes more solid color (ie more dots) the greater the alpha value... this will look not bad, and will run on anything, and depending on the optimization, not much longer than a regular blit.

psionic81@excite.com


#10 ColdFusionEntertainment   Members   

122
Like
Likes
Like

Posted 29 October 1999 - 03:54 AM

Hey psionic

dithering might work i was thinking of that my self ill check into it


King...how do you output a paritally opac bitmap...??? is that using alpha blending? if so thats kinda slow anyway im not really sure what your getting at please inform me.





Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.