How to do fog?

If you have any questions on programming, this is the place to ask them, whether you're a newbie or an experienced programmer. Discussion on programming in general is also welcome. We will help you with programming homework, but we will not do your work for you! Any porting requests must be made in Developmental Ideas.
Post Reply
User avatar
bbmario
DCEmu Freak
DCEmu Freak
Posts: 88
https://www.artistsworkshop.eu/meble-kuchenne-na-wymiar-warszawa-gdzie-zamowic/
Joined: Wed Feb 05, 2014 5:58 am
Has thanked: 9 times
Been thanked: 3 times

How to do fog?

Post by bbmario »

I'm trying to increase the FPS in my current project and I'm curious about one thing: fog. Is that a built-in PowerVR feature, or is it implemented in software? How can it be done?
User avatar
T_chan
DC Developer
DC Developer
Posts: 32
Joined: Mon Aug 22, 2011 12:45 pm
Has thanked: 12 times
Been thanked: 22 times

Re: How to do fog?

Post by T_chan »

built-in powervr - table fog
Did you check kos/examples/dreamcast/kgl/nehe/nehe16 ?
These users thanked the author T_chan for the post:
bbmario
User avatar
bbmario
DCEmu Freak
DCEmu Freak
Posts: 88
Joined: Wed Feb 05, 2014 5:58 am
Has thanked: 9 times
Been thanked: 3 times

Re: How to do fog?

Post by bbmario »

I did not see that. Thank you for the link!

Future reference:
https://sourceforge.net/p/cadcdev/kalli ... 6/nehe16.c
Post Reply