Commit Graph

40767 Commits (ac080210a8cd2f64c040f980708ccce2c5464874)

Author SHA1 Message Date
Graham Linden ac080210a8 Make underwater shader output linear (refracted image was in wrong colorspace). 2019-05-06 11:18:31 -07:00
Graham Linden 161d9993a5 SL-10946
Tweak DistortionWaterClipPlaneMargin (1.0001 -> 1.0125) to mask edges of objects in water disortion map.
2019-05-06 11:11:03 -07:00
Graham Linden 21c1941a4f Fix missin atten and atten only applied when da > 0 in material and alpha shaders resp. 2019-05-06 10:16:31 -07:00
Graham Linden a4b279444e SL-11080 2019-05-04 10:56:16 -07:00
Graham Linden 4239705608 Fix broken water reflection/refraction mix.
Restore 1.0 alpha to prevent atmo being applied directly to water.

Fix broken shadow frust generation.
2019-05-04 09:11:59 -07:00
Graham Linden 24acb7d5c3 Fix some line-endings to be newline only. 2019-05-03 14:58:51 -07:00
Rider Linden 217c6a86ec Merged in graham_linden/viewer-eep-rc-fixes (pull request #378)
SL-11087, SL-11086, SL-11092, SL-11075, SL-11070, SL-11090, SL-11085
2019-05-03 20:52:10 +00:00
Graham Linden 89c24095c6 SL-11085
Remove ambient term clamping to get less dark shadows where we want less dark shadows in ALM.
2019-05-03 12:02:59 -07:00
Graham Linden 8d32aade01 SL-11090
Tamp down bloom so we don't have to redo ten thousand gloss maps.
2019-05-03 11:45:17 -07:00
Graham Linden 6d13430d78 Make sure cloud_color has non-garbage alpha (no offense to 4.59e-41). 2019-05-03 10:33:30 -07:00
Graham Linden 944d36a62f Disable nSight (so we don't break the snapshots). 2019-05-03 10:13:40 -07:00
Graham Linden 1522a99024 SL-11070
Gave clouds the Bob Ross treatment.
2019-05-03 10:12:56 -07:00
Graham Linden 9c23ede979 SL-11075
Make alpha shader apply vert color everywhere.
2019-05-03 09:12:53 -07:00
Graham Linden 906b0be675 SL-11087, SL-11086, SL-11092
Fix sun/moon glow factor bustage.

Make darkness an option.

Fix moon fade shader logic getting confused when sun was below horizon.
2019-05-03 08:47:13 -07:00
Graham Linden c4032528af Roll back sRGB decode changes from contrib for now.
Fix direct light matching across alpha/blended-material/deferred.

Get diffuse lighting to match from Low to Ultra.
2019-05-02 13:49:35 -07:00
maxim_productengine f67fe8fce7 SL-10833 Restore missing code after a merge 2019-05-02 13:45:40 +03:00
maxim_productengine be0c609eaf SL-11072 FIXED Crash in LLInventoryAction::doToSelected(2406) 2019-05-02 13:11:18 +03:00
maxim_productengine 89884ed146 SL-11057 Revert SL-10893 change to restore "Show All Folders" 2019-05-02 12:58:48 +03:00
Rider Linden 7393c6f328 Merged in graham_linden/viewer-eep-rc-fixes (pull request #374)
SL-10856, SL-11071
2019-04-30 21:47:00 +00:00
Graham Linden 1ff876a961 SL-11071
Make sun disc and moon shaders use sRGB hardware tex sampling.

Remove sun disc shader use of fullbright transport (fogging).
2019-04-30 12:19:35 -07:00
Graham Linden bfce96d684 SL-10856
Remove ambient clamp to keep shadows dark.

Partial fix for class 3 ambient term being wrong.
2019-04-30 10:04:20 -07:00
Rider Linden 2f5dc54b29 Merged in graham_linden/viewer-eep-rc-fixes (pull request #373)
SL-11020
2019-04-30 16:25:45 +00:00
Graham Linden 6b92571194 SL-11020
Make terrain rendering re-assert wrapped tex sampling modes so shared
texture doesn't get that state stomped by other tex users.
2019-04-30 08:39:28 -07:00
andreykproductengine bfc3d61d59 SL-11066 [EEP] Editor shows the 98% keyframe settings while the 0% keyframe is selected 2019-04-30 18:39:11 +03:00
Graham Linden 29f8e04ddb SL-11065
Modify is sun up logic to exclude condition of moon.
2019-04-29 13:07:57 -07:00
Graham Linden 0f83696585 SL-10956, SL-10969
Don't ignore far z in culling.

Fix Mid lighting being very dark.

Partial fix for broken projectors with forward rendering.
2019-04-29 11:11:05 -07:00
Graham Linden eff7acfb1c Remove hack mul of sunlight in alpha shader and add some taps for debugging the lighting pipe. 2019-04-29 08:53:09 -07:00
Graham Linden f133be068a Lighting WIP
Consistency across class2/3/ALM lighting.
2019-04-26 16:02:21 -07:00
Graham Linden 9d314074c9 SL-11055
Remove shader change to reduce additive to combat SL1491 as it also kills additive from foggy settings.

Zero out all cached hardware light colors causing uninit fun with class3 lighting.
2019-04-26 10:36:44 -07:00
Graham Linden 250c847491 SL-11041
Put ambient clamp threshold back for lighter shadows but closer match to release lighting.
2019-04-26 09:34:33 -07:00
Graham Linden b5ba56c863 Make alpha projectors do projector clip test for consistency with deferred spot behavior. 2019-04-26 08:03:17 -07:00
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