• Register
Post news Report RSS New Lighting Engine + New Site

Changes to the lighting engine have been made. Lights are brighter, spread more, and the whole method is approximately 100 times faster. The spreads are done using an HLSL shader, and updates to source and blocking masks are done periodically on a chunk basis.

Posted by on


Lighting Engine Update


The lighting engine, as most know by now, has gone through many, many changes. It's getting closer to it's final stage. This update to the lighting engine will most likely remain until the alpha is released. Lights are brighter, spread more, and the whole method is approximately 100 times faster. The spreads are done using an HLSL shader, and updates to source and blocking masks are done periodically on a chunk basis. Below is a series of lists comparing the other systems.


First System:
• Done on the CPU, so naturally much slower.
• Lights blend exceptionally well.
• No attenuation; light not blocked by solid objects.
• Lights very triangular shaped.
Previous System:
• Done on the GPU, very efficient for spreading.
• However, the need to make source and blocking masks was very slow, because it was done every frame.
• Very inaccurate and dark.
• Lights blended very well.
New System:
• Also done on the GPU, still very efficient.
• Source and blocking mask updates done only when blocks are updated, essentially instantly. Now does only about a thousandth of the previous number of updates.
• Decently accurate, spreads far and bright.
• Lights blend decently, but not nearly as well as previous systems.


Here is a video showcasing the new lighting engine:


Souper Games (dev studio that is working on Explorium) now has a wonderfully revamped website:
Souper Games Blog / Main Site

Explorium can also be found in these locations:
GameJolt
Tumblr
TIGForums

Until next time,
Benjamin Mastripolito (Lead Developer)

Explorium


Additional Screenshots:



Post comment Comments
danidre14
danidre14 - - 25 comments

Not bad! Looking really good!

Reply Good karma Bad karma+1 vote
Artful_Diversions Author
Artful_Diversions - - 167 comments

Thanks, man! We're trying our best!

Reply Good karma+1 vote
esegura92
esegura92 - - 6 comments

Nice work guys. I would like to know how do you make that lighting effect. I know basic theory about shaders, but i would like to know about some basic stuff. Do you have any references?

Reply Good karma Bad karma+1 vote
Artful_Diversions Author
Artful_Diversions - - 167 comments

Experimentation and Google. :)

If you have any specific questions, go to Stackoverflow.com (which is good for any programming questions)

And if you're already familiar with C#, HLSL is a breeze because it's syntax is almost identical.

Also if you'd like to experiment in WebGL, I'd HIGHLY recommend Shadertoy.com, it's super awesome.

Reply Good karma+1 vote
esegura92
esegura92 - - 6 comments

thnx man. I will check some info. Good luck with the development of your game. I will be following you

Reply Good karma Bad karma+1 vote
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: