Log In  

Disclaimer: this feature is still in R&D, highly experimental and might not make it into the alpha anytime soon. But for your viewing pleasure, here's what Voxatron looks like with a volumetric light attached to the player. I really want a scene in the main story cart (1.0) that has the main character walking through a forest at night with a lantern, with snow catching the light as it falls into view. I tried making a quick mock-up using a brute-force method and it turned out to be fast enough to be interactive, but not yet useable.



Technical explanation:
This new lighting model is made possible by the way I'm calculating shadows. Instead of generating a traditional 2D shadow map, I instead generate a 3D 1-bit volume, where each set bit represents a fully lit voxel. The volume is then sampled while drawing voxels to give soft shadows. To do rough attenuation using 1-bit values, I dither the maximum light distance based on xyz (and t for flickery torch-style light), and then let the sampling take care of producing a smoother version. I still kind of like the 1-bit version though for large simple geometric shapes.

The beauty of this method is that the light volume can be generated in any fashion and still rendered at the same speed. It's possible, for example, to blit many blobs of light into the map (e.g. for bullets or explosion particles) with hardly any additional cost. To do light emitted from a point and casting shadows, I'm currently doing a line-of-sight march for every voxel. It was faster than I expected (I was only trying to generate some still frames to look at!), but I have a much more efficient method in mind for this, which I'll post about later if it works out (or not).

P#8428 2014-02-05 15:15 ( Edited 2014-12-18 09:55)

flinally a thing who i can use to make horror games here

P#8429 2014-02-05 17:55 ( Edited 2014-02-05 22:55)

same idea here deshn

P#8430 2014-02-05 18:47 ( Edited 2014-02-05 23:47)

Your space map look really awsome ! BTW, dont expect to make a horror game out of voxatron right now ( even with the volumetric lightning ). You could make it feel dark, but not scary !

P#8431 2014-02-05 19:13 ( Edited 2014-02-06 00:13)

I beg to differ, blind!

Check out this game, Ib.

http://www.vgperson.com/games/ib.htm

It was a very effective creepy/scary experience and was made using more limited resources than Voxatron. Remember that artists thrive when given limitations! It would take a lot of work, but I believe it could be done, especially with the next update + volumetric lighting.

And awesome work. I was screwing around with a paint solid animation within a monster to cheaply emulate fire light, but this looks infinitely better. Moonlit/sunlit silhouettes will be particularly fun to toy with.

P#8432 2014-02-05 19:28 ( Edited 2014-02-06 00:28)

woah, first thought is, car at night game, headlights!

@blind - notice how the many replies here indicate the forum isnt dead, people are just LURKING! also maybe boss of the week is better as boss of the month? more sustainable long term?

P#8433 2014-02-05 20:43 ( Edited 2014-02-06 01:45)

Epic :)

P#8434 2014-02-05 22:16 ( Edited 2014-02-06 03:16)

Woot! I was wondering for new update and here it is :)

P#8435 2014-02-06 08:38 ( Edited 2014-02-06 13:38)

Nice! Something for zep to let us know he is not giving up!

Maybe we could bring up something else: Modifiable sunlight position? We can have it so that the shadows for each object would point a different way than the default? It could help set the time of day, and possibly have dynamic lighting in places like reactor rooms. It can benefit my Starship Combat game so that I can have realistic lighting when near a star.

This is just an idea.

P#8436 2014-02-06 12:10 ( Edited 2014-02-06 17:10)

well he did mentioned that it would be possible on a future update when I mentioned the lantern suggestion, actually, he said that the various lightning modes would come before the lantern!

P#8437 2014-02-06 13:24 ( Edited 2014-02-06 19:14)

this is AWESOME!

P#8440 2014-02-10 00:21 ( Edited 2014-02-10 05:21)

Very very nice, put it in the alpha already ;)

P#8817 2014-05-19 12:24 ( Edited 2014-05-19 16:24)

Can you make a color wheel for the lighting and make it so you can place a light source in multiple places?

P#8830 2014-05-20 23:38 ( Edited 2014-05-21 03:38)

Yay! I love it! When are you gonna put it in?
It's Awesome!!!!!

P#9363 2014-12-01 05:09 ( Edited 2014-12-01 10:11)

You could try to make a night version of Chaos Fortress, as well, that would be amazing!

P#9470 2014-12-18 04:55 ( Edited 2014-12-18 09:55)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-28 13:19:28 | 0.021s | Q:35