Commit Graph

38 Commits (bdc94eac5cda3dd6700a1cd462178b7ac3c4cfec)

Author SHA1 Message Date
Callum Linden 80585d56fd Merge master into DRTVWR-568 (and fix conflicts) 2022-10-24 17:48:16 -07:00
Nat Goodspeed 65612700f3 DRTVWR-558: Eliminate many spurious set-not-used variables.
With Xcode 13.4, these unused variables break Release builds.
2022-08-24 14:00:16 -04:00
Maxim Nikolenko 076a895062 SL-17635 remove unused variables 2022-06-21 17:55:29 +03:00
Dave Houlton 68e09edad0 SL-16386 remove references to (const true) LLGLSLShader::sNoFixedFunction 2021-11-30 17:04:35 -07:00
Ptolemy ad91d0fd92 SL-16127: Make another pass removing redundant LLSD op [] calls, unused vars, and use atmospheric already calculated 2021-10-27 10:05:13 -07:00
Ptolemy 26e8d2d8c7 SL-16127: Const cleanup 2021-10-21 18:50:28 -07:00
Ptolemy a172c9d9cf SL-16127: Replace slow getLightTransmittance with faster version 2021-10-21 16:46:06 -07:00
Ptolemy e466ab255d SL-12574 Cleanup unused final_atten 2020-03-18 23:37:47 -07:00
Ptolemy 03e0549d57 SL-12574 Fix environmentMap being too dark on EEP 2020-03-18 23:37:47 -07:00
Ptolemy bb99e50b26 SL-12574 Add note about duplicated procedurally generated sky texture 2020-03-18 23:37:47 -07:00
Ptolemy 49239e8fe1 SL-12574: Tweak sky cubemap to not be as dark to better match Windlight 2020-03-16 19:44:54 -07:00
Ptolemy c4c8d20174 SL-12574 Tweak sky to better match Windlight 2020-02-25 13:25:15 -08:00
Graham Linden 82d976a110 Remove unref'd var reintroduced in upstream merges. 2019-08-29 07:44:10 -07:00
Graham Linden c5724023dd Work around issue with friend ops not accepting default params on Clang. 2019-08-28 15:27:23 -07:00
andreykproductengine fd4a90858c SL-11776 [EEP] Reduced frequency of sky updates by comparing data fuzzily 2019-08-28 21:51:22 +03:00
Graham Linden 24537889fb SL-11550
Restore mul by light_transmittance in CPU version of atmospherics.
2019-08-27 13:05:04 -07:00
Graham Linden 8960a56f53 SL-11776
Fix false alarming sky updates and doing expensive CPU work for same sky pixels.
2019-08-22 11:19:04 -07:00
Graham Linden 41c7523e08 SL-11676
Make sun/moon textures render on Low/Low-Mid again.

Fix solar additive being present when moon was only heavenly body in sky.
2019-08-12 13:44:59 -07:00
Graham Linden 2b99edc099 SL-11373
More tweaks to CPU-generated sky cubemap color handling.
2019-07-29 14:00:53 -07:00
Graham Linden fd3cf756a0 SL-11654
Make Low graphics not gamma correct the sky colors.
2019-07-29 12:07:51 -07:00
Graham Linden eaf39fc573 Silence Clang warnerror about (now) unused var. 2019-07-29 10:33:02 -07:00
Graham Linden eb9a977a36 SL-11550 2019-07-24 16:07:53 -07:00
Graham Linden 695ec5229f Fix knock-on from touching the sky tex gen which also generated the shiny env map. 2019-07-11 08:33:41 -07:00
Graham Linden d23bf2c16e SL-11541 WIP
Make LLSettingsSky::gammaCorrect work like the soft scale clip and gamma correct from release.

Add transmittance effects to the low-end sky tex gen.
2019-07-10 13:02:09 -07:00
Graham Linden 8ba159fed9 SL-11151, SL-11504
Remove update threshold logic causing hiccups and rework sky updates.

Make deferred water do double transport again to match non-ALM rendering more closely.
2019-06-27 09:10:38 -07:00
Graham Linden 7c770e97be SL-11371
Remove the ugly band of fog color at the horizon in Low/Low+ entirely.
2019-06-20 16:11:31 -07:00
Graham Linden 65927e0a76 SL-10181, SL-10546
Fix distortion map rendering in deferred mode not including underwater fog effects.

Fix distortion map rendering not including post-deferred content at all.

Fix distortion map rendering not including anything but sky when camera is underwater.

Update sun_up_factor/sunmoon_glow_factor uniforms even when sun disc isn't in use.
2019-02-13 13:09:14 -08:00
andreykproductengine 866f9ab17a division by zero protection 2018-10-17 11:38:18 +03:00
Graham Linden 79d33f9d19 Fix names of WATER_BLUR_MULTIPILER.
Give wave direction uniforms more meaningful names in shaders.

Add comments on glow size/focus conversions for clarity.
2018-10-10 18:44:03 +01:00
andreykproductengine 8acb87aaf3 SL-9809 [EEP] Environment becomes dark after setting "Glow Size" to the maximum value 2018-10-04 17:00:07 +03:00
Graham Linden 1f69a685eb MAINT-8988
Make rebuilding sky tex not look up invariant values by converting from LLSD 15 times per pixel.

Set range on density multiplier to be non-zero to clamp light attenuation to sane values.

Fix UI for density multiplier to include 4 decimal places and not show 0.0003 as 0.00
2018-09-07 22:10:14 +01:00
Graham Linden 67ab0084f8 Fix env panel forward action.
Make env panel update environment when jumping frame to frame.

Add separate funcs for sun/moon vectors in various coord systems.

Make haze glow only pay attention to sun (i.e. fix sun glow when moon is near horizon in daytime).
2018-06-12 18:42:07 +01:00
Graham Linden 64302d3000 Modify use of sky settings, reduce complexity, and name funcs to indicate coord systems in use.
Fix class2 softenLightF shader.
2018-06-01 00:18:36 +01:00
Graham Linden graham@lindenlab.com 89d71617f0 Prepare for validation and storage of legacy haze settings (still pass-through for now).
Isolate more use of legacy haze params behind wrapper funcs.
2018-03-08 17:45:43 +00:00
Graham Linden graham@lindenlab.com 087e210825 Add LLVoSky wrapper for current env sky light direction.
Make LLVo classes use LLVoSky wrappers instead of direct access.

Isolate more legacy haze param usage w/in settings.
2018-03-08 16:09:29 +00:00
Graham Linden graham@lindenlab.com 096ea05a93 Rename getFogColor from water and sky settings to getWaterFogColor and getSkyFogColor. 2018-03-08 00:04:03 +00:00
Graham Linden graham@lindenlab.com 6d77503542 Isolate more legacy atmo param use in sky (convert to getLightAttenuation and getLightTransmittance).
Optimize sky texture creation.
2018-03-07 23:49:37 +00:00
Graham Linden graham@lindenlab.com 62a0d579b5 Move legacy atmospherics code outside of llvosky (begin teasing apart). 2018-03-07 18:37:09 +00:00