Freelancer Community Network
Reminder: Internet Explorer 6 or below are NOT supported.
Multiplayer Connection Tutorial
Collapse/Expand Random Image
Collapse/Expand Login


Remember me

Lost Password?

Register now!
Collapse/Expand Chat
Collapse/Expand Who's Online
122 user(s) are online (7 user(s) are browsing News)

Members: 0
Guests: 122

Collapse/Expand Donations
Monthly costs: -30€
Income (ads): +5€
Donations (last month): +0€

Current balance: 55€
(last updated 04/2021)

Please make a donation if you want to help keeping The-Starport online:

Collapse/Expand Links
Collapse/Expand Advertisement
There are currently 57 users playing Freelancer on 47 servers.
June. 9, 2023
Soft Particles, Dynamic Lighting and DX9 wonderfulness in FW:ToW Freelancer Coding News
Posted by Sushi on 2010/12/7 3:30:50 (15165 reads) News by the same author

Freelancer's capabilities of rendering dynamic lights has always been massively lacking. Not only was there a 4-light per object limit, once there were more lights affecting an object, lighting would get bugged quickly, not drawing the closest lights. To counter this major disadvantage in rendering lighting I've been converting Freelancer's forward rendering pipeline to deferred rendering.

In deferred rendering, the geometry is first written to geometry buffers in a single pass. Then, in further passes, the geometry buffers are used to calculate the correct lighting. This allows us to render many lights per object without critically affecting the frame rate. However, there is still a noticeable performance decrease due to the nature of deferred rendering. I wont go into more detail at this point since its very technical. For further info, simply search the internet for deferred rendering.

Besides much improved dynamic lighting, deferred rendering also enables us to implement more next generation effects into the 7 years old Freelancer engine, such as Soft Particles. Soft Particles basically get rid of hard edges where particle effects collide with the environment. On intersection, the depth buffer is queried to make the particle fade out seamlessly, resulting in effects that feel a lot more natural. This is especially useful for smoke and fire effects as well as explosions.

Now to the eye candy. We are still exploring ways to add light sources to the game, however, FriendlyFire has added light sources to many beam/impact effects (and to stations) in order to show off the power of deferred rendering:

Starry Sullust


Also, here is an effect, made as well by FriendlyFire, to show off Soft Particles:

Soft Particles

Please note, this is all still a work-in-progress. However, stay tuned for further updates on our quest to update Freelancer's graphics engine! Also, please vote for us in the MotY Upcoming category!

As always any comments, suggestions or questions are always welcomed!
Please follow us also on:

Rating: 3.00 (4 votes) - Rate this News - Comments (51)
Previous article - Next article Printer Friendly Page Send this Story to a Friend Create a PDF from the article

Other articles
2023/1/12 18:27:48 - Freelancer 20th Anniversary
2020/2/11 11:35:23 - New demo of Freelancer: The Nomad Legacy released!
2019/11/9 20:18:11 - Freelancer Community Discord
2017/12/4 11:17:45 - Recent Downtimes: Another HDD Failure
2017/10/17 21:34:57 - Freelancer Mod "Nomad Legacy" released!
2017/2/24 5:02:53 - Cloudflare Vulnerability
2016/6/9 23:35:34 - Hotmail / Outlook E-Mail Users
2016/4/29 17:10:02 - Everspace Alpha released!
2015/10/21 13:23:37 - Infinity: Battlescape Kickstarter has started!
2015/8/8 23:50:00 - Freelancer: Mostly Harmless v0.3 Release