March 22nd: Light

Did a rough take on a basic lighting system today. It’s not perfect — the biggest disappointment is that it’s kind of hard to get both gradients and bitmaps working on the same light source, so I may not do that. Also, I would love to have some kind of bloom effect for when lights exceed the max value of a pixel, but that’s the sort of thing I’ll really have to do in a shader. Well, what I have now is enough to, once I get it integrated, at least make a level dark and make entities cast light, so that’s the most important thing. Nice-to-haves can wait.


About problemmachine

What is the nature of your problem? Can we modify the nature of your problem? Can your problem be touched? Eaten? May we eat your problem for you? May we eat your soul for you? Would you like a replacement problem? We make problems. We eat souls. We crap solutions. We are Problem Machine.
This entry was posted in Daily Update, Programming. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s