War of the Voxels is an upcoming free first person shooter. The world is completely destructible, and either randomly generated or custom-made maps can be loaded.

Post news Report RSS New Lighting

The lighting system in War of the Voxels has been drastically improved! Take a look at the lighting in action.

Posted by on

Previously, all lighting was calculated on the GPU by simply using the normals of the terrain. Although this was fast, it caused many surfaces to look dull and unvaried. Also, it didn't take into account occlusion of surfaces; if you were underground, it wouldn't be any darker than if you were above ground.

With the new lighting system, this has all changed! Occlusion is taken into account, giving the terrain much more richer tones and making the terrain much more realistic. And the best part -- all this comes at little to no extra performance cost compared to the previous version, thanks to some optimizations!

Take a look!

GPU Lighting Only (current version):

CPU Lighting Only:

CPU + GPU Lighting:

GPU Lighting Only (current version):

CPU Lighting Only:

CPU + GPU Lighting:

As you can see, there are still some bugs (sudden jump to dark), but those are being worked on. Let us know what you think!

Comments
hogsy
hogsy

Can't really see any visual difference between your CPU lighting and CPU+GPU lighting.

Reply Good karma Bad karma+1 vote
Expack
Expack

Indeed. I also wonder why the CPU handles ambient occlusion in this case instead of the GPU, which is what traditionally handles ambient occlusion.

Reply Good karma Bad karma+1 vote
Guest
Guest

I'm guessing it's not *real* ambient occlusion. Rather, vertices in the corners are simply tinted darker, and the other vertices are not tinted, and the GPU interpolates these colors producing the appearance of ambient occlusion. This is pretty standard in Minecraft-style engines and is generally a LOT faster than real SSAO and can be done on limited platforms (like phones) whereas SSAO can only be done on mid-to-high-end GFX cards.

Reply Good karma Bad karma+1 vote
Mikjaash
Mikjaash

Looks pretty damn awesome, buddy! :D

Reply Good karma Bad karma+1 vote
Gresh1234
Gresh1234

"Arrrrghh!" Says the GPU!

Reply Good karma Bad karma+1 vote
Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.

Follow Report Profile
Icon
War of the Voxels
Platforms
Windows, Mac, Linux
Developer
Always Alpha
Engine
Bloxel
Contact
Send Message
Release date
Game watch
Follow
News
Browse
News
New
Post news
Report
Report
Share
Related Games
War of the Voxels
War of the Voxels First Person Shooter
Related Engines
Bloxel
Bloxel MIT
Related Groups
Always Alpha
Always Alpha Developer