Freelancer Community Network
Reminder: Internet Explorer 6 or below are NOT supported.
HomeHome
ForumForum
WikiWiki
DownloadsDownloads
ForgeForge
Multiplayer Connection Tutorial
Collapse/Expand Random Image
Collapse/Expand Login
Username:

Password:

Remember me



Lost Password?

Register now!
Collapse/Expand Chat
Collapse/Expand Who's Online
37 user(s) are online (18 user(s) are browsing Forum)

Members: 1
Guests: 36

robocop, more...
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:
Thanks!
Collapse/Expand Links
Collapse/Expand Advertisement
There are currently 51 users playing Freelancer on 30 servers.
December. 14, 2018

Browsing this Thread:   1 Anonymous Users



 Bottom   Previous Topic   Next Topic  Register To Post

« 1 ... 3 4 5 (6)


Re: Librelancer 2017.10
Not too shy to talk
Joined:
2011/11/22 17:43
Group:
Registered Users
Posts: 59
Offline
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: https://pastebin.com/87JxG1qU

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

And pics in special places https://imgur.com/a/vNHdFxM

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: https://i.imgur.com/wI61cMy.png

Meantime Freelancer does not perform two-sided rendering for some reason: https://i.imgur.com/bQugOli.jpg I've just noticed!

Posted on: 2018/12/3 2:48
Top
Re: Librelancer 2017.10
Starport Admin
Joined:
2009/2/21 21:42
Group:
Webmasters
Registered Users
Posts: 3509
Offline
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
Top
« 1 ... 3 4 5 (6)