Commit Graph

1603 Commits (d65fb7cec8ce36ce7f6ff082f8d04bdd8bc0208c)

Author SHA1 Message Date
Jonathan "Geenz" Goodman d65fb7cec8
Drop emissive on old Intel GPUs (#3110)
* #3103 Add the ability to disable the emissive buffer for older GPUs with low memory bandwidth.
* #3135 Add a "vintage" mode for slower GPUs
* #2719 Fix for skies being overbrightened
* #2632 Do not apply tonemapping on legacy skies
2024-11-25 20:56:03 -05:00
Brad Linden 7be9c43f28
brad/2744 handle shader errors (#3105)
* Partial solution to secondlife/viewer#2744 crash with better error handling.

Handles shader compile errors better, and should turn crash into an LL_ERRS assertion failure.
Strengthed more assertions and improved shader error line numbers

* Even more error handling to get a handle on crash secondlife/viewer#2744
* Improved GLSL correctness on Intel chips that lack OpenGL 4.6 support. secondlife/viewer#2744
* Removed non-working fallback code for gDeferredPostProgram
* Fixed incorrect llmax call
2024-11-19 10:49:09 -08:00
Dave Parks 2b255535ef
2590 mac intel and radeon pro 5300m horrible fps 2 (#3030)
* OpenGL 3.3 compatibility pass.  Fix for FBO driven downscaling corrupting textures.
* Increase maximum texture bias, immediately scale down when textures are loaded higher resolution than desired
* #2590 Fix for some frame stalls on Intel Macs
2024-11-12 15:26:38 -08:00
Brad Linden b4b52e4717
Add early-out in LLPipeline::applyCAS() if gCASProgram failed to compile. (#2760)
fix secondlife/viewer#2756
2024-10-01 16:04:44 -07:00
Andrey Kleshchev 440c7b20da #2411 Allow disabling and enabling LLFontVertexBuffer
for testing purposes
2024-09-26 20:56:45 +03:00
Brad Linden 5eab135892
Fix sky settings with reflection probe ambiance of 0 still receiving tonemapping (#2659)
Co-authored-by: Rye Cogtail <rye@lindenlab.com>
2024-09-23 15:19:55 -07:00
Ansariel Hiller d9da5bbb33
Remove quads rendering mode entirely (#2593) 2024-09-18 17:09:51 +03:00
Dave Parks 870ffbd55b
Suppress mapBuffer warnings. (#2584) 2024-09-17 12:43:47 -05:00
Rye Mutt 42975dfd88
Merge pull request #2580 from RyeMutt/2kbom
Raise resolution of local baked texture preview from 512 to 2048
2024-09-16 16:46:14 -07:00
Rye Mutt eac0c748a2
Fix noise post effect due to missing uniform (#2581) 2024-09-16 17:59:34 -05:00
Rye Cogtail 85a7020e49 Raise resolution of local baked texture preview from 512 to 2048 2024-09-16 15:12:15 -04:00
Rye Mutt b713f56d07
Replace glh_linear usage with GLM (#2554) 2024-09-12 11:22:10 -05:00
Alexander Gavriliuk ce23e4a0c3 #2460 Max-Non-Impostors uses a bad shape (code formatting) 2024-09-10 23:11:33 +02:00
Ansariel 761a4fa429 Clean up llviewermenu 2024-09-10 13:54:38 +02:00
Rye Cogtail dfae0d9d78 Fix visualizing luminance buffer and small cleanup 2024-09-03 18:20:36 -04:00
Rye Mutt 5b832291a8
Introduce Khronos Neutral tonemapper as new default along with debug options to control tonemap mix (#2464) (#2468) 2024-08-30 14:49:05 -05:00
Rye Mutt 958afaa7a7 Integrate SMAA and rework post process chain for better visual quality
Add SMAA buffer generation passes
Add quality levels for both FXAA and SMAA
Separate gamma correction and tonemapping for effects that require linear-but-tonemapped inputs
Move application of noise to final render pass to screen to avoid damaging other post process effects
2024-08-29 17:24:50 -04:00
Rye Mutt 8759edd575 Fix SSR clamping hdr brightness ranges 2024-08-29 16:32:15 -04:00
Andrey Kleshchev e2809755c5 Make LLPipeline::renderDebug() a bit cheaper
Each frame renderDebug() was pointlesly going over a large list of
partitions and bridges.
2024-08-29 21:34:43 +03:00
Rye Mutt ca115671d6 Replaced refreshCachedSetting for sharpening with cached control 2024-08-26 15:42:57 -04:00
Rye Mutt cbca178256 Add Contrast Adaptive Sharpening post process effect(#2399) 2024-08-24 00:55:32 -04:00
Rye Mutt 45b2d69446
Add dedicated sun probe shader and remove SSAO and shadow smoothing from probe generation passes (#2405)
* Add dedicated sun probe shader and remove SSAO and shadow smoothing from probe generation passes (#2398)

* Fix usage of removed sunLightNoFragCoordV in shader manager
2024-08-23 13:50:20 -05: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
Andrey Lihatskiy 54fd466b3b
Update indra/newview/pipeline.cpp
Fix build error
2024-08-19 09:54:07 +03:00
Rye Mutt 94aec3d1e6 Avoid scaling probe shadow maps by RenderShadowResolutionScale 2024-08-17 20:57:19 -04:00
Rye Mutt 0d9ddae0c6 Reduce number of full screen render targets 2024-08-17 19:14:40 -04:00
Rye Mutt d79ff40ee2 Fix hero probes not releasing resources when disabled 2024-08-17 18:23:58 -04:00
Ansariel Hiller 714c6983f4
Add missing va_end (#2301) 2024-08-15 05:49:23 +03:00
Alexander Gavriliuk 17f7b439d6 #1922 Make PBR scale and offset crosshair work like Texture crosshair do 2024-08-08 13:40:23 +02:00
Alexander Gavriliuk 5d25504f83 #2100 BugSplat Crash #1497210: LLVOAvatar::updateImpostors()(10616) 2024-07-29 19:50:28 +02:00
Rye Mutt 2fa69bc13e
Fix matrix stack underflow during avatar preview generation (#2098) 2024-07-25 11:32:35 +03:00
Rye Mutt 7ebbc58ae3
Cache various frequently accessed settings (#2080) 2024-07-22 15:29:35 +03:00
Alexander Gavriliuk b05ab692ba #2039 BugSplat Crash #1494687: LLPipeline::calcNearbyLights(LLCamera&) 2024-07-16 18:27:03 +02:00
Rye Mutt e101d1aa28
Fix excessive clearing of shader cache when toggling mirrors (#1950) 2024-07-09 19:51:02 -05:00
Ansariel 9fdca96f8b Re-enable compiler warnings C4244 and C4396 except for lltracerecording.h and llunittype.h for now 2024-07-08 20:27:14 +02: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
Jonathan "Geenz" Goodman b276936ef3
Quick fix for a possible merge bug from featurettes. (#1715) 2024-07-02 11:01:35 -07: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 4e593dcded
Merge pull request #1797 from secondlife/release/maint-a
merge release/maint-a into develop and close maint-a
2024-06-18 11:48:37 -07:00
Andrey Kleshchev 14c89a62c0 viewer#1731 Crash at LLPipeline::markVisible
mDrawable pointer had junk in it
2024-06-12 18:12:35 +03:00
Brad Linden 9775d7ea10 Merge remote-tracking branch 'origin/release/maint-a' into project/gltf_development 2024-06-11 17:42:17 -07:00
Ansariel 0870539264 Fix some apparent previous merge error 2024-06-11 18:22:32 +02:00
Ansariel d9789bfaf2 Merge branch 'main' of https://github.com/secondlife/viewer into DRTVWR-600-maint-A
# Conflicts:
#	indra/llappearance/llavatarappearance.h
#	indra/llimage/llimage.cpp
#	indra/llmath/llvolume.cpp
#	indra/llmath/llvolume.h
#	indra/llprimitive/llgltfmaterial.h
#	indra/llrender/llrendertarget.cpp
#	indra/llrender/llshadermgr.cpp
#	indra/newview/lldynamictexture.cpp
#	indra/newview/llenvironment.cpp
#	indra/newview/llfetchedgltfmaterial.cpp
#	indra/newview/llfloaterimagepreview.cpp
#	indra/newview/llfloaterimagepreview.h
#	indra/newview/llfloaterregioninfo.cpp
#	indra/newview/llfloaterregioninfo.h
#	indra/newview/llmaniprotate.cpp
#	indra/newview/llmaniptranslate.cpp
#	indra/newview/llpanelvolume.cpp
#	indra/newview/llselectmgr.cpp
#	indra/newview/llselectmgr.h
#	indra/newview/llsurface.cpp
#	indra/newview/llsurface.h
#	indra/newview/llsurfacepatch.cpp
#	indra/newview/lltexturectrl.cpp
#	indra/newview/lltexturectrl.h
#	indra/newview/lltinygltfhelper.cpp
#	indra/newview/llviewertexture.cpp
#	indra/newview/llviewerwindow.cpp
#	indra/newview/llviewerwindow.h
#	indra/newview/llvlcomposition.cpp
#	indra/newview/llvlcomposition.h
#	indra/newview/llvocache.cpp
#	indra/newview/llvovolume.cpp
#	indra/newview/pipeline.cpp
2024-06-11 13:38:43 +02: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
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
Andrey Kleshchev 04c4d18f70 viewer#1573 Crash at updateMovedList
According to bugsplat data drawablep is null
2024-05-27 17:09:31 +03: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