7281 Commits

Author SHA1 Message Date
AnotherCommander
8f392152fc Fixed a bogus ship AI warning about jumping further than allowed. 2020-06-20 09:26:03 +02:00
AnotherCommander
5f68e4ced0 Fixed a typo in the atmosphere shader and removed a comment that is not valid anymore from the shader material header. 2020-06-14 16:09:33 +02:00
AnotherCommander
be09bf8e74 Corrected an error on the Oren-Nayar implementation in the planet and ship shaders. 2020-06-11 13:07:46 +02:00
AnotherCommander
74b180735a Introduced Oren-Nayar as a possible diffuse BRDF alternative. We are still defaulting to lambertian diffuse, though. To use Oren-Nayar, set the OODIFFUSE_ORENNAYAR macro in the default planet and ship shaders to 1. 2020-06-07 22:59:18 +02:00
AnotherCommander
104f9c045d Introduced light source radiance and exposure multipliers in the planet, atmosphere and ship shaders. This allows some more control over the intensity of the light source and the overall amount of light in the scene. Default values for all mutlipliers are set to 1.0. 2020-05-17 22:19:23 +02:00
AnotherCommander
1fcfbb89f7 Ensure that the alpha channel of our pixels is clamped within 0.0 to 1.0 in the default shader. It seems that some drivers fail at that, so we do it for them. 2020-05-10 00:05:32 +02:00
AnotherCommander
9049ab9a54 Added one forgotten feature and fixed a typo in CHANGELOG.TXT. 2020-05-06 12:47:02 +02:00
AnotherCommander
3c5029fe52 Updated CHANGELOG.TXT 2020-05-06 09:12:42 +02:00
cheese1
04d9b9b36f
Fixed typo in README.md (#346)
Thanks @cheese1
2020-05-03 19:31:55 +02:00
AnotherCommander
3b91106d0b Illumination mapping of the dark side of custom planets is now supported on the diffuse map's alpha channel. If the alpha channel is used in the diffuse map, low values correspond to high illumination. 2020-04-29 16:17:50 +02:00
AnotherCommander
938d49eeca Custom planets now support normal maps, with specular on their alpha channel. 2020-04-17 13:44:18 +02:00
AnotherCommander
6cf1826e1f
Atmosphere haze intensity returned to its previous value. 2020-04-14 14:55:35 +02:00
AnotherCommander
d33a8c231e Fixed planet shader, which had the planet diffuse lighting broken big time by the last commit. Also, in the default shader, specular color was multiplied twice in the total light calculation. Fixed incorrect handling of light source color on both shaders. 2020-04-12 17:17:58 +02:00
AnotherCommander
3d202eec67 Some improvements on the specular part of the planet shader. 2020-04-10 19:35:30 +02:00
AnotherCommander
c72d619027 Filmic tonemapping should touch only the rgb channels, not the alpha. Thanks to smcameron for the catch. 2020-04-07 08:34:08 +02:00
AnotherCommander
6b5ec6acfe Fixed case where an empty cargopod would be generated for specific quantities of precious metals and gemstones. 2020-03-29 10:04:29 +02:00
AnotherCommander
bc9636e451
One more update to the atmosphere shader.
Visual improvement: at the very edge of the atmosphere, use more bias color.
2020-01-10 10:20:00 +01:00
phkb
49ee05b273
Merge pull request #344 from OoliteProject/new_nav_beacon
Adding new nav beacon model+textures
2019-12-29 10:50:15 +11:00
phkb
6f8130e4a3 Adding gloss value to shipdata 2019-12-19 19:59:22 +11:00
phkb
d63762de70 Updated doc and removed normal map file from xproj 2019-12-19 08:02:39 +11:00
phkb
653fb5b2d8 Removing normal binary file 2019-12-18 06:43:43 +11:00
phkb
2ffd143c54 Removing normal map 2019-12-18 06:42:14 +11:00
phkb
54531bf80e Adding resources for new nav beacon 2019-12-16 14:51:22 +11:00
phkb
d0acaabfee Adding new nav beacon model and textures 2019-12-16 14:36:40 +11:00
AnotherCommander
4636ee2281 A few improvements on the atmosphere shader. 2019-11-21 12:50:27 +01:00
phkb
58412d1d2c
Merge pull request #339 from phkb/equipment_overrides
Adding support for equipment-overrides.plist
2019-07-02 14:01:21 +10:00
KonstantinosSykas
e9b4d740ed Linux: Fix compiler warning 2019-06-09 23:42:53 +03:00
KonstantinosSykas
504f28b649 Linux deps version bump
Distinct libjs include folder per architecture.
2019-06-09 14:37:02 +03:00
KonstantinosSykas
d27428d52a Linux deps version bump
Static link to libjs by default
2019-06-09 13:17:15 +03:00
phkb
5e6f32c320 Adding support for equipment-overrides.plist 2019-05-26 14:47:14 +10:00
phkb
915c78d2d6 Limiting star and nebula textures by galaxy (#337) 2019-05-25 15:16:15 +03:00
phkb
62e00fbb36 Adding playerWillBuyNewShip and playerWillReplaceShip world events (#336)
Replacing a ship is now considered a different event to buying one.
2019-05-01 11:19:45 +03:00
phkb
71dc42c3f5 Adding EquipmentInfo.calculatedPrice property, adding 'paid' param to playerBoughtEquipment event (#335) 2019-04-30 13:44:26 +03:00
AnotherCommander
cb2c771872
Main menu revamp: Replacing key menu item with Game Options. Game Options items that are controlled by savegames are greyed out when viewed from the intro screen. Some code refactoring. (#334) 2019-04-28 12:06:17 +03:00
AnotherCommander
bedfe96415 Ugh <facepalm>, fixing Mac build by using correct MIN macro instead of min. 2019-04-25 11:07:59 +02:00
AnotherCommander
67a907ce65 Oopsie - Forgot square bracket in previous commit :-\ 2019-04-25 10:54:03 +02:00
AnotherCommander
f9cc39e9cb Making sure that GUI selectable rows do not exceed maximum row count in Status screen. Should take care of #333. 2019-04-25 10:47:53 +02:00
phkb
8cad99b852 Fixed bug where station.shipyard generated shipyard when hasShipyard was false (#332) 2019-04-19 12:09:13 +03:00
phkb
5f8a8ff80b addShipToShipyard looks for and adds lasers from extras array (#330) 2019-04-18 15:15:06 +03:00
phkb
a6c507ad46 More code protection and better use of consts (#329) 2019-04-16 08:03:48 +03:00
AnotherCommander
51de231bf0 Ensuring that at least one row is selected at all times in the shipyard screen. 2019-04-12 21:41:58 +02:00
phkb
23c9cfd951 JS access to the shipyard of a station (#328) 2019-04-12 22:27:40 +03:00
AnotherCommander
835ae8fbf6
16 bits per color component as startup parameter (#326)
Requesting 16 bits per color component from OpenGL during initialization as an option. Seems to help a lot against color banding issues.

Startup is done normally at 8bpcc, as before. 16bpcc can be selected either by adding the key bpcc = <value> to .GNUstepDefaults or by passing the -bpcc16 command line parameter. If both exist, the command line parameter takes precedence.
2019-04-12 17:57:09 +03:00
phkb
6d46f2966f Keyboard controls to cycle and select MFD's in reverse (#327) 2019-04-09 17:52:36 +03:00
AnotherCommander
9f3c9f28ac Docks scripted to not accept player docking now result in autopilot docking rejection also in the case of fast autodock. 2019-04-07 19:33:24 +02:00
AnotherCommander
c2d9f798d0 Mac: Center mouse on right button down rather than up, to make behaviour similar to the Win/Linux builds. 2019-04-03 14:00:15 +02:00
AnotherCommander
343e44ec51 Attempting to make right mouse button on Mac center pitch and roll, in the same way that we have for Windows and Linux. 2019-03-23 23:46:08 +01:00
AnotherCommander
601128c035 Atmosphere shader: auto-calculate cosThreshold based on atmosphere radius. 2019-03-09 20:45:07 +01:00
AnotherCommander
f02f09b91a Minor adjustments to atmosphere shader. 2019-03-08 23:05:21 +01:00
AnotherCommander
3981bfaf47 Oopsie, sorted out some comments. 2019-03-07 20:55:58 +01:00