summaryrefslogtreecommitdiff
path: root/indra/newview/llsettingsvo.cpp
AgeCommit message (Collapse)Author
2023-03-07SL-19355 Irradiance rebalance.Dave Parks
2023-03-02SL-19281 Unify handling of haze and gamma between fullbright and not and ↵Dave Parks
move haze back to sRGB color space to stay consistent with sky colors. Also fix broken "roughness" stuck at 0.2.
2023-02-07SL-18780 Turn down contribution of cloud shadow to reflection probe ambiance ↵Dave Parks
and make the value a debug setting.
2023-02-07SL-19147 Water quality pass. Remove gl_FragDepth writes from sky rendering ↵Dave Parks
(optimization). Incidental decruft.
2023-02-03Merge branch 'xcode-14.1' into andreyk/SL-19134Andrey Kleshchev
# Conflicts: # indra/llcommon/llsdserialize.cpp # indra/llcommon/llsdserialize.h
2023-01-31SL-19015 Balance sun/sky ambiance with punctual light ambiance. Prevent ↵Dave Parks
irradiance maps from being brighter than the environment.
2023-01-30SL-19015 Bump probe resolution back to 256 by default (drop to 128 if vram < ↵Dave Parks
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-03DRTVWR-575: Replace some LLSDArray() usage with llsd::array().Nat Goodspeed
It seems newer compilers have a different interpretation of exactly when to engage LLSDArray's copy constructor. In particular, this assignment: some_LLSD_map[key] = LLSDArray(...)(...)...; used to convert the LLSDArray object directly to LLSD; now it first calls the custom copy constructor, which embeds the intended array within an outer array before assigning it into the containing map. The newer llsd::array() function avoids that problem because what it returns is already an LLSD object. Taking inventory of LLSDArray assignments of that form turned up a number of workarounds like LLSD(LLSDArray(...)). Replacing those with llsd::array() is both simpler and more readable. Tip of the hat to Chorazinallen for surfacing this issue!
2022-12-16SL-18780 Feedback cloud coverage into reflection probe ambiance to recover ↵Dave Parks
legacy behavior of cloud coverage brightening ambient lighting without destroying the ability to have good probe driven ambiance.
2022-12-07SL-18777 PBR upload was stuck waiting for textureakleshchev
Handle obscure upload failure case - floater was waiting for a texture upload indefinetely. Unblock floater if upload fails.
2022-10-12SL-18190 Fix for assert on 360 snapshot and ? fix for mac build ?Dave Parks
2022-10-12SL-18190 Remove water reflection detail combo box and reimplement ↵Dave Parks
"Transparent Water" checkbox.
2022-10-11SL-18190 Cleanup -- convert some vec4's to vec3's (as they really are), ↵Dave Parks
remove some unused glsl files.
2022-10-10SL-18190 Fix alpha not playing nice with water surface by split ↵Dave Parks
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-09-29SL-18190 Fix for haze color being completely wrong (now it's just half wrong).Dave Parks
2022-09-28SL-18190 Prune srgb_to_linear from atmosphericsFuncs.glslDave Parks
2022-09-27SL-18190 WIP -- Take 2 on linear space windlight (more methodical approach ↵Dave Parks
-- make desired interface but brute force color conversions). Placeholder PBR water and move to deprecate forward rendering shaders.
2022-09-26SL-18190 WIP - Windlight to linear space proof of concept, better parity ↵Dave Parks
between release viewer and materials viewer when reflections disabled. Avoid run-away probe ambiance.
2022-09-22SL-17705 Backwards compatibility pass. Support OpenGL pre-4.0 by disabling ↵Dave Parks
reflection probes and anti-aliasing. Get render parity with current release viewer when reflection probes are disabled.
2022-09-15SL-18125 Material asset creation pulls wrong set of permissionsAndrey Kleshchev
2022-07-28Creating an LLVector4 from LLColor3 causes an array out of bounds read on ↵ZiRee
reading .mV[3]. Doing a detour via LLVector3 fixes this but maybe there is a less roundabout way.
2022-06-29Merge branch 'master' (DRTVWR-543) into DRTVWR-559Andrey Kleshchev
# Conflicts: # autobuild.xml # indra/llrender/llgl.cpp # indra/newview/CMakeLists.txt # indra/newview/llvovolume.cpp
2022-06-10SL-17523 Add reflection probe ambiance to windlight settings and integrate ↵Dave Parks
with UI and ReflectionMapManager
2022-05-27Merge branch 'master' into DRTVWR-543-maintAndrey Lihatskiy
# Conflicts: # autobuild.xml # indra/cmake/LLCommon.cmake # indra/llcommon/CMakeLists.txt # indra/llrender/llgl.cpp # indra/newview/llappviewer.cpp # indra/newview/llface.cpp # indra/newview/llflexibleobject.cpp # indra/newview/llvovolume.cpp
2022-01-14SL-16606: Add profiler category SHADERPtolemy
2022-01-14SL-16606: Add profiler category ENVIRONMENTPtolemy
2022-01-14SL-16606: Add profiler category DRAWPOOLPtolemy
2021-12-26Merge branch 'master' into DRTVWR-543-maintAndrey Lihatskiy
2021-12-15DRTVWR-546 merge up to 6.5.2Dave Houlton
2021-10-29Fix merge conflictPtolemy
2021-10-19SL-16197 Optimize LLEnvironment handling of shader uniforms. Instrument ↵Dave Parks
LLSD. Enable Fast Timers when Tracy is enabled to catch Fast Timer overhead.
2021-09-20SL-11793 Fallback for 'Day' preset importingAndrey Kleshchev
2021-03-09This set of changes reverts the merge with master (git revert c83e740) and ↵Callum Prentice
results in a version of the DRTVWR-519 that matches what was presemt before it was deployed as a release viewer *plus* 3 small fixes from Maxim (See commits). This branch can now be used for additional fixes before eventually being used to release D-519 as normal
2021-03-08Revert "Merge branch 'master' of https://bitbucket.org/lindenlab/viewer into ↵Brad Payne (Vir Linden)
DRTVWR-519" This reverts commit e61f485a04dc8c8ac6bcf6a24848359092884d14, reversing changes made to 00c47d079f7e958e473ed4083a7f7691fa02dcd5.
2020-09-28Merge with tip of ReleaseCallum Prentice
2020-09-24Complete the change from lldiskcache -> llfilesystem and then addition of ↵Callum Prentice
new lldiskcache implementation
2020-09-16Renamed the references to LLVFile and llvfile.* source code plus cmake ↵Callum Prentice
scripts to use a different name - lldiskcache - since that more closely resembles what it is (or will be) now that the VFA is no more
2020-09-16First part of change to remove LLVFS from the Viewer. Consists of code ↵Callum Prentice
changes to remove LLVFS and LLVFSThread classes along with the associated source files. The existing llvfs folder is renamed to llcache. Also includes changes to CMake script in many places to reflect changes. Eventually, llvfile source file and class will be renamed but that is not in this change.
2020-08-18Merge branch 'master' 6.4.8 into DRTVWR-497Dave Houlton
2020-07-22LLExtStat had been a S32, this wasn't right, as some of the constants lead ↵Nicky Dasmijn
to integer overflow: const LLExtStat LL_EXSTAT_RES_RESULT = 2L<<30; const LLExtStat LL_EXSTAT_VFS_RESULT = 3L<<30; This shifts into the sign bit and clang gets (rightfully) upset about this. LLExtStatus needs to be at least of type U32 to remedy this problem, but while at it it makes sense to turn it into what it is: An enum. Turning it into a class enum has the added benefit we get type safety for mostly free. Which incidentally turned up a problem right away: A call to removeAndCallbackPendingDownloads had status and extstatus reversed and thus was wrong.
2020-06-13SL-13084 Combined commit for the EEP specular color fixDave Houlton
SL-13084: Fix clouds flipped along East/West axis to match texture preview Cloud Image and direction to match Cloud Scroll SL-13804: Fix clouds flipped along East/West axis to match texture preview Cloud Image and direction to match Cloud Scroll SL-13084: Fix inverted cloud scroll with ALM is off SL-13084: Move texture coords section to top in class2/windlight/cloudsV to match class1/deffered/cloudsV SL-13084: Add references to other common files
2020-03-27SL-12911 Add Debug setting EnvironmentPersistAcrossLoginAndrey Kleshchev
2019-12-20SL-11606 final tweak of non-ALM lights strengthDave Houlton
2019-12-19SL-11606 fix to match EEP light falloff vs releaseDave Houlton
2019-08-27SL-11055Graham Linden
Remedy cloud_shadow and hack halving being done twice to ambient in some cases (i.e. artificial dimunition of necessary bullshit factor).
2019-08-26SL-11705, SL-11706: New flags in llsettings base for tracking by simulator.Rider Linden
2019-07-23SL-11621Graham Linden
Remove all references to unused shader var global_gamma. Remove many unused decls for gamma from shaders. Make post-deferred gamma correction use display_gamma. Make setting display_gamma use the correct RenderDeferredDisplayGamma setting.
2019-06-06SL-11367Graham Linden
Use rotated lightnorm directly in water shader instead of forcing all shaders marked as water (including lighting) to get that norm (where it would only affect Mid as only that graphics mode has atmospherics on but isn't using deferred rendering).
2019-05-29MergeGraham Linden
2019-05-29SL-11247Graham Linden
Fix underwater water fog density modifier being used when not underwater.