Commit Graph

232 Commits (5fca8915d8f44cdb2a4f7bb4715d61ba47043e5d)

Author SHA1 Message Date
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
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 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 20c578b7ae SL-18808 Fix for highlight transparent texture missing. 2022-12-13 11:40:14 -06:00
Dave Parks 3c20f0b1d4 SL-18692 Fix for fullbright alpha not clipping against water plane (also fixes ultraspace particles). 2022-12-05 11:48:50 -06:00
Dave Parks 8aa65f6797 SL-18697 Fix for particle textures not loading. 2022-11-22 16:01:18 -06:00
Dave Parks b1dabc0f00 SL-18669 Fix for broken lighting on transparent faces. Optimize handling of "bindDeferredShader" and shadow map setup. 2022-11-18 11:45:04 -06:00
Dave Parks e2d1af5c4f SL-18154 Profile guided optimizations -- remove some unneeded operations and make LLDrawPoolMaterials less branchy. 2022-11-17 13:35:39 -06:00
Dave Parks 8d2ac419b2 SL-18154 Profile guided optimizations vs release viewer. Trim some unused abilities and remove some more fast timers. 2022-11-16 14:49:17 -06:00
Andrey Kleshchev 24fb2f8336 Merge branch 'master' (DRTVWR-548) into DRTVWR-559
# Conflicts:
#	indra/llrender/llgl.cpp
#	indra/llrender/llrendertarget.cpp
#	indra/newview/VIEWER_VERSION.txt
#	indra/newview/app_settings/shaders/class1/deferred/materialF.glsl
#	indra/newview/llfloaterpreference.cpp
#	indra/newview/llviewercontrol.cpp
#	indra/newview/llviewermenu.cpp
#	indra/newview/llviewertexturelist.cpp
#	indra/newview/llvovolume.cpp
2022-10-21 18:19:27 +03:00
Mnikolenko Productengine 717b34f53f Merge branch 'master' into DRTVWR-539
# Conflicts:
#	indra/newview/llfloaterpreference.cpp
#	indra/newview/llviewercontrol.cpp
2022-10-21 14:42:53 +03:00
Dave Parks de4c018499 SL-18105 Hook up render pipe directly to LLTextureEntry::mGLTFMaterial and add LLViewerFetchedTextures to LLFetchedGLTFMaterial. Lower reflection probe resolution to 128x128 per side. 2022-10-19 14:41:17 -05:00
Dave Parks 42ec639c86 SL-18190 Remove water reflection detail combo box and reimplement "Transparent Water" checkbox. 2022-10-12 14:46:51 -05:00
Dave Parks 07bca31e06 SL-18190 Fix alpha not playing nice with water surface by split LLDrawPoolAlpha into two passes, one above water, one below water, and clip against water plane. Currently brute forces two complete alpha passes, still need to cull against water plane and add support for fullbright shaders. 2022-10-10 18:53:43 -05:00
Dave Parks 18309bc7fb SL-18190 Fix for DoF 2022-10-07 15:25:48 -05:00
Dave Parks 9448db5d4a SL-18190 Water shader WIP. Better parallax correction for sphere probes. Reduce probe memory footprint. Remove framebuffer copies and move to deprecate stencil buffer usage. 2022-10-06 18:40:01 -05:00
Dave Parks 44f2286e42 SL-18190 Use bindDeferredShader in alpha pool. Don't redundantly apply ao to irradiance. 2022-09-26 18:08:42 -05:00
Dave Parks 725d042640 SL-18190 WIP - Windlight to linear space proof of concept, better parity between release viewer and materials viewer when reflections disabled. Avoid run-away probe ambiance. 2022-09-26 17:17:34 -05:00
Mnikolenko Productengine b66f2e7da7 SL-18202 WIP merging autotune contribution and updating UI 2022-09-21 21:19:17 +03:00