Commit Graph

40736 Commits (ca2f3dfd662bc70a187604b3cd638c97e0507843)

Author SHA1 Message Date
Graham Linden ca2f3dfd66 Make terrain shader decide to include atmo effects or not based on whether we're underwater or not. 2019-04-26 08:01:36 -07:00
Graham Linden 948deb56d9 Add projector light within da gtz test. 2019-04-26 07:59:20 -07:00
Graham Linden dbb72176e8 SL-11051
Fix alpha tests in alpha mask shadow shader to not include potentially incorrect vert color alpha in decision.
2019-04-25 14:29:05 -07:00
Graham Linden 5766325290 SL-10904, SL-10998, SL-11018
Fix handling of 1/light_y when y was tiny but getting even tinier.

Add similar adjustment to shader version of same calc.
2019-04-25 13:02:24 -07:00
Graham Linden 48ed3f9318 Put warnings on sun/moon direction as they were. 2019-04-25 11:46:56 -07:00
Graham Linden 5f4b93466c Remove bughunting asserts. 2019-04-25 11:44:48 -07:00
Graham Linden 4d6cb310ec Remove unused vars making Clang warnerror. 2019-04-25 11:43:16 -07:00
Graham Linden 4ed05fc84f Fix dark ALM and strangeness at Mid lighting (class 3 but with a darkness about it).
Make a distinct class3/lighting/lightV which boosts to WL levels (* 2.0)
and make lighting without WL atmo enabled use class 2 or below.

Make forward shaders (alpha and materialF with alpha-blend mode on) more consistent with deferred lighting.
2019-04-25 10:59:00 -07:00
Graham Linden ca16874379 SL-11027
Fix incorrect discard on fullbrights w/ alpha mask and cutoff > 1.
2019-04-24 10:33:13 -07:00
Rider Linden ebd7306948 Merged in graham_linden/viewer-eep-rc-fixes (pull request #364)
SL-10901, SL-10946
2019-04-23 22:47:31 +00:00
Graham Linden 3c13779e67 SL-10946
Limit influence of refraction scale to avoid pulling in lots of background 'deep blue' pixels never written in the distortion map pass.
2019-04-23 15:12:49 -07:00
Graham Linden a685e024a6 SL-10901
Bias shadow sampling and allow control of how dark shadows are (clamped ambient).
2019-04-23 13:12:16 -07:00
Graham Linden 48f66434b8 Move to using aniso filtering on shadow map samplers. 2019-04-23 12:54:54 -07:00
Graham Linden 94d4ae298b SL-10901 part 1
Fix flicker even in no shadow ALM from pow on final_da.

Shadow acne at Midday still present.
2019-04-23 12:52:48 -07:00
Rider Linden 0f1f41ae58 Merged in graham_linden/viewer-eep-rc-fixes (pull request #363)
SL-1491
2019-04-23 17:58:25 +00:00
Graham Linden 6ee2fadaa8 SL-1491
Modify handling of additive to make extreme range of glow focus/size safe from lens flare artifacts.
2019-04-23 10:37:24 -07:00
Rider Linden afaa30b256 Merged in graham_linden/viewer-eep-rc-fixes (pull request #361)
SL-10996, SL-10997, SL-10970, SL-10967, SL-10856
2019-04-22 21:36:34 +00:00
Graham Linden 9723bd8be2 SL-10856
Restore light sum loops to fix broken ambient.
2019-04-22 10:54:52 -07:00
Graham Linden 4d76ba2d23 Fix mismatch between release and EEP in sunlight and ambient color from settings. 2019-04-22 10:21:10 -07:00
maxim_productengine ce9cf1027f SL-10982 [EEP] Personal Lighting - Add options to select water maps / cloud textures 2019-04-22 16:02:53 +03:00
Graham Linden dd1cc2f3b1 Fix sky and cloud shader usage of density_multiplier (not re-ranged from FS to WL).
Remove all refs to now unused calcFragAtmospherics.
2019-04-19 13:13:50 -07:00
Graham Linden f30a649f1c SL-10967
All paths now use the same atmospheric transport calcs.
2019-04-19 08:26:03 -07:00
Graham Linden ea9c8e4325 SL-10996, SL-10997, SL-10970
Revert fix for 10901 because knock-on is causing other issues.
2019-04-19 08:01:28 -07:00
Graham Linden 3dd5942776 Add directory names to sentinels in shaders so shaders with same filename can be differentiated in nSight while debugging. 2019-04-19 07:44:18 -07:00
Rider Linden 11d1c28d82 Merged in graham_linden/viewer-eep-rc-fixes (pull request #360)
SL-10966
2019-04-18 20:21:47 +00:00
Graham Linden 935adb6083 SL-10966
Don't re-range density multiplier twice.
2019-04-18 13:07:49 -07:00
Rider Linden 665caabbab Merged in graham_linden/viewer-eep-rc-fixes (pull request #359)
Fix merge error from 6.2.1 EAM merge.
2019-04-18 18:49:10 +00:00
Graham Linden 1a9f9ae089 Fix merge error from 6.2.1 EAM merge. 2019-04-18 11:42:38 -07:00
Rider Linden 79dc5424d3 Merged in graham_linden/viewer-eep-rc-fixes (pull request #358)
SL-10967
2019-04-18 18:35:14 +00:00
Graham Linden 311adf5469 SL-10967
Make fullbright transport look closer to normal transport so fullbright objects reflect distance.
2019-04-18 11:28:49 -07:00
Rider Linden 722c8ec3e1 Merged in graham_linden/viewer-eep-rc-fixes (pull request #357)
SL-10966
2019-04-18 18:05:55 +00:00
Graham Linden ebf53108cb SL-10966
Fix use of density and distance multipliers in atmospherics to use original pre-EEP range instead of FS expanded range.

Modify additive calc to restore old behavior (probably reverts fix for "lens flare" bug).
2019-04-18 10:55:01 -07:00
Rider Linden d923a1500a Merged in maxim_productengine/viewer-eep (pull request #355)
SL-10983 [EEP] Add a search box to the "My Environments" floater
2019-04-18 16:28:03 +00:00
Rider Linden 2684b30168 Merged in graham_linden/viewer-eep-rc-fixes (pull request #356)
SL-10988
2019-04-18 16:26:29 +00:00
Graham Linden d2419ca3ca SL-10988
Make moon disc image render only if current or previous textures are available.
2019-04-18 08:43:37 -07:00
maxim_productengine 3259851881 SL-10983 [EEP] Add a search box to the "My Environments" floater 2019-04-18 17:35:28 +03:00
Rider Linden 83e0af9f95 Merged in maxim_productengine/viewer-eep (pull request #353)
SL-10957 [EEP] Add Reset button to revert to shared environment
2019-04-18 00:19:35 +00:00
Graham Linden 5f8cca95f8 Merge 6.2.1 2019-04-17 11:24:08 -07:00
Nat Goodspeed 81dbd3663b increment viewer version to 6.2.1 2019-04-17 09:17:16 -04:00
Nat Goodspeed 9d2a181ae8 Added tag 6.2.0-release for changeset 82a89165e592 2019-04-17 09:17:15 -04:00
Graham Linden a7e7d4a818 Make blended material objects use the same BRDF for spec as everything else. 2019-04-16 08:41:12 -07:00
maxim_productengine cc70bf9ea0 SL-10957 [EEP] Add Reset button to revert to shared environment 2019-04-16 16:26:52 +03:00
Graham Linden 479385c97f SL-10968
Tweak forced frag depths for sun/moon disc images to resolve depth fighting with hills etc.
2019-04-15 16:31:01 -07:00
Graham Linden 508ca2d458 SL-10959
Scale down of bloom was off by a factor of 3 or so.
2019-04-15 11:52:24 -07:00
Graham Linden 37a7c96f17 Fix line-endings on new shader file from contribution. 2019-04-15 09:41:12 -07:00
AndreyL ProductEngine 724e3cca96 SL-10891 Reset UI scale factor on first run if OS's display scaling is not 100% 2019-04-11 00:19:58 +03:00
Graham Linden 27184c74b4 SL-10901
Fix up shadow sampling and tweak shadow biasing.

Clean up shader decls of unused funcs.

Clean up whitespace diffs from release.
2019-04-10 13:43:58 -07:00
Graham Linden 0b8ff3a8b2 Fix missing sentinel in shader file to avoid spurious complaints for hg policy hooks. 2019-04-10 10:55:30 -07:00
Rider Linden 37bd0b809f Merged in Geenz/viewer-eep/OPEN-340 (pull request #345)
OPEN-340 & OPEN-343 - Consolidate shader atmospheric calcs into a singular utility shader + fix fog on fullbright in deferred
2019-04-10 17:48:06 +00:00
Rider Linden 4e1874184e Merged in graham_linden/viewer-eep-fixes (pull request #347)
SL-10925, SL-10926, SL-10896
2019-04-10 17:40:52 +00:00