Commit Graph

46934 Commits (10c85eab94dbd63fec62cfbf484a9c62c5a0f5cd)

Author SHA1 Message Date
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
Andrey Kleshchev 33290ef1bb MacOS build fix 2023-01-11 23:03:50 +02:00
cosmic-linden 7e1f4e4cc7
Merge pull request #48 from secondlife/SL-18820
Sl 18820: Build floater should preserve GLTF transforms when changing the PBR material
2023-01-11 10:36:35 -08:00
Dave Parks b4f5333414 SL-18869 Touch up -- Prune "post_pos" from shadow shaders that don't need it and fix non-standard gl_Position z values 2023-01-11 11:28:45 -06:00
Dave Parks cd1e7da099 SL-18869 Touch up -- Put generateSunShadow call back where it was to fix alpha objects disappearing 2023-01-11 10:00:15 -06:00
Dave Parks 3ac990e6ce SL-18869 Touch up -- fix some Debug GL assertions and restore shadows. 2023-01-11 00:04:41 -06:00
Dave Parks 493d501cde SL-18869 Optimizations -- Revive "Frame Profile" and GL_DEPTH_CLAMP. Remove usage of gl_FragDepth from shadow shaders. 2023-01-10 19:49:18 -06:00
Cosmic Linden 693925ef23 SL-18820: Fix applying material clearing transform overrides. Loosen some asserts to allow non-default transform overrides. 2023-01-10 17:09:30 -08:00
Dave Parks 28c245b071 Merge branch 'DRTVWR-559' of github.com:secondlife/viewer into DRTVWR-559 2023-01-10 18:42:21 -06:00
Dave Parks 68da705f3b SL-18869 Optimizations -- Quiet command buffer -- VBO cache for UI et al and remove many unneeded VBO binds. 2023-01-10 18:42:09 -06:00
Dave Parks fdc0ea64f0 SL-18869 Optimizations -- LLVertexBuffer overhaul and shuffle of shadow map rendering to a place where the main camera has taken a stab at object updates for this frame before shadow map rendering has at them. 2023-01-10 17:36:05 -06:00
Brad Linden c6ea8f9c82 Fix shader syntax error on mac for DRTVWR-559 2023-01-10 15:10:25 -08:00
Brad Linden d224fa0b62 Fix mac build for DRTVWR-559 2023-01-10 14:43:12 -08:00
Andrey Kleshchev afa6692efa SL-18942 [PBR] LLPanelFace was missing 'transform' updates for some of the faces 2023-01-10 23:01:27 +02:00
Andrey Kleshchev 6403f1526f SL-18932 Canceling in material picker removes dropped material 2023-01-10 20:07:03 +02:00
Dave Parks 4abf39c968 SL-18869 Optimizations -- Bring back water plane clipping for above/below water where applicable. 2023-01-10 11:42:12 -06:00
Dave Parks a2d17d3c1e SL-18869 Optimizations -- Decruftify LLRenderTarget, use a shader to copy color/depth instead of glCopyTexSubImage or glBlitFrameBuffer 2023-01-09 18:12:54 -06:00
Cosmic Linden 4fa77b6f72 SL-18820: Update LLGLTFMaterial: Add setBaseMaterial() and equality comparison 2023-01-09 14:13:09 -08:00
Dave Parks a710bf9067 SL-18869 Optimizations -- Use _mm_prefetch to cut down on cache misses when iterating over render batches. 2023-01-09 15:18:57 -06:00
Dave Parks b3fc82ff1d SL-18869 Optimizations -- decruftify LLVertexBuffer and make an optimal "renderShadowSimple" utility function for pushing vertex buffers only. 2023-01-09 13:05:32 -06:00
Andrey Kleshchev 9add99b31a SL-18879 Fixed: Very transparent faces can no longer be selected 2023-01-06 19:05:51 +02:00
Mnikolenko Productengine a21ef13880 SL-18907 Add Reflection Probe Ambiance slider to Personal Lighting Floater 2023-01-06 17:58:23 +02:00
Andrey Kleshchev 366efa4384 SL-18741 Add gltf to bulk uploads on mac
And cleaned up dupplicate mScale code
2023-01-06 17:32:50 +02:00
Andrey Kleshchev 3290f16f29 SL-18854 Fix drag'n drop of plain textures on faces in PBR mode
When in PBR 'mode', defaulted texture drops to diffuse channel
2023-01-04 13:31:27 +02:00
Andrey Kleshchev 81a4c7598d SL-18887 Material size is not displayed in materials picker 2023-01-03 17:32:44 +02:00
Jonathan "Geenz" Goodman 003e34190f Refactor post processing a smidge
Fixes SL-18484.
2023-01-02 05:38:29 -08:00
Dave Parks 40799b97c1 SL-18779 Fix for water fog staying bright when sun is dark. 2022-12-19 15:27:43 -06:00
Dave Parks 2de9e631d9 SL-18730 Dumb down water distortions to reduce appearance of brokenness. 2022-12-19 11:48:56 -06:00
Dave Parks 89f21f276f SL-18719 GL 3.0/3.1 compatibility pass. 2022-12-16 14:58:02 -06:00
Dave Parks 4711241dd5 SL-18731 Fix for runaway feedback loops on reflection probe ambiance 2022-12-16 13:57:31 -06:00
Dave Parks d0af1ca7cb SL-18780 Feedback cloud coverage into reflection probe ambiance to recover legacy behavior of cloud coverage brightening ambient lighting without destroying the ability to have good probe driven ambiance. 2022-12-16 13:35:16 -06:00
Dave Parks ad1ecfd9cd Merge branch 'DRTVWR-559' of github.com:secondlife/viewer into DRTVWR-559 2022-12-16 12:22:35 -06:00
Dave Parks dbc641ce52 SL-18861 Optimize away alpha channel on GLTF material imports. 2022-12-16 12:22:23 -06:00
Andrey Kleshchev e07e31af1c SL-18854 Prevent texture drop onto faces that have pbr 2022-12-16 19:32:38 +02:00
Dave Parks d27d23ab26 SL-18852 Refactor GLTF material rendering to not be special compared to other types. Hook GLTF alpha masking up to highlight transparent. 2022-12-16 11:12:06 -06:00
Dave Parks 57c54ec4b7 SL-18851 Fix for PBR materials sometimes not casting shadows when they should. 2022-12-16 08:59:02 -06:00
Dave Parks 6f7eeecdb3 SL-18782 Fix fir assert when enabling SSR 2022-12-15 17:52:31 -06:00
Dave Parks aa76fbb0b2 SL-18782 Finishing touches on Reflection Probe Volumes display (for now). 2022-12-15 13:43:16 -06:00
Dave Parks 4d0bd020a0 SL-18782 WIP -- Functional Build->Options->Show Reflection Probe Volumes 2022-12-14 16:17:48 -06:00
Dave Parks ad08d20c4c Merge branch 'DRTVWR-559' of github.com:secondlife/viewer into DRTVWR-559 2022-12-14 11:00:51 -06:00