Commit Graph

40415 Commits (dc4b34966ae6830a06bf266da6f600b32da8cfbd)

Author SHA1 Message Date
Graham Linden dc4b34966a SL-10421
Add pointer checks to possibly avoid bugsplat autoreported crash.
2019-03-07 13:46:40 -08:00
Graham Linden 423fa1ac29 SL-10618, SL-10698
Fix reflection/distortion map culling planes again.

Fix broken handling of shadow disables in ALM forward shaders.
2019-03-07 10:56:26 -08:00
Graham Linden f488e5855a Remove refs to libatmo libraries (not pulled into cmake anymore). 2019-03-06 11:23:07 -08:00
Graham Linden 3f48633b7d Make octree walk stop thrashing the caches with tex work.
Add many more fast timer blocks to differentiate where time goes in UI and Shadow rendering.
2019-03-06 10:09:59 -08:00
Graham Linden 3396b728d2 Don't rebuild reflection when only edge water patches are in play.
Use (Restore)TexSetup for tex binding (should be equivalent now).

Simplify uniform management in alpha drawpool loop.

Fix wrong modelview mat being used for distortion map gen.
2019-03-05 09:35:04 -08:00
Graham Linden f3303654a5 Roll back even more alpha draw pool optimizations that break particles. 2019-03-04 16:20:31 -08:00
Graham Linden 659eaf045e Fix line-endings. 2019-03-04 15:40:07 -08:00
Graham Linden cc43bee5b1 Factor emissives and fullbrights out of alpha draw pool loop of death. 2019-03-04 14:13:27 -08:00
Graham Linden f1fe689e18 SL-10566
Put back old alpha pool draw loop with option to render emissives out of order to save state changes.
2019-03-04 13:19:39 -08:00
Graham Linden 0b4982ac89 Roll back optimizations to lldrawpoolalpha causing emissive strangeness and alpha materials lighting errors. 2019-03-04 10:31:55 -08:00
Graham Linden 552267f1c9 Fix unused local var 'partition' and avoid assert in rendering highlights. 2019-03-04 09:50:11 -08:00
Graham Linden 45a541d2d5 SL-10566
Disable pre-cull of water causing refraction/reflection map generation more than is necessary.

Re-org alpha draws to limit state changes based on render type.
2019-03-04 08:04:18 -08:00
Graham Linden 4c3050a395 SL-10664, SL-10666
Fix up culling issues from perf work and fix Depth of Field rendering to get depth values properly.

Baseline for performance work.
2019-03-03 10:42:19 -08:00
Graham Linden d90b16d350 Merge 2019-03-02 07:18:17 -08:00
Graham Linden d8eff424a5 SL-10664 2019-03-02 07:17:46 -08:00
Rider Linden 122e2676ed Add a command line flag to prevent the viewer from launching the update checker. To use from debugger secondlife-bin->properties->Debugging->Command Arguments add "--skipupdatecheck" 2019-03-01 16:12:10 -08:00
Graham Linden bf8dee73f9 Merge 6.1.1 2019-02-28 18:28:13 -08:00
Rider Linden e1a76999c3 Merge 2019-02-28 16:37:47 -08:00
Nat Goodspeed 03db2ddc9c increment viewer version to 6.1.1 2019-02-28 18:12:29 -05:00
Nat Goodspeed 1aa013f75b Added tag 6.1.0-release for changeset a3143db58a0f 2019-02-28 18:12:28 -05:00
Graham Linden c1d2416826 EEP performance WIP
Mods to improve alpha obj render performance.

Removes hacky fix for HUD elements getting atmospherics.

Re-orders rendering of glow to remove ~10ms/frame of shader re-re-rebinding.

Fix up default classes and basic shader loading (remove unused shared modules).
2019-02-28 14:06:19 -08:00
Graham Linden d7ad30a2d4 SL-10566 part the fourth
Fix water rendering causing distortion map update very frame.

Reduce binds in alpha draw pool for HUD atmo suppression (may regress HUD lighting weirdness).

Add ability to retrieve current user clip plane so it can be saved/restored around water map gen.

Leave render type masks as is after reflection map render to get detail filtering applied to distortion map again.

Re-enable occlusion in distortion map rendering.
2019-02-27 17:07:31 -08:00
Graham Linden ef57351148 SL-10566 part the second
Re-enable occlusion for the refracted object culling for the distortion map
(was bloating scene by 3k draw calls when disabled for that pass).
2019-02-26 17:58:52 -08:00
Graham Linden 4f1e39d4a4 Fix ifdef in alphaF. 2019-02-26 16:13:32 -08:00
Graham Linden 2b9943d6f2 Fix up ifdefs to make OSX shader compiler happy. 2019-02-26 15:07:33 -08:00
Graham Linden 6f820163ce SL-10566 part the first
Tie using deferred rendering in water reflection/distortion map generation to debug var again
(claw back some performance lost to doing post-deferred in water map generation).

Edit softenLightF for class1/class2 to make them comparable again.
2019-02-26 14:51:02 -08:00
Graham Linden 982b8cdef2 Merge 2019-02-26 10:16:52 -08:00
Graham Linden f9896dc100 SL-5186, SL-10612
Fix lighting and gamma correction differences between deferred and forward rendering including materials objects.

Verify 10612 and 10500 remain fixed.

Make sure all necessary deferred shaders get the atmospheric uniform updates for doing frag-based atmospherics.
2019-02-26 10:09:32 -08:00
Rider Linden b6d08e489c Merged in andreykproductengine/maint-eep (pull request #287)
SL-10635 Crash when loading day cycle from asset

Approved-by: Maxim Nikolenko <maximnproductengine@lindenlab.com>
2019-02-26 17:15:53 +00:00
maxim_productengine 6b9b8a627f SL-1945 Autoselection fix 2019-02-26 15:51:33 +02:00
andreykproductengine 48d1facd90 SL-10635 Crash when loading day cycle from asset 2019-02-26 15:22:00 +02:00
Rider Linden 7ac03a6b75 Merge 2019-02-25 14:24:20 -08:00
Rider Linden c42a364841 SL-10165: Using Load Sky/Water when over an existing keyframe replaces the old frame. 2019-02-25 14:23:46 -08:00
Rider Linden 738ea418a8 Merged in graham_linden/viewer-eep-rc-fixes (pull request #285)
SL-9806
2019-02-25 21:05:08 +00:00
Graham Linden 4879438b14 Disable nSight debug by default (breaks snapshots). 2019-02-25 12:25:02 -08:00
Graham Linden 5cd188840d SL-9806
Remove fade effect on sun disc as it nears horizon (stars poke through).
2019-02-25 12:14:59 -08:00
Graham Linden 8b0e2e4c82 SL-9806
Remove blend effect when sun disc nears horizon (was letting the stars show through).
2019-02-25 12:12:29 -08:00
Graham Linden 5158ffa5ce Merge 2019-02-25 08:38:24 -08:00
andreykproductengine 6456518135 SL-1945 Autoselection and some crash fixing 2019-02-25 16:51:29 +02:00
Graham Linden bc86ad9523 SL-5186
Add ambiance handling to the light loop in the forward incarnation of materialF
and tweak alphaF to match lighing of material alpha-blend objects and non-ALM rendering.
2019-02-22 17:03:11 -08:00
Graham Linden f8f250f80b Merge 2019-02-22 15:42:07 -08:00
Rider Linden 0aa46bb013 Merge 2019-02-22 15:05:13 -08:00
Rider Linden 8382cc2f2c Adust highlight color to white on timeline. 2019-02-22 15:04:47 -08:00
Graham Linden 930e4456f1 Merge 2019-02-22 15:00:17 -08:00
Rider Linden 8bebb385fe Merged in graham_linden/viewer-eep-fixes (pull request #282)
SL-10415, SL-10612, SL-10569
2019-02-22 22:58:49 +00:00
Graham Linden 5037e95a5b Merge 2019-02-22 14:57:25 -08:00
Graham Linden 4aad620062 SL-10415, SL-10612, SL-10569
Fix shadow sampling min with caster dp and offset tweaks.

Fix moon direction not being transformed as the sun dir is.

Fix colorspace issue causing some objects to render grayish instead of blackish.
2019-02-22 14:50:03 -08:00
andreykproductengine d60925e3b4 SL-1945 Show track picker even if there is only one track to choose from 2019-02-22 23:24:27 +02:00
Nat Goodspeed 765259b200 INTL-318: Fix syntax error in lang_tr.nsi. 2019-02-22 06:03:32 -10:00
Nat Goodspeed c505cf1914 INTL-318: Fix similar syntax error in lang_ru.nsi. 2019-02-22 05:20:09 -10:00