Commit Graph

46973 Commits (c136c5ece4a6baf3b0a34c32211e00a3d0fc4b69)

Author SHA1 Message Date
Dave Parks c136c5ece4 SL-18772 Potential fix for failed shader load on Intel HD 3000 2023-02-01 16:23:44 -06:00
Dave Parks 29ecdd09b9 SL-19028 Enable SSR on "Ultra" 2023-02-01 11:17:19 -06:00
Dave Parks 715252e3fd SL-19124 Fix for broken distortion map in water in reflection probes. 2023-02-01 10:32:08 -06:00
Dave Parks 4cbdc245ac SL-18154 Followup -- fix mac build 2023-01-31 18:34:47 -06:00
Dave Parks 4522864f0b SL-18772 Potential fix for failed shader load on Intel HD 3000 2023-01-31 17:05:58 -06:00
Dave Parks 280c92b7de SL-18154 Followup -- Use Henri's xxHash integration to speed up UI Vertex Buffer cache 2023-01-31 16:45:39 -06:00
Dave Parks 8e0e61ed66 Merge branch 'DRTVWR-559' of github.com:secondlife/viewer into DRTVWR-559 2023-01-31 15:01:24 -06:00
Dave Parks c9d56e212a SL-19015 Balance sun/sky ambiance with punctual light ambiance. Prevent irradiance maps from being brighter than the environment. 2023-01-31 15:01:05 -06:00
Andrey Kleshchev b5b0a3fbf6 SL-19110 Fix xxhash build link and properly register contribution 2023-01-31 22:05:42 +02:00
Henri Beauchamp 473ade2696 SL-19110 Fast hashing classes for use in place of the slow LLMD5, where speed matters. (#64)
This commit adds the HBXX64 and HBXX128 classes for use as a drop-in
replacement for the slow LLMD5 hashing class, where speed matters and
backward compatibility (with standard hashing algorithms) and/or
cryptographic hashing qualities are not required.
It also replaces LLMD5 with HBXX* in a few existing hot (well, ok, just
"warm" for some) paths meeting the above requirements, while paving the way for
future use cases, such as in the DRTVWR-559 and sibling branches where the slow
LLMD5 is used (e.g. to hash materials and vertex buffer cache entries), and
could be use such a (way) faster algorithm with very significant benefits and
no negative impact.

Here is the comment I added in indra/llcommon/hbxx.h:

// HBXXH* classes are to be used where speed matters and cryptographic quality
// is not required (no "one-way" guarantee, though they are likely not worst in
// this respect than MD5 which got busted and is now considered too weak). The
// xxHash code they are built upon is vectorized and about 50 times faster than
// MD5. A 64 bits hash class is also provided for when 128 bits of entropy are
// not needed. The hashes collision rate is similar to MD5's.
// See https://github.com/Cyan4973/xxHash#readme for details.
2023-01-31 22:04:14 +02:00
Dave Parks c154f4f6da Merge branch 'DRTVWR-559' of github.com:secondlife/viewer into DRTVWR-559 2023-01-30 18:56:32 -06:00
Dave Parks 10b8dcc497 SL-19015 Bump probe resolution back to 256 by default (drop to 128 if vram < 2GB), remove irradiance map feedback loop (one bounce, but but more stable and allows for much brighter first bounce), make sky contribution to irradiance not tint the world blue. Make irradiance that appears in radiance maps match world irradiance. 2023-01-30 18:56:19 -06:00
Brad Linden 12afbacd83 Fix DRTVWR-559 EOL at EOF to pass coding policy checks 2023-01-30 10:09:04 -08:00
RunitaiLinden 3ef31cb9b2
SL-19203 et al -- Integrate SSR with reflection probes, tweak probe blending. (#63)
* SL-19203 WIP -- Integrate SSR with reflection probes.  Decruft LLRenderTarget.

* SL-19203 WIP -- Re-integrate SSR.  Incidental decruft.

* SL-19203 WIP -- SSR frame delta correction (still broken for Z)

* SL-19203 WIP -- SSR frame delta Z fix

* SL-19203 WIP -- Make SSR toggleable again and disable SSR in cube snapshots.

* SL-19203 WIP -- Soften sphere probe transitions and fix reflections on void water (make fallback probe a simple terrain+water+sky probe).  Remove parallax correction for automatic probes to reduce artifacts.

* SL-19203 Tune probe blending.

* SL-19203 Cleanup.
2023-01-27 17:24:22 -06:00
Andrey Kleshchev 503e18fc64 SL-19005 Fix 'save as' button for local uploads 2023-01-27 17:22:57 +02:00
Andrey Kleshchev 7f0fed273c SL-17640 Make Materials Upload UI localizable 2023-01-27 17:22:57 +02:00
cosmic-linden 2783884077
Merge pull request #61 from secondlife/SL-19081
SL-19081: Fix assert when uploading texture
2023-01-25 17:25:29 -08:00
Cosmic Linden 2f1158c06f SL-19081: Fix assert when uploading texture 2023-01-25 16:56:45 -08:00
cosmic-linden 98d2a46b30
Merge pull request #59 from secondlife/SL-19012
SL-19012: Fix new material IDs sometimes not applying when set via LSL
2023-01-25 13:31:25 -08:00
Cosmic Linden 2aaa15fef1 SL-19012: Fix new material IDs sometimes not applying when set via LSL 2023-01-25 12:34:35 -08:00
Dave Parks 623bb4d58c SL-18772 Potential fix for failed shader load on Intel HD 3000 2023-01-24 14:17:36 -06:00
Dave Parks fea731ecb3 SL-19023 Reformat SSR shaders to match style standard. 2023-01-24 14:02:53 -06:00
Dave Parks a851aa83e7 SL-18958 Fix for broken water distortion map and depth buffer. Incidental decruft. 2023-01-24 12:50:17 -06:00
Dave Parks bc6424779c SL-18772 Potential fix for failed shader load on Intel HD 3000 2023-01-24 10:09:59 -06:00
Dave Parks 6419e7f9f9 SL-19015 Fix for ugly SSAO 2023-01-23 16:17:12 -06:00
Dave Parks dcf05c57c8 SL-18772 Potential fix for failed shader load on Intel HD 3000 2023-01-23 16:16:24 -06:00
Dave Parks a78e03da6e SL-19015 Fix for spot light shadows. 2023-01-23 13:27:13 -06:00
Dave Parks 68b86228b3 Merge branch 'DRTVWR-559' of github.com:secondlife/viewer into DRTVWR-559 2023-01-23 13:25:21 -06:00
Dave Parks 3b891301c4 SL-18772 Potential fix for failed shader load on Intel HD 3000 2023-01-23 13:25:10 -06:00
cosmic-linden 51d89480fe
Merge pull request #55 from secondlife/andreyk/SL-19014
SL-19014 Sanitize the override data sent for faces without GLTF materials
2023-01-23 10:44:18 -08:00
Andrey Kleshchev a3f43b4b73 SL-19014 Sanitize the override data sent for faces without GLTF materials 2023-01-23 20:36:54 +02:00
Dave Parks 8bad6ccde4 SL-19015 Fix gamma correct shader noise parameters (remove banding) 2023-01-23 12:24:06 -06:00
Dave Parks 613ffc6ce6 Merge branch 'DRTVWR-559' of github.com:secondlife/viewer into DRTVWR-559 2023-01-23 11:48:53 -06:00
Dave Parks 274da636a0 SL-18869 Followup -- AMD optimization pass. 2023-01-23 11:48:43 -06:00
Andrey Kleshchev 7c853be544 SL-19005 Fix save button for local uploads 2023-01-23 18:50:07 +02:00
Dave Parks 3fac6115c0 SL-18772 Potential fix for failed shader load on Intel HD 3000 2023-01-23 10:01:00 -06:00
Dave Parks 984bdcd9d9 SL-18869 Followup -- AMD compatibility pass. 2023-01-20 18:25:53 -06:00
Dave Parks c2fef4b588 SL-19015 Boost brightness of irradiance maps. 2023-01-20 15:48:06 -06:00
Dave Parks 7067a9585a SL-18869 Followup -- fix for sky being black in probes and too bright outside probes. 2023-01-20 14:40:45 -06:00
Dave Parks 10c85eab94 Merge branch 'DRTVWR-559' of github.com:secondlife/viewer into DRTVWR-559 2023-01-20 13:00:57 -06:00
Dave Parks c83e664148 SL-18869 GL 3 compatibility pass and minor decruft. 2023-01-20 13:00:40 -06:00
Brad Linden d8cdfaa645 Fix for SL-19010 mac crash in LLManipTranslartge::restoreGL().
Attempt to simplify and avoid use of GL_UNSIGNED_INT_8_8_8_8_REV where not needed
2023-01-19 14:25:14 -08:00
Dave Parks 8b39e0e1a6 SL-18869 Followup -- leverage "small commands" and time slicing to get rid of frame stalls on main thread without the need for multithreaded GL 2023-01-19 11:33:11 -06:00
RunitaiLinden 7bd9d21e19
Optimizations, decruft, and intel compatibility pass (#53)
SL-18869, SL-18772  Overhaul VBO management, restore occlusion culling, intel compatibility pass, etc
2023-01-19 09:13:45 -06:00
Andrey Kleshchev 1ff3b1ffa5 MacOS build fix 2023-01-12 19:49:35 +02:00
Andrey Kleshchev 10a4319c30 SL-18962 PBR Materials should be viewable even if they are no-copy 2023-01-12 19:03:36 +02:00
Andrey Kleshchev 887b481875 SL-18947 Disable 'save' buttons by default, until material gets loaded 2023-01-12 09:57:22 +02:00
Dave Parks ccedb5a6de Merge branch 'DRTVWR-559' of github.com:secondlife/viewer into DRTVWR-559 2023-01-11 16:20:35 -06:00
Dave Parks b9a4d81d51 SL-18869 Optimizations -- Revive LLVBOPool and fix silly typo in renderShadowSimple 2023-01-11 16:20:24 -06:00
Andrey Kleshchev 3e1afc3c91 SL-18947 No modify materials can lock material floater
Not supposed to happen, yet somehow did
2023-01-11 23:56:41 +02:00