First post, by Glidos
- Rank
- l33t
Silly me, I've been playing Unreal in Glide mode. I do love the game, and it's a good test of OpenGlide (that's my excuse).
Here's the strange thing. When I played it first, years ago, I could never get OpenGL to work, so I used D3D, and I think it was only when I installed DirectX 8.0 that I got the full lighting effects (and also the cobwebs for that matter). I assumed the lighting was using some special phong thingy whatsit or other, but now I'm playing it in Glide and all the effects are there; it looks just as good as it ever looked (actually now in 1280x1024, whereas in D3D 1280x960 was the highest it would go - small point).
Anyway, how is this lighting done in Glide. I know Glide has modes where an intensity texture (or is it alpha) can be used to brighten what is already on screen, but for very dark areas there isn't much colour info to brighten. I don't really have any idea how it is done. The thing is the light patches are curved. I don't know.
I even wondered whether I'd made a mistake and wasn't using OpenGlide at all, but I can break it by enabling mipmaping in OpneGlide.