Commit Graph

214 Commits (db30ffc7cb01c021da693a035cf79cafa893c982)

Author SHA1 Message Date
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
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
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
Dave Parks 47e039ce1f SL-17701 Fix for legacy material parameters/textures overriding GLTF materials in alpha pool. 2022-09-14 12:37:23 -05:00
Dave Parks 2a5219b23f SL-17701 WIP -- Correct color space management for base color and emissive color factors and textures. Support for double sided alpha blended PBR materials. 2022-09-13 18:41:24 -05:00
Dave Parks 402ab8c8f6 SL-17701 WIP -- Cleanup/refactor PBR lighting implementation and get parity between deferred and alpha passes for sunlight and IBL. 2022-09-13 15:25:15 -05:00
Ptolemy 03df954509 SL-17701: PBR: Tweak lighting in alpha blending 2022-09-12 01:22:47 -07:00
Ptolemy 9cb8ed9210 SL-17701 PBR: Cleanup alpha setting EEP shader uniforms 2022-09-09 03:57:39 -07:00
Ptolemy 049fc419d1 SL-17701: PBR: WIP Alpha Blending 2022-09-09 03:28:12 -07:00
Dave Parks 3e1db1f184 SL-17532 Cleanup from hasty commit (thanks to Henri for the prodding). 2022-06-07 10:36:59 -05:00
Dave Parks 616f2b639b SL-17532 Potential fix for some rigged mesh draw order issues. 2022-06-06 19:57:03 -05:00
Dave Parks 6eaf8521ab SL-17287 Instrument and optimize cubemap render. Fix for cubemap snapshots doing a full resolution render instead of a 512x512 render. 2022-05-20 19:05:28 -05:00
Dave Parks b2141e9446 Merge remote-tracking branch 'remotes/origin/DRTVWR-546' into DRTVWR-559 2022-05-16 12:26:17 -05:00
Dave Parks 3400e5fd30 SL-17284 Reflection probe tuning and optimization take 1 2022-05-16 17:21:08 +00:00
Dave Parks 1a6eee4ea2 SL-17321 Fix for some particle systems with custom blend functions not rendering. 2022-05-02 11:52:45 -05:00
Dave Parks e33f23f58a SL-17194 Impostor quality pass 2 (and fix for fully transparent rigged attachments rendering to depth buffer) 2022-04-11 20:06:33 -05:00
Dave Parks 1d057dbba2 SL-17173 Impostor quality pass. 2022-04-11 15:51:51 -05:00
Andrey Kleshchev e20aafa2fe SL-16907 Crash at updateSkinInfoMatrixPalette #2 2022-04-07 14:17:30 +03:00
Dave Parks 41cf9fcb05 SL-17028 Fix for inconsistent ordering of transparent rigged meshes and removal of glow-only rigged meshes from depth buffer. 2022-03-24 14:48:06 -05:00
Dave Parks 658a30bd2e SL-16907 Potential fix for crash in updateSkinInfoMatrixPalette 2022-02-24 13:04:40 -06:00
Dave Parks 0b850360f5 SL-16714 and SL-16750 Break rigged alpha into its own pass (restore release like behavior) and fix rigged alpha emissive not rendering. 2022-02-01 22:28:02 +00:00