Ansariel Hiller
d91d39fa0f
Changes towards C++20 compatibility ( #2520 )
2024-09-09 13:02:34 +03:00
cosmic-linden
2c4fe4ff45
secondlife/viewer#2349: Avatar/animesh rendering correctness pass ( #2364 )
...
* secondlife/viewer#2349 : Blinn-Phong avatar/animesh rendering optimization/correctness pass
* secondlife/viewer#2349 : General avatar/animesh rendering optimization/correctness pass
2024-08-22 13:45:14 -05:00
Rye Mutt
7ebbc58ae3
Cache various frequently accessed settings ( #2080 )
2024-07-22 15:29:35 +03:00
Dave Parks
08b933a0c6
#1870 Tune up for better experience on integrated intel with low memory ( #1872 )
...
* More deterministic vsize calculation. Add control for choosing downscale method.
* Quick hack to make GLTF preview work again
2024-07-03 17:42:24 -05:00
Dave Parks
80ea30af1a
#1769 gltf optimization pass ( #1816 )
...
#1814 and #1517 Fix mirror update rate and occlusion culling
2024-06-21 13:13:08 -05:00
Brad Linden
7c42711ca3
Merge remote-tracking branch 'origin/DRTVWR-600-maint-A' into project/gltf_development
2024-06-10 16:22:12 -07:00
Dave Parks
227e9be068
#1654 generate normals and tangents according to gltf specification ( #1662 )
...
* Disable unloading of objects in background.
* Add unlit GLTF shader variant
2024-06-10 10:43:38 -05:00
Ansariel
b42f9d836b
Re-enable a lot of compiler warnings for MSVC and address the C4267 "possible loss of precision" warnings
2024-06-01 15:49:26 +02:00
Dave Parks
15fd13f830
#1530 Increase joint limit for GLTF Assets ( #1582 )
...
* Migrate GLTF scene rendering to its own shaders
* Add support for ambient occlusion map separate from metallic roughness map (or absent)
* Use UBO's for GLTF joints
* Better error handling of downloading GLTF assets
2024-05-29 16:56:39 -05:00
Brad Linden
a1f49564d6
Merge remote-tracking branch 'origin/DRTVWR-600-maint-A' into brad/merge-maint-a-to-dev
2024-05-23 11:31:19 -07:00
Ansariel
e2e37cced8
Fix line endlings
2024-05-22 22:40:26 +03:00
Ansariel
1b67dd855c
Merge remote-tracking branch 'origin/main' into DRTVWR-600-maint-A
...
# Conflicts:
# autobuild.xml
# indra/cmake/CMakeLists.txt
# indra/cmake/GoogleMock.cmake
# indra/llaudio/llaudioengine_fmodstudio.cpp
# indra/llaudio/llaudioengine_fmodstudio.h
# indra/llaudio/lllistener_fmodstudio.cpp
# indra/llaudio/lllistener_fmodstudio.h
# indra/llaudio/llstreamingaudio_fmodstudio.cpp
# indra/llaudio/llstreamingaudio_fmodstudio.h
# indra/llcharacter/llmultigesture.cpp
# indra/llcharacter/llmultigesture.h
# indra/llimage/llimage.cpp
# indra/llimage/llimagepng.cpp
# indra/llimage/llimageworker.cpp
# indra/llimage/tests/llimageworker_test.cpp
# indra/llmessage/tests/llmockhttpclient.h
# indra/llprimitive/llgltfmaterial.h
# indra/llrender/llfontfreetype.cpp
# indra/llui/llcombobox.cpp
# indra/llui/llfolderview.cpp
# indra/llui/llfolderviewmodel.h
# indra/llui/lllineeditor.cpp
# indra/llui/lllineeditor.h
# indra/llui/lltextbase.cpp
# indra/llui/lltextbase.h
# indra/llui/lltexteditor.cpp
# indra/llui/lltextvalidate.cpp
# indra/llui/lltextvalidate.h
# indra/llui/lluictrl.h
# indra/llui/llview.cpp
# indra/llwindow/llwindowmacosx.cpp
# indra/newview/app_settings/settings.xml
# indra/newview/llappearancemgr.cpp
# indra/newview/llappearancemgr.h
# indra/newview/llavatarpropertiesprocessor.cpp
# indra/newview/llavatarpropertiesprocessor.h
# indra/newview/llbreadcrumbview.cpp
# indra/newview/llbreadcrumbview.h
# indra/newview/llbreastmotion.cpp
# indra/newview/llbreastmotion.h
# indra/newview/llconversationmodel.h
# indra/newview/lldensityctrl.cpp
# indra/newview/lldensityctrl.h
# indra/newview/llface.inl
# indra/newview/llfloatereditsky.cpp
# indra/newview/llfloatereditwater.cpp
# indra/newview/llfloateremojipicker.h
# indra/newview/llfloaterimsessiontab.cpp
# indra/newview/llfloaterprofiletexture.cpp
# indra/newview/llfloaterprofiletexture.h
# indra/newview/llgesturemgr.cpp
# indra/newview/llgesturemgr.h
# indra/newview/llimpanel.cpp
# indra/newview/llimpanel.h
# indra/newview/llinventorybridge.cpp
# indra/newview/llinventorybridge.h
# indra/newview/llinventoryclipboard.cpp
# indra/newview/llinventoryclipboard.h
# indra/newview/llinventoryfunctions.cpp
# indra/newview/llinventoryfunctions.h
# indra/newview/llinventorygallery.cpp
# indra/newview/lllistbrowser.cpp
# indra/newview/lllistbrowser.h
# indra/newview/llpanelobjectinventory.cpp
# indra/newview/llpanelprofile.cpp
# indra/newview/llpanelprofile.h
# indra/newview/llpreviewgesture.cpp
# indra/newview/llsavedsettingsglue.cpp
# indra/newview/llsavedsettingsglue.h
# indra/newview/lltooldraganddrop.cpp
# indra/newview/llurllineeditorctrl.cpp
# indra/newview/llvectorperfoptions.cpp
# indra/newview/llvectorperfoptions.h
# indra/newview/llviewerparceloverlay.cpp
# indra/newview/llviewertexlayer.cpp
# indra/newview/llviewertexturelist.cpp
# indra/newview/macmain.h
# indra/test/test.cpp
2024-05-22 19:04:52 +02:00
RunitaiLinden
c6d752b880
Merge remote-tracking branch 'origin/DRTVWR-600-maint-A' into gltf-dev-maint-a-merge
2024-05-06 16:48:58 -05:00
Brad Linden
9b6979f458
Fix for SL-20652 shadows on mac breaking alpha blended objects. ( #1264 )
...
* Fix for SL-20652 shadows on mac breaking alpha blended objects.
fix secondlife/jira-archive-internal#71030
* clean up surrounding indentation
* Skip unnecessary casting
* Clean up LLGLSLShader::sIndexedTextureChannels usage and improve fix for SL-20652
2024-04-30 19:06:27 -05:00
Andrey Lihatskiy
1b68f71348
#824 Process source files in bulk: replace tabs with spaces, convert CRLF to LF, and trim trailing whitespaces as needed
2024-04-29 07:56:09 +03:00
RunitaiLinden
cadc1a02cc
1285 GLTF Animation Prototype
2024-04-24 09:51:15 -05:00
RunitaiLinden
bc93177ea0
1176 integrate llgltfnode with selection manager and llmaniptranslate/rotate ( #1258 )
...
* #1176 Somewhat working GLTF Node support for translate tool
* #1176 Missing file from last commit
* #1176 Better translation for rotated nodes.
* #1176 Fix for objects snapping back to original position
* #1176 GLTF Samples compatibility pass -- attempt at improving rotation manip support, incidental cleanup, GLTF node debug display
* #1176 Clean out some unused and not working functions.
* #1176 Fix for mac build, incidental cleanup
* Mac build fix
2024-04-17 16:12:49 -05:00
Ansariel
60d3dd98a4
Convert remaining BOOL to bool
2024-02-21 23:14:31 +02:00
RunitaiLinden
bdb53fd56d
SL-20611 Make haze effect local lights -- move sky and water haze to their own passes and unify sky and water haze in forward rendering shaders.
2023-11-16 16:46:12 -06:00
RunitaiLinden
bf0fea7b88
DRTVWR-559 Fix for depth of field causing alpha objects to poke holes in water.
2023-07-25 09:59:04 -05:00
RunitaiLinden
bb08f68db1
SL-19977 Fix for glow not getting applied to both sides of double sided alpha
2023-07-19 09:40:33 -05:00
RunitaiLinden
5797711cbd
Merge branch 'DRTVWR-559' of github.com:secondlife/viewer into DRTVWR-559
2023-07-18 12:18:35 -05:00
RunitaiLinden
a0089c432a
SL-19954 Fix for rigged alpha pbr sometimes not getting reflection probe parameters
2023-07-18 12:18:07 -05:00
Brad Linden
f975cfd736
Merge remote-tracking branch 'origin/main' into DRTVWR-559
2023-07-17 13:37:03 -07:00
RunitaiLinden
47be24e467
SL-19835 Followup -- fix for emissive alpha objects blocking water rendering
2023-06-15 14:51:57 -05:00
RunitaiLinden
b81aadae1b
SL-19835 Fix for inaccurate water fog on transparent objects when camera is above water.
2023-06-13 15:36:51 -05:00
Andrey Kleshchev
d134d155e2
SL-19806 Crash at vobj
2023-06-01 22:16:18 +03:00
Rye Mutt
cbd17fce86
Fix underwater fog mismatch between opaque and alpha blend when local lights are nearby ( #227 )
...
* Fix water fog mismatch between alpha blend and opaque when local light is nearby
* Add PBR underwater alpha blend shader
2023-05-25 15:09:22 -05:00
RunitaiLinden
8251e1200d
SL-19746 Fix for transparent HUDs showing the wrong texture.
2023-05-22 16:31:09 -05:00
RunitaiLinden
cae8aa6ecf
SL-19726 Fix for llTargetOmega on child prim breaking shadow rendering. Incidental decruft.
2023-05-18 18:03:17 -05:00
Rye Mutt
87bda55268
Add a binary cache for compiled shaders using glProgramBinary ( #216 )
...
* Add a binary cache for compiled shaders using glProgramBinary
* Add additional sanity checking to shader binary save and load, hook up cache clear and menu option
* Fix default init of shader cache data struct and clear gl errors before glGetError calls
---------
Co-authored-by: RunitaiLinden <davep@lindenlab.com>
2023-05-17 18:30:27 -05:00
RunitaiLinden
cdc9852f05
SL-19709 Fix for fullbright shiny not factoring out exposure and flickering fullbright alpha. Incidental decruft.
2023-05-15 11:01:24 -05:00
Cosmic Linden
7d0903533c
SL-19236: Fix HUDs not rendering when transparent water graphics setting is off
2023-05-11 11:31:09 -07:00
RunitaiLinden
e09475713b
DRTVWR-559 Optimization pass, make it so profileAvatar can read back GPU timer without a frame stall.
2023-05-02 18:47:21 -05:00
Andrey Lihatskiy
504ef7e9e3
Merge branch 'main' into DRTVWR-580-maint-T
2023-05-02 17:39:29 +03:00
RunitaiLinden
334d71e910
SL-19656 Rewrite avatar and attachment render metrics to not interfere with render pipe and be representative of actual render cost instead of driver synchronization time.
...
* SL-19656 Rewrite avatar and attachment render metrics to not interfere with render pipe and be representative of actual render cost instead of driver synchronization time.
* SL-19656 Remove now dead code (trackAttachments et al).
* SL-19656 Fix for crash on GL <= 3.2
2023-05-01 17:05:09 -05:00
Brad Linden
e2dc40a76e
SL-19656 disabling trackAttachments() code after DRTVWR-559 & DRTVWR-539 merge
2023-04-26 17:19:29 -07:00
Brad Linden
369945b45d
Merge remote-tracking branch 'origin/DRTVWR-539' into DRTVWR-559-merge-539
2023-04-26 15:38:47 -07:00
RunitaiLinden
03bd681564
DRTVWR-559 Balance night scenes against release, nudge glow down a smidge, remove exposure correction from legacy fullbright balance PBR materials against legacy.
2023-04-14 19:24:21 -05:00
Andrey Kleshchev
d2a8a3bd53
SL-18964 Smoke texture can fail to load
...
Debt from SL-18221.
Keep init together, after we got the cap; texture should finish loading before it's needed.
2023-03-16 01:18:07 +02:00
Alexander Gavriliuk
da3002bd0c
SL-18964 Move creating of LLViewerFetchedTexture::sSmokeImagep to LLDrawPoolAlpha::renderDebugAlpha()
2023-02-12 16:59:38 +02:00
Dave Parks
577f6a46f0
SL-19181 Modulate "glow" by PBR emissive.
2023-02-09 17:00:36 -06:00
Dave Parks
a2647e953a
SL-18229 Fix for PBR materials on HUDs misbehaving. Incidental decruft.
2023-02-07 18:25:22 -06:00
Dave Parks
830cb6b665
SL-19148 Decruft some forward shaders and drawpools. Fix HUDs being in wrong color space.
2023-02-03 17:18:39 -06:00
Dave Parks
93b1da52f5
SL-18908 Make media texture override base color and emissive texture on PBR materials when present.
2023-02-02 14:35:09 -06:00
Dave Parks
4694a46f7b
SL-18983 Fix for alpha HUDs not rendering.
2023-02-02 10:48:15 -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
c83e664148
SL-18869 GL 3 compatibility pass and minor decruft.
2023-01-20 13:00:40 -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
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