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
33 user(s) are online (12 user(s) are browsing Forum)

Members: 0
Guests: 33

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

Current balance: -165€
(last updated 12/2018)

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

Bitcoin address:
Collapse/Expand Links
Collapse/Expand Advertisement
There are currently 55 users playing Freelancer on 31 servers.
December. 14, 2018

Browsing this Thread:   2 Anonymous Users

 Bottom   Previous Topic   Next Topic  Register To Post

« 1 ... 3 4 5 (6)

Re: Librelancer 2017.10
Not too shy to talk
2011/11/22 17:43
Registered Users
Posts: 59
Okay, instancing worked, but recently I found specific model from Y-Universe combomod: its vms library contains 6150 meshes) And I was instancing by a model, not by a vmesh. One more task to complete cuz that single model is drawn 150 times slower than whole system.

Meanwhile here's my shader (DirectX 10.1) so far:

I feel it's written probably wrong because techniques look like were designed for a kind of object.

And pics in special places

Trying to match freelancer's illumination idea. However currently:
- attenuation (inverse square or whatever square) has not been implemented yet. The Prenta from Omicron Alpha must be greenish all over surface.
- problems with "details" on planets. Currently I get planets either overbright, either overdark, no idea how to mix those dm, dm0, dm1 correctly so i just multiplied them with output by sqrt(2).
- strange Ac parameter that makes final result wrong in various systems. Commenting it fixed everything. May be it's used in sphere models exclusively...
- stupid transparency. Need sorting, rendering as is now.

Blending starspheres is fine this time. I was getting absolute colors, too, but no idea what been changed to fix it. BlendState Starsphere does all job. Starchart with now Librelancer helped a LOT to dig those "shaders", and GLSL HLSL are alike.


Forgotten to mention opacity/order glitch in Librelancer:

Meantime Freelancer does not perform two-sided rendering for some reason: I've just noticed!

Posted on: 2018/12/3 2:48
Re: Librelancer 2017.10
Starport Admin
2009/2/21 21:42
Registered Users
Posts: 3509
Freelancer only does two-sided rendering if the material type ends with "Two" (e.g. DcDtTwo). It'd be wasteful to have two-sided rendering on at all times.

Posted on: 2018/12/3 21:22
"Cynicism is not realistic and tough. It's unrealistic and kind of cowardly because it means you don't have to try."
-Peggy Noonan
« 1 ... 3 4 5 (6)