Commit Graph

40729 Commits (4ed05fc84fce0fbee76c583e91feed5aff2dbbfc)

Author SHA1 Message Date
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
Graham Linden 2c568e7584 SL-10925, SL-10926, SL-10896
New fix for 925/926 that doesn't cause 896 again.

Also linearize moon disc tex color.
2019-04-10 10:11:50 -07:00
maxim_productengine b172ced57a SL-10927 FIXED [EEP] Unable to share environment settings from My Environments floater 2019-04-10 15:00:21 +03:00
Geenz de1a88d6bb Revive the shading model that masks fog.
--HG--
branch : OPEN-340
2019-04-10 03:20:04 -07:00
Geenz 3d0c05ba3a I don't think the class3 variant is used, but just in case.
--HG--
branch : OPEN-340
2019-04-10 03:12:05 -07:00
Geenz d7d8a15092 Fullbright + elimination of all references to calcFragAtmospherics.
--HG--
branch : OPEN-340
2019-04-10 02:49:25 -07:00
Geenz 08812cbe06 Separate out vertex program objects from fragment program objects and use it.
Given that mShaderObjects only ever expects one copy of a given shader object (leading to lots of "shaderV" and "shaderF"), it made having utility shaders a bit more difficult to incorporate.
This change makes sure the two are separated.  Using this over a multimap largely for readibility.

Also, actually, you know, use this functionality.

--HG--
branch : OPEN-340
2019-04-10 02:11:07 -07:00
Geenz dcd8117b85 First stab at moving atmospheric var calcs to its own utility shader.
Still some work to go here.  Largely related to how certain values (i.e., SSAO mix values) are supplied.  But so far, so good.

--HG--
branch : OPEN-340
2019-04-09 22:35:40 -07:00