gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > Lighting Type

#40516 - Ethos - Tue Apr 19, 2005 6:58 pm

I was wondering if anyone had looked into the lighting type (AMBIENT, DIFFUSE, SPECULAR) for the 3D GPU?

I have noticed that in GFX_LIGHT_COLOR (0x040004CC):
bits 0-15 are for color
bits 30-31 are for light number
...
so that leaves 16-29...has anyone seen if lighting type is in these? (Just to save my time, if anyone has)

Thanks :)

#40566 - mike260 - Wed Apr 20, 2005 12:43 pm

The rest of the bits don't appear to do anything.

#40581 - Ethos - Wed Apr 20, 2005 4:10 pm

Thanks,

I did a quick bit flipping program and saw the same thing :(

Waste of bits! lol