1731 Commits

Author SHA1 Message Date
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
AnotherCommander
cdaf689263 Fixed black stripe at dark part of atmosphere circumference. Also, gamma corrected atmopshere. 2019-03-07 20:51:10 +01:00
AnotherCommander
65f9d706d5 Lave has now got its rain forests. 2019-01-25 14:07:52 +01:00
AnotherCommander
eb9ccb0383 Added more haze to default atmosphere for improved looks and feel of scale. 2019-01-25 11:35:29 +01:00
AnotherCommander
35e398ed00 Added a thickness component for the 'inner' atmosphere opacity. It is based on the 1.86 atmosphere shader and the contribution of the new and old components is 0.5 for each. 2019-01-19 17:44:46 +01:00
AnotherCommander
3dbfc6b472 The quest for pretty atmospheres continues. Further tweaks to the atmosphere shader, hopefully we got it this time round. 2019-01-06 19:00:33 +01:00
AnotherCommander
56dd34a059 Added some more density to the atmospheres and slightly simplified shader in doing so. 2019-01-04 14:26:27 +01:00
AnotherCommander
32c8b485db Added docking clearance joystick button control to stickmapper. 2019-01-01 20:07:33 +01:00
AnotherCommander
036c0ee1d9 Added joystick button support for docking computer (standard and fast) and next compass target. 2018-12-31 18:24:04 +01:00
AnotherCommander
94df64619b Happy New Year! 2018-12-31 12:43:04 +01:00
AnotherCommander
595ec561f3 Atmosphere rim now fits well all planet sizes. 2018-12-28 17:37:40 +01:00
AnotherCommander
a47df4e2d6 Refactor of atmosphere shader. Reverted change of atmo thickness with distance (did not work out as well as I was hoping to), readjusted critical angle for defining the atmo outer layer and slightly changed the rendering algorithm. 2018-12-27 08:20:47 +01:00
AnotherCommander
4214d58d63 Atmosphere fresnel exponent is now dependent on distance from the planet and clamped between 5.0 and 8.0. Atmnosphere appears thicker when close. 2018-12-18 21:23:03 +01:00
AnotherCommander
971323b760 Fine tuning the mix of blue in the atmosphere a bit. 2018-12-17 13:06:04 +01:00
AnotherCommander
18bcfe5135 Atmosphere is now more biased towards blue color. Also, outer atmosphere fade out returned to the richer 1.86 levels. 2018-12-16 19:11:24 +01:00
AnotherCommander
4949db96fa Increased default ambient light level to 0.1. 2018-12-06 15:40:58 +01:00
AnotherCommander
6789265af4 Set ambient light as the last thing before gamma correction in the planet shader. This way we can still change ambient light level without side effects. Moved ambient light setting further down also in the atmo shader. 2018-11-20 23:09:27 +01:00
AnotherCommander
67aa8e98de Put reddish planet terminator setting at end of planet and atmo shaders, I think it looks better this way. 2018-11-20 22:19:17 +01:00
AnotherCommander
5f5613c81d Simplified and slightly optimized default atmosphere shader. 2018-11-05 15:40:50 +01:00
phkb
26d169aa05 Restore process for setting attacker to stn target during station.offenceCommittedNearby 2018-10-30 09:34:30 +11:00
AnotherCommander
8c6affaf81 Added filmic tonemapping. Although this would normally require HDR, it seems to work exceptionally well with Oolite. Testing required. 2018-10-28 18:53:54 +01:00
AnotherCommander
f9fce32081 Bumping master version number to 1.89. 2018-10-28 18:41:14 +01:00
AnotherCommander
4da008cc69 Bump version number to 1.88. Feature freeze. 2018-10-21 13:34:44 +02:00
AnotherCommander
33ad64ff67 Fixed shader compile error when OOSPECULAR_NEW_MODEL was set to 0 and OOSPECULAR_NEW_MODEL_GGX was set to 1. 2018-10-20 22:04:52 +02:00
AnotherCommander
36384cf8c9 Fixed a light calculation error on the default shader. 2018-10-20 18:36:52 +02:00
AnotherCommander
fc2c959722 Reduced slightly the reflectance of the default shipset and increased slightly its glossiness for a hopefully more pleasant overall appearance. 2018-10-20 14:23:35 +02:00
AnotherCommander
7e1131a317 A much better solution for the orange-reddish terminator. 2018-10-19 16:06:08 +02:00
AnotherCommander
5196990c8e Adjustments to planet and atmosphere shaders to make the orange-reddish tinted terminator more visible. 2018-10-19 15:22:12 +02:00
phkb
b0aa06c049 Another attempt to fix priority AI timeout 2018-10-18 17:24:49 +11:00
phkb
4ffc64f7b8 Small fix to priority ai 2018-10-18 08:03:24 +11:00
AnotherCommander
4ba199c510
New atmosphere shader (#312) 2018-10-17 16:43:52 +03:00
phkb
4a98662e68 fix issue where Station JS AI was not triggering an alertConditionChanged event (#311) 2018-10-17 08:18:03 +03:00
AnotherCommander
73f5af67de Fixed planet shader compile error when no specular map is used. 2018-10-13 18:53:38 +02:00
AnotherCommander
28d4d5b031 Default planet shader now uses light energy conservation. Consequently, default ambient light level reduced to 0.015. 2018-10-13 12:26:49 +02:00
AnotherCommander
a4d33aef75 Forgot to commit the default shader which actually uses the gamma_correct key setting. Here it is. 2018-10-01 13:41:45 +02:00
phkb
1e73156d2e Reworked bug fix for default shader 2018-09-26 12:17:11 +10:00
phkb
65306062fd One more default shader small bug fix 2018-09-25 17:49:40 +10:00
AnotherCommander
8570ecf793 Reverting tone mapping entry in shader until it can be determined why it makes things look weird. 2018-09-24 20:23:52 +02:00
AnotherCommander
d4ac047055 Emmission maps: Remove gamma correction at the correct place (texture, not result). 2018-09-24 12:52:31 +02:00
AnotherCommander
9178fa75c7 Added tone mapping and gamma correction steps in the default shader. Also, exponent calculations not used by the GGX part of the shader have now been optimized out and are available only in Blinn-Phong and legacy parts. 2018-09-23 12:14:38 +02:00
AnotherCommander
2d5a40ad11 Fixed legacy specular light on default planet shader. 2018-09-01 10:41:02 +02:00
AnotherCommander
5b9acdc02b Deprecated IOR. 2018-08-29 18:52:41 +02:00
AnotherCommander
3066c4b035 Removed f suffixes from floats for compatibility with older GLSL versions and removed obsolete IOR uniform from the default shader. 2018-08-29 18:26:20 +02:00
phkb
e639490da7 Added 'use strict' to script file 2018-08-27 08:26:10 +10:00
phkb
faf52de069 Merge branch 'master' of https://github.com/OoliteProject/oolite 2018-08-27 08:11:20 +10:00
phkb
a128363a76 Another default shader small bug fix 2018-08-27 08:10:07 +10:00
AnotherCommander
b526cff5fd Light source color is now mixed with material specular if material is non-metal, not mixed if metal. Looks like we can deprecate IOR this way. 2018-08-26 20:33:33 +02:00
AnotherCommander
4287a8e827 Corrected specular BRDF (we were passing the specular color of the lightsource to the FresnelSchlick calculation, instead of that of the material). Energy conservation is now fully in. As a result, yet another re-calibration of material light values in shipdata.plist. 2018-08-24 10:52:18 +02:00