RunitaiLinden
c1bde75768
HDRI Local Preview ( #953 )
...
* #926 WIP - HDRI import prototype v0
* #926 WIP -- add OpenEXR to autobuild.xml
* #926 WIP -- Add OpenEXR cmake
* #926 WIP -- Attempt at using OpenEXR autobuild package and don't hard code .exr file to load
* #926 Unmangle autobuild.xml and get dll's in the right place (thanks, Caladbolg!)
* implement mac shared libs plumbing for OpenEXR for secondlife/viewer#926
* Fix Xcode/clang compile error regarding new[]/delete[] mismatch
* #926 HDRI Preview finishing touches.
- Full ACES when HDRI is enabled
- Fix for probes getting stuck paused
- Add exposure and rotation controls
---------
Co-authored-by: Brad Linden <brad@lindenlab.com>
2024-03-08 12:01:20 -06:00
RunitaiLinden
0e91d18da3
#677 Add mirror clipping to rigged shaders
2024-02-05 15:36:42 -06:00
Andrey Kleshchev
577706eddc
SL-20629 Fix first opened legacy env displaying probe ambience as '1'
2024-01-12 20:08:17 +02:00
RunitaiLinden
575dc8f410
SL-20754 Modify default midday to be a better approximation of Cloud Layers HDRI (addresses blue sheen).
2023-12-19 15:36:34 -06:00
RunitaiLinden
bc4e90ea5e
SL-20124 Wipe reflection probes when applying parcel EEP settings and pause updates on probes until transition completes.
2023-10-02 14:19:04 -05:00
Cosmic Linden
e3565ff4dd
SL-20036: Set probe ambiance to 0 for legacy midday
2023-07-19 11:23:31 -07: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
RunitaiLinden
095c624d01
SL-19745 Fix for resetting reflection probes when reapplying the same sky setting.
2023-05-23 14:47:48 -05:00
RunitaiLinden
bd7a924a94
DRTVWR-559 Balance midday to not be a touch green.
2023-04-12 18:01:39 -05:00
RunitaiLinden
63c5711914
SL-19569 Don't reset probes when crossing parcel borders (whoops) and tone down glare on legacy materials.
2023-04-12 13:44:41 -05:00
Dave Parks
84fb05efeb
SL-19569 Reset probes when reverting sky settings to shared environment.
2023-04-12 11:52:20 -05:00
Dave Parks
c53aabe33f
DRTVWR-559 Update default midday to closely resemble a public domain HDRI ( https://polyhaven.com/a/cloud_layers )
2023-04-12 11:33:29 -05:00
Dave Parks
086da3d6f8
DRTVWR-559 Make cloud pattern deterministic when cloud scroll is zero.
2023-04-12 09:55:00 -05:00
RunitaiLinden
2b2154f021
SL-19564 Rebalance exposure and sky. Hack legacy diffuse map saturation and brightness to allow ACES Hill all the time.
2023-04-11 15:09:58 -05:00
Dave Parks
413ce656c8
SL-19538 Clear probes on sky setting slam. Better probe update prioritization. Incidental decruft.
2023-04-07 14:10:53 -05:00
Dave Parks
72a0408401
SL-19538 Back off on sun brightening a bit, remove errant brightening of clouds, and update midday to not be red shifted.
2023-04-06 22:55:51 -05:00
RunitaiLinden
1f79379bf2
SL-19538 Followup -- tune exposure parameters and clamp local light ambiance. Make render targets 16F and scrube NaNs (thanks Rye). Update midday. ( #154 )
2023-04-05 11:55:51 -05:00
cosmic-linden
dd9d9f769d
Merge pull request #139 from secondlife/SL-19394
...
SL-19394: Update default midday per feedback
2023-03-23 15:12:43 -07:00
Cosmic Linden
2f97c6e142
SL-19394: Update default midday per feedback
2023-03-23 14:09:28 -07:00
cosmic-linden
e14fb62e5b
Merge pull request #134 from secondlife/SL-19394
...
SL-19394: Change default midday to an asset ID with probe ambiance
2023-03-22 13:02:57 -07:00
Cosmic Linden
8d4430ffec
SL-19394: Change default midday to an asset ID with probe ambiance
2023-03-22 12:57:38 -07:00
Dave Parks
8c7c4c424d
DRTVWR-559 Quality pass -- Fix sky banding, fix off-by-one-mip in reflection probes (thanks Rye), remove noiseMap from light shaders (removes speckles), make irradiance maps RGB16F instead of RGBA16. Use actual luminance for sky instead of max color component during irradiance map pass.
2023-03-22 10:38:24 -05:00
Brad Linden
5fabfa50d7
Merge remote-tracking branch 'origin/main' into DRTVWR-559
2023-02-02 12:11:40 -08:00
Dave Parks
10b8dcc497
SL-19015 Bump probe resolution back to 256 by default (drop to 128 if vram < 2GB), remove irradiance map feedback loop (one bounce, but but more stable and allows for much brighter first bounce), make sky contribution to irradiance not tint the world blue. Make irradiance that appears in radiance maps match world irradiance.
2023-01-30 18:56:19 -06:00
Andrey Lihatskiy
f836194516
Merge branch 'main' into DRTVWR-570-maint-Q
...
# Conflicts:
# doc/contributions.txt
# indra/newview/app_settings/shaders/class1/deferred/materialF.glsl
# indra/newview/llfloater360capture.cpp
2022-12-12 20:53:11 +02:00
Andrey Kleshchev
7ceb266604
SL-18565 Built-in bump maps and some environment textures fail to load
...
Due to udp texture fetching no longer being present
2022-12-03 00:24:04 +02:00
Andrey Kleshchev
6de5986333
SL-18718 Crash at LLEventPump::listen and connection issues
...
Cleaner reinit and termination.
2022-11-28 17:25:43 +02:00
Andrey Lihatskiy
39e08b34b1
Merge remote-tracking branch 'RyeMutt/viewer/llsd-usage-fixes' into DRTVWR-570-maint-Q
2022-11-01 23:11:57 +02:00
Rye Mutt
d0e07c770b
Fix checks for empty LLSD maps to use size and not emptyMap which is for creating an empty LLSDMap type.
2022-10-30 06:56:16 -04:00
Andrey Lihatskiy
91f9f2e9f7
DRTVWR-570 Mac build fix: unused variables cleanup
2022-10-27 23:08:09 +03: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
Dave Parks
b6e576c7c2
SL-18190 Cleanup -- convert some vec4's to vec3's (as they really are), remove some unused glsl files.
2022-10-11 20:20:39 -05:00
Dave Parks
aaf7b17db0
SL-18190 WIP -- Take 2 on linear space windlight (more methodical approach -- make desired interface but brute force color conversions). Placeholder PBR water and move to deprecate forward rendering shaders.
2022-09-27 23:32:02 -05:00
Rider Linden
73dc249ab6
SL-17663: Pass the water settings to the settings injector when an experience changes water settings.
2022-06-24 16:33:54 -07:00
Mnikolenko Productengine
d248961c30
SL-17182 FIXED Viewer crashes after changing the environment settings
2022-04-11 17:51:10 +03:00
Andrey Kleshchev
50d9e332ac
SL-15225 llSetAgentEnvironment cloud density transition doesn't work
2022-01-19 00:26:59 +02:00
Ptolemy
97552d2e75
SL-16606: Add profiler category SHADER
2022-01-14 11:50:20 -08:00
Ptolemy
2178d9fa57
SL-16606: Add profiler category ENVIRONMENT
2022-01-14 11:50:19 -08:00
Nat Goodspeed
106d52c6ee
SL-16202: Instantiate LLSimpleton::sInstance generically
...
instead of requiring a separate declaration for each subclass.
The previous way produces errors in clang.
(cherry picked from commit 8458ad8890 )
2021-11-19 14:53:12 -05:00
Dave Houlton
353329c2c2
DRTVWR-546 merge in master v6.5.1
2021-11-16 11:44:55 -07:00
Dave Houlton
029b41c041
Revert "SL-16220: Merge branch 'origin/DRTVWR-546' into glthread"
...
This reverts commit 5188a26a85 , reversing
changes made to 819088563e .
2021-11-15 09:25:35 -07:00
Nat Goodspeed
8458ad8890
SL-16202: Instantiate LLSimpleton::sInstance generically
...
instead of requiring a separate declaration for each subclass.
The previous way produces errors in clang.
2021-11-04 16:40:05 -04:00
Dave Parks
8d20480c5f
SL-16148 SL-16244 SL-16270 SL-16253 Remove most BlockTimers, remove LLMemTracked, introduce alignas, hook most/all reamining allocs, disable synchronous occlusion, and convert frequently accessed LLSingletons to LLSimpleton
2021-10-28 18:06:21 +00:00
Dave Parks
d2dce17803
SL-16197 Optimize LLEnvironment handling of shader uniforms. Instrument LLSD. Enable Fast Timers when Tracy is enabled to catch Fast Timer overhead.
2021-10-19 02:26:41 +00:00
Andrey Lihatskiy
2ded530f93
Merge branch 'master' into DRTVWR-522-maint
...
# Conflicts:
# doc/contributions.txt
# indra/newview/llappcorehttp.cpp
# indra/newview/llappcorehttp.h
2021-07-19 22:20:45 +03:00
Andrey Lihatskiy
7f19c512c9
Merge branch 'master' into DRTVWR-522-maint
...
# Conflicts:
# indra/newview/app_settings/settings.xml
2021-06-25 00:54:35 +03:00
Andrey Lihatskiy
a4c6c7059f
Merge branch 'master' into DRTVWR-516-maint
...
# Conflicts:
# indra/newview/app_settings/settings.xml
# indra/newview/llvoicevivox.cpp
2021-06-25 00:51:02 +03:00
Andrey Kleshchev
cfb6ca569b
SL-15168 Viewer side functionality for guidebook window opening
2021-05-06 02:46:42 +03:00
Andrey Kleshchev
766ba20028
SL-15152 Crashfix: Do not update environments when quiting
2021-04-21 18:28:32 +03:00