More fog emulation groundwork both in OpenGL and DX9. Needs more fog format researching.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@586 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
XTra.KrazzY
2008-09-20 14:43:10 +00:00
parent a5488ccf58
commit 7c3f715f19
3 changed files with 24 additions and 5 deletions

View File

@ -256,6 +256,14 @@ void BPWritten(int addr, int changes, int newval)
}
break;
case BPMEM_FOGRANGE:
if(changes) {
// TODO(XK): Fog range format
//glFogi(GL_FOG_START, ...
//glFogi(GL_FOG_END, ...
}
break;
case BPMEM_FOGPARAM0:
case BPMEM_FOGBEXPONENT:
case BPMEM_FOGBMAGNITUDE: