7147 Commits

Author SHA1 Message Date
AnotherCommander
aa0dcbb297 Bringing tests to their latest revision. 2018-11-06 21:11:14 +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
dc1dcb5ede
Update README.md with the 1.88 download stats. 2018-10-28 09:05:05 +01:00
AnotherCommander
9c7409a958 One more update to the changelog. 2018-10-23 12:39:50 +02:00
AnotherCommander
64342e2ddd Fixed inconsistency between script and configuration files setting of sun color. 2018-10-23 12:37:01 +02:00
AnotherCommander
0af008d3a3 Updated Changelog. 2018-10-21 15:45:40 +02: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
f245be9430 Fixed typo and at the same time a Mac build warning. 2018-10-10 08:15:49 +02:00
AnotherCommander
6405ecfffa Changelog updates. 2018-10-08 20:25:01 +02:00
AnotherCommander
7b73e990a9 Enabled blending when rendering visual effects. This should enable effects to have their transparency specified in their shaders. 2018-10-06 15:26:23 +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
AnotherCommander
97f3e07041 Added the gamma_correct materials and shader materials key, which allows to specify whether the diffuse, specular, emmission and illumination maps of a material will be gamma corrected by the default shader or not. The default setting at this moment is YES and it can be adjusted in the .GNUStepDefaults file with the key no-gamma-correct. 2018-10-01 13:07:37 +02:00
AnotherCommander
9153b506d5 Fixed occasionally 'stuck' lighting when in witchspace. 2018-09-26 22:37:03 +02:00
AnotherCommander
aedc53e191 Brought tests to their latest revision. 2018-09-26 12:26:15 +02:00
AnotherCommander
0509f8d8c0 Ensure that gloss input in material dictionaries is always clamped between 0.0 and 1.0. 2018-09-26 12:21:09 +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
6224f61743 Brought again tests to their latest revision. 2018-09-20 20:45:06 +02:00
AnotherCommander
faac43b773 Bring tests to their latest revision. 2018-09-20 19:21:22 +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
AnotherCommander
5ec808a512
Hopefully fixed not being able to set gloss from specmap's alpha channel. 2018-08-23 15:45:25 +03:00
AnotherCommander
b759505b15 Adjusted the planet shader to use the same specular BRDF as the standard one. 2018-08-22 10:57:44 +02:00
AnotherCommander
8b8cb27195 Adjusted the specular BRDF to be more physically compliant and increased slightly the default gloss values in shipdata to compensate for the change. 2018-08-22 08:48:50 +02:00
AnotherCommander
23af0abaa6 Fixed shader gloss and ior uniforms overriding material definitions of the same. Now both shaders and materials definitions of those uniforms should work nicwly together. 2018-08-19 23:55:14 +02:00
phkb
10df924f5d Default shader small bug fix 2018-08-20 06:56:08 +10:00
AnotherCommander
360fc66373 gloss and ior are now valid keys also in shader material dictionaries. 2018-08-18 22:09:43 +02:00