Commit Graph

47942 Commits (3c34ad044cb5cef858d9b0d1708417d4f3dba086)

Author SHA1 Message Date
Cosmic Linden 3c34ad044c SL-19808: Move tangent_space_transform calculation to the very end 2023-06-07 15:05:07 -07:00
Cosmic Linden bfdfa8dd93 SL-19808: Fix orientation of PBR normal texture when texture transform and/or texture animation is applied 2023-06-06 16:40:52 -07:00
RunitaiLinden 8359c618fc DRTVWR-559 Add missed "should override" check (thanks, Rye!) 2023-06-02 11:54:47 -05:00
RunitaiLinden b0540f8189 DRTVWR-559 Rebalance PBR against Blinn-Phong. 2023-06-01 20:15:35 -05:00
RunitaiLinden 50ec54831d
DRTVWR-559 Revert skies to be very close to release and disable tone mapping when probe ambiance is zero.
Hack for desaturating legacy materials has been removed for performance and quality reasons.

Adds a new setting for auto adjusting legacy skies.  This is the PBR "opt out" button.  If disabled, legacy skies will disable tonemapping, automatic probe ambiance, and HDR/exposure.  If enabled, legacy skies will behave as if probe ambiance and HDR scale are 1.0, and ambient will be cut in half.  

HDR scale will act as a sky brightener, but will automatically adjust dynamic exposure so the sky will be properly exposed.  If you want relatively even exposure all the time, set HDR Scale to 1.0.  If you want a high range of exposures between indoor/dark areas and outdoor/bright areas, increase HDR Scale.

Also tuned up SSAO (thanks Rye!).

Reviewed with Brad.
2023-06-01 19:49:23 -05:00
Brad Linden 8d20d61b4d Fix divide by zero causing NaN with certain day cycles in DRTVWR-559 2023-05-31 10:33:03 -07:00
Andrey Kleshchev 2e2a821e36 SL-19753 PBR Re-add Build option Rev#3 2023-05-26 20:07:50 +03:00
RunitaiLinden a70575091b Merge branch 'DRTVWR-559' of github.com:secondlife/viewer into DRTVWR-559 2023-05-25 16:16:36 -05:00
RunitaiLinden 30311e5229 SL-19713 Fix for broken avatar preview render in animation upload. Incidental decruft and camera FoV network spam reduction. 2023-05-25 16:16:20 -05: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 c12712aa96 DRTVWR-559 Fix for off-color fullbright alpha blinn-phong materials. Scrub some NaNs. 2023-05-25 13:09:03 -05:00
RunitaiLinden 64a59928d0 SL-19405 Better fix for rotation gyzmo having a huge dead zone. 2023-05-25 10:39:01 -05:00
Andrey Kleshchev 963ca3a0d5 SL-19757 Restore word "Materials" to editor's menu #2 2023-05-24 23:19:33 +03:00
Andrey Kleshchev 30a3f8b64a SL-19767 Fix sit&stand being disabled by default 2023-05-24 20:34:14 +03:00
RunitaiLinden 96eb5f08b1 SL-19755 Small tweak to make exposure not start at black. 2023-05-24 10:58:39 -05:00
Brad Linden df35005a9b Minor build fix for DRTVWR-559 2023-05-23 17:36:56 -07:00
RunitaiLinden 46e04fe273 DRTVWR-559 Remove RenderReflectionProbeCount (which is bugged) and lean on RenderReflectionProbeLevel for preferences (which works). 2023-05-23 16:11:43 -05:00
RunitaiLinden 27e4b02b58 Merge branch 'DRTVWR-559' of github.com:secondlife/viewer into DRTVWR-559 2023-05-23 14:48:07 -05:00
RunitaiLinden 095c624d01 SL-19745 Fix for resetting reflection probes when reapplying the same sky setting. 2023-05-23 14:47:48 -05:00
Andrey Kleshchev 204cc30e63 SL-19754 Expose the new exposure setting in basic Preferences 2023-05-23 21:43:32 +03:00
Andrey Kleshchev a9746a36a6 SL-19757 Restore word "Materials" to editor's menu 2023-05-23 20:47:12 +03:00
Andrey Kleshchev fa2c2a516c SL-19753 PBR Some changes to the right-click menu 2023-05-23 20:44:43 +03:00
RunitaiLinden 0c7205e5f1 SL-19560 Better fix for blurry BoM textures. 2023-05-23 10:55:50 -05:00
RunitaiLinden 13b746401e SL-19760 Remove hacky HSL bump for ambient sky color (broken on edge cases, not helpful). 2023-05-23 08:30:53 -05:00
RunitaiLinden 733c5af192 Merge branch 'DRTVWR-559' of github.com:secondlife/viewer into DRTVWR-559 2023-05-22 16:31:33 -05:00
RunitaiLinden 8251e1200d SL-19746 Fix for transparent HUDs showing the wrong texture. 2023-05-22 16:31:09 -05:00
Jonathan "Geenz" Goodman e0cbfba917
Merge pull request #223 from secondlife/DRTVWR-583-glossy-ssr
Drtvwr 583 glossy ssr
2023-05-22 11:52:10 -07:00
Jonathan "Geenz" Goodman 555f08921c Address feedback.
DRTVWR-583
DRTVWR-559
2023-05-22 11:46:35 -07:00
Jonathan "Geenz" Goodman b273edd125 Merge branch 'DRTVWR-559' into DRTVWR-583 2023-05-22 10:42:18 -07:00
Jonathan "Geenz" Goodman da72081582 Just a couple of tweaks to settings.
DRTVWR-583
2023-05-22 10:42:06 -07:00
RunitaiLinden c6fc951f34 SL-19737 Fix for alpha objects falling off of impostors. 2023-05-22 10:57:35 -05:00
RunitaiLinden a16cd7f91c SL-19405 Fix for rotation gizmo not freely rotating 2023-05-22 09:38:32 -05:00
RunitaiLinden 39820e4750 DRTVWR-559 Fix for shower curtain not opening smoothly. Incidental decruft. 2023-05-18 18:41:53 -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 446d0cbf7f SL-19655 Clean up some missed "texture2D" vs "texture" (thanks Rye) 2023-05-17 18:28:01 -05:00
RunitaiLinden c827d32ebe SL-19655 Decruft legacy GLSL shaders and now unused build queues. 2023-05-17 18:09:36 -05:00
RunitaiLinden a2e418f250 Merge branch 'DRTVWR-559' of github.com:secondlife/viewer into DRTVWR-559 2023-05-17 13:41:05 -05:00
RunitaiLinden 6f5f16e031 SL-19655 Remove concept of "low priority" updates (RenderDebugGLSession assertion stomping pass). Remove a couple unused debug settings and related code. 2023-05-17 13:40:33 -05:00
Brad Linden 2f44377b3e Merge remote-tracking branch 'origin/main' into DRTVWR-559 2023-05-17 11:17:48 -07:00
Rye Mutt 4758355c59
Fix crash during avatar profile callback (#218) 2023-05-17 09:05:36 -05:00
Nat Goodspeed 5a70639b79 Increment viewer version to 6.6.13
following promotion of DRTVWR-577
2023-05-17 09:54:46 -04:00
RunitaiLinden ee0b330b2d DRTVWR-559 Decruft deprecated OpenGL flags. 2023-05-16 20:31:29 -05:00
RunitaiLinden a256a18884 SL-19674 Disable "Blinn-Phong" when a PBR material is applied to make it clear that those buttons are inoperable until you remove the PBR material. 2023-05-15 13:49:20 -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
RunitaiLinden e3f9244375 SL-19710 Fix for deadlock in LLPerfStats. Move General thread initialization to earlier in session (unrelated). 2023-05-12 18:09:35 -05:00
Jonathan "Geenz" Goodman ad4118f6ce Merge branch 'DRTVWR-559' into DRTVWR-583 2023-05-11 21:21:01 -07:00
Jonathan "Geenz" Goodman 339e02ef33 Finally get glossy SSR up.
DRTVWR-583
2023-05-11 21:19:58 -07:00
Brad Linden 06bdee6634 Xcode build fixes for DRTVWR-559 2023-05-11 12:18:45 -07:00
cosmic-linden 3914c4ce16
Merge pull request #212 from secondlife/SL-19236
SL-19236: Fix HUDs not rendering when transparent water graphics setting is off
2023-05-11 11:39:04 -07:00