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: 84
Joined: Wed Feb 05, 2014 5:58 am
Has liked: 6 times
Been liked: 2 times

How to do fog?

Post by bbmario » Tue Jul 20, 2021 10:58 am

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
DCEmu Fast Newbie
DCEmu Fast Newbie
Posts: 22
Joined: Mon Aug 22, 2011 12:45 pm
Has liked: 5 times
Been liked: 10 times

Re: How to do fog?

Post by T_chan » Tue Jul 20, 2021 4:41 pm

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

Re: How to do fog?

Post by bbmario » Fri Jul 30, 2021 3:09 pm

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

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