I'm just writing down an idea I had, I don't know if it would even work, but if someone can figure out NEthing from my li'l dodgey theory, please get back to me...
I was trying to think of a way to do realtime lighting like the kind seen in quake and unreal... I have made alot of threads I guess (and got nowhere :( ) But I was going for a walk today and an idea pooped into my head:
what if u rendered the camera twice, one with full bright (no lightmapping) and another with full lightmapping. U get the lightmapped screenshot, and place the image over the top of the full bright one, (get the image and draw the image... I know it would probably be to slow, but just an idea) then u mask the image, and cut out a certain color that isn't used in the game, Eg: fluro green or blue. These places would be full bright spheres (light balls), they would look like they are subtracting from the shadow... that's my idea... If NEone can think of how to pull it off, please inform me or test it out, post a demo (I dunno).
I know that even if this did work, it would be very dodgey, I know that, I've figured a ton of flaws, but I'd rather a dodgey realtime light then none at all... if NEone could try this out or try and improve on the theory, I'd be very happy.
Thanx for reading NEhow.
I was trying to think of a way to do realtime lighting like the kind seen in quake and unreal... I have made alot of threads I guess (and got nowhere :( ) But I was going for a walk today and an idea pooped into my head:
what if u rendered the camera twice, one with full bright (no lightmapping) and another with full lightmapping. U get the lightmapped screenshot, and place the image over the top of the full bright one, (get the image and draw the image... I know it would probably be to slow, but just an idea) then u mask the image, and cut out a certain color that isn't used in the game, Eg: fluro green or blue. These places would be full bright spheres (light balls), they would look like they are subtracting from the shadow... that's my idea... If NEone can think of how to pull it off, please inform me or test it out, post a demo (I dunno).
I know that even if this did work, it would be very dodgey, I know that, I've figured a ton of flaws, but I'd rather a dodgey realtime light then none at all... if NEone could try this out or try and improve on the theory, I'd be very happy.
Thanx for reading NEhow.