Commit Graph

174 Commits (962be69e7170a9f7e8a99b9da4eae22ea6cdb038)

Author SHA1 Message Date
Ansariel 0242215384 Merge branch 'master' of https://vcs.firestormviewer.org/phoenix-firestorm 2020-07-13 20:17:27 +02:00
Ansariel cfbc473327 Merge branch 'DRTVWR-497' of https://bitbucket.org/lindenlab/viewer 2020-07-08 17:00:49 +02:00
Beq 3068ea5781 FIRE-29682 [EEP] Allow full density multiplier range 2020-07-04 19:39:17 +01:00
Ptolemy 9f0225abaa SL-12978 Add note about similar code in C++ and GLSL 2020-07-01 13:42:23 -07:00
Kitty Barnett fb670069b0 Merge branch 'rlva/development' (v2.2.3 + v2.3.0 - both WIP) 2020-06-12 12:51:11 +02:00
Kitty Barnett fbd23878fc Rewrite all @setenv related commands against the new atmospherics/environment class 2020-04-19 14:12:00 +01:00
Ansariel 0eac6816dd Merge branch 'DRTVWR-440' of https://bitbucket.org/lindenlab/viewer 2020-02-26 20:45:28 +01:00
Andrey Kleshchev d16a79fc4c SL-12741 Moon was using fixed color 2020-02-24 21:22:21 +02:00
Ansariel 2fb5e6e6b1 Merge viewer-eep 2020-01-08 00:24:24 +01:00
Dave Houlton b3e11083cc SL-11606 fix to match EEP light falloff vs release 2019-12-19 18:04:32 -07:00
Ansariel c76bb4637b Merge viewer-eep 2019-09-11 00:39:23 +02:00
Graham Linden ad26896a10 SL-11055
Remedy cloud_shadow and hack halving being done twice to ambient in some cases (i.e. artificial dimunition of necessary bullshit factor).
2019-08-27 12:49:18 -07:00
Ansariel 1e5830f55f Merge viewer-eep 2019-08-26 21:51:36 +02: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 b1cab5d246 SL-11212
Remove color clamping in determining sun diffuse and moonlight diffuse color from atmo settings.
2019-08-13 09:20:37 -07:00
Ansariel 69efafe064 Merge viewer-eep 2019-08-04 16:20:35 +02:00
Graham Linden 53b71f0dc3 SL-11600
Make default direction when neither sun nor moon are up straight down instead of noon.
2019-07-24 13:45:03 -07:00
Ansariel Hiller e35efb2754 Merged Fix double vs float complaint from visual studio. 2019-07-13 12:24:46 +00:00
Ansariel 02c3d2fe9b Merge viewer-eep 2019-07-12 21:08:13 +02: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
Chris Rehor fe7bedd71d Fix double vs float complaint from visual studio.
--HG--
branch : Chris-Rehor/fix-double-vs-float-complaint-from-visua-1561202648460
2019-06-22 11:25:41 +00:00
Ansariel ccea567c08 Merge viewer-eep 2019-06-19 20:20:14 +02:00
Graham Linden ef5d4bc5af Merge 2019-06-03 11:58:38 -07:00
Graham Linden 16d3279995 SL-10966
Fix light atten and transmittance calcs breaking ambient color contrib to fog.

Needs to be tested on DRTSIM-415 or better to get legacy viewer settings that match EEP.
2019-06-03 11:30:41 -07:00
Rider Linden 5927515212 SL-11117: Set default sky asset ID to A-12PM 2019-05-31 09:24:30 -07:00
Graham Linden 2f2cf6d855 SL-10969
Modify ambient handling and forward projector lighting again to stamp out alpha fires.
2019-05-29 15:57:24 -07:00
Graham Linden e9dbee0026 SL-11238
Fix ambient light inputs to the renderer.

Fix 3rd sky shader w/ mistaken density mod conversion.

Make ambient clamp apply to all modes.

Tune ALM ambient clamp to match non-ALM.
2019-05-21 16:00:45 -07:00
Ansariel 0ec08c1b0f Merge viewer-eep 2019-05-21 18:22:45 +02:00
Graham Linden b3c0218a31 Revert lighting changes for 10856 causing knock-on. 2019-05-16 14:14:02 -07:00
Graham Linden a984c5e66a Merge 2019-05-14 07:57:35 -07:00
Graham Linden 041d92b6bd Force file update. 2019-05-14 07:56:41 -07:00
Graham Linden b143aa96fc SL-10856
Modify calc of sunlight to avoid clipping in gamma correct on values outside 0-1 range.

Modify shaders to put back ambient clamp tuned to be close to ambient contrib in low/mid lighting.
2019-05-13 15:33:48 -07:00
Ansariel 95baae0235 Merge viewer-eep 2019-05-09 18:48:19 +02:00
Ansariel 676aa1398c Merge viewer-eep 2019-05-08 19:18:01 +02:00
Graham Linden 989de25f18 SL-11086
Re-fix sun/moon glow factor and make it depend on moon brightness.

Make cloud shaders use sunlight color exclusively for consistency when moon is up or down.
2019-05-07 16:32:34 -07:00
Graham Linden 1522a99024 SL-11070
Gave clouds the Bob Ross treatment.
2019-05-03 10:12:56 -07:00
Graham Linden 906b0be675 SL-11087, SL-11086, SL-11092
Fix sun/moon glow factor bustage.

Make darkness an option.

Fix moon fade shader logic getting confused when sun was below horizon.
2019-05-03 08:47:13 -07:00
Ansariel 08f138ab66 Merge viewer-eep 2019-05-02 16:55:26 +02:00
Graham Linden 29f8e04ddb SL-11065
Modify is sun up logic to exclude condition of moon.
2019-04-29 13:07:57 -07:00
Graham Linden 5766325290 SL-10904, SL-10998, SL-11018
Fix handling of 1/light_y when y was tiny but getting even tinier.

Add similar adjustment to shader version of same calc.
2019-04-25 13:02:24 -07:00
Graham Linden 48ed3f9318 Put warnings on sun/moon direction as they were. 2019-04-25 11:46:56 -07:00
Graham Linden 5f4b93466c Remove bughunting asserts. 2019-04-25 11:44:48 -07:00
Graham Linden 4d6cb310ec Remove unused vars making Clang warnerror. 2019-04-25 11:43:16 -07:00
Graham Linden 4ed05fc84f Fix dark ALM and strangeness at Mid lighting (class 3 but with a darkness about it).
Make a distinct class3/lighting/lightV which boosts to WL levels (* 2.0)
and make lighting without WL atmo enabled use class 2 or below.

Make forward shaders (alpha and materialF with alpha-blend mode on) more consistent with deferred lighting.
2019-04-25 10:59:00 -07:00
Graham Linden 4d76ba2d23 Fix mismatch between release and EEP in sunlight and ambient color from settings. 2019-04-22 10:21:10 -07:00
Ansariel 82c68aca0d Merge viewer-eep 2019-04-17 21:12:55 +02:00
Graham Linden 759525040a SL-10912
Fix conversion of star brightness, density mult, and distance mult to legacy ranges.

Make settings look in both legacyhaze and top-level settings for haze params.
2019-04-08 13:07:44 -07:00
Liny aca131ad10 Change doubles to floats to make VS happy. 2019-03-31 17:08:13 -07:00
Graham Linden 4490399cc5 Fix windows line endings. 2019-03-29 07:58:45 -07:00
Graham Linden 823172cab9 SL-10831
Make moon brightness env setting affect moon diffuse/ambient color combo so it affects in-world lighting.

Adjust how the moon brightness affects the moon disc texture rendering (washes out less).
2019-03-28 14:18:59 -07:00