Commit Graph

57839 Commits (82c68aca0dabc9a12ccbe109b90656dac8fcefd7)

Author SHA1 Message Date
Ansariel 82c68aca0d Merge viewer-eep 2019-04-17 21:12:55 +02:00
Graham Linden 479385c97f SL-10968
Tweak forced frag depths for sun/moon disc images to resolve depth fighting with hills etc.
2019-04-15 16:31:01 -07:00
Graham Linden 508ca2d458 SL-10959
Scale down of bloom was off by a factor of 3 or so.
2019-04-15 11:52:24 -07:00
Graham Linden 37a7c96f17 Fix line-endings on new shader file from contribution. 2019-04-15 09:41:12 -07:00
Graham Linden 27184c74b4 SL-10901
Fix up shadow sampling and tweak shadow biasing.

Clean up shader decls of unused funcs.

Clean up whitespace diffs from release.
2019-04-10 13:43:58 -07:00
Graham Linden 0b8ff3a8b2 Fix missing sentinel in shader file to avoid spurious complaints for hg policy hooks. 2019-04-10 10:55:30 -07:00
Rider Linden 37bd0b809f Merged in Geenz/viewer-eep/OPEN-340 (pull request #345)
OPEN-340 & OPEN-343 - Consolidate shader atmospheric calcs into a singular utility shader + fix fog on fullbright in deferred
2019-04-10 17:48:06 +00:00
Rider Linden 4e1874184e Merged in graham_linden/viewer-eep-fixes (pull request #347)
SL-10925, SL-10926, SL-10896
2019-04-10 17:40:52 +00:00
Graham Linden 2c568e7584 SL-10925, SL-10926, SL-10896
New fix for 925/926 that doesn't cause 896 again.

Also linearize moon disc tex color.
2019-04-10 10:11:50 -07:00
maxim_productengine b172ced57a SL-10927 FIXED [EEP] Unable to share environment settings from My Environments floater 2019-04-10 15:00:21 +03:00
Geenz de1a88d6bb Revive the shading model that masks fog.
--HG--
branch : OPEN-340
2019-04-10 03:20:04 -07:00
Geenz 3d0c05ba3a I don't think the class3 variant is used, but just in case.
--HG--
branch : OPEN-340
2019-04-10 03:12:05 -07:00
Geenz d7d8a15092 Fullbright + elimination of all references to calcFragAtmospherics.
--HG--
branch : OPEN-340
2019-04-10 02:49:25 -07:00
Geenz 08812cbe06 Separate out vertex program objects from fragment program objects and use it.
Given that mShaderObjects only ever expects one copy of a given shader object (leading to lots of "shaderV" and "shaderF"), it made having utility shaders a bit more difficult to incorporate.
This change makes sure the two are separated.  Using this over a multimap largely for readibility.

Also, actually, you know, use this functionality.

--HG--
branch : OPEN-340
2019-04-10 02:11:07 -07:00
Geenz dcd8117b85 First stab at moving atmospheric var calcs to its own utility shader.
Still some work to go here.  Largely related to how certain values (i.e., SSAO mix values) are supplied.  But so far, so good.

--HG--
branch : OPEN-340
2019-04-09 22:35:40 -07:00
Graham Linden f9c0b021ea SL-5186
Fix falloff on projectors in forward rendering (different falloff calcs than deferred).
2019-04-09 13:02:58 -07:00
Graham Linden 07739f5d74 Fix viewer version to restore update to 6.2.0 for EEP 2019-04-09 10:43:58 -07:00
Graham Linden a50590ec4b SL-10925, SL-10926
Restore letting env auto-update sunlight_color uniform (other shaders expect it even if lighting does not).
2019-04-09 10:40:49 -07:00
Graham Linden b7480d3d3f Merge 2019-04-09 08:31:18 -07:00
Graham Linden 996d441ddc SL-5186
Make projector ambiance unshadowed in both forward and deferred for consistency.
2019-04-08 16:53:57 -07:00
Rider Linden fd25781ecf Merged in graham_linden/viewer-eep-fixes (pull request #342)
SL-10912
2019-04-08 20:21:16 +00: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
Graham Linden 282f91aaf3 Make ambient clamping consistent between class1/2 deferred lighting and forward rendering.
Add decls for intermediate lighting values for debug.
2019-04-08 10:34:59 -07:00
maxim_productengine 66aa3d390d SL-10893 Remove "Show Empty Folders" option 2019-04-08 15:26:59 +03:00
Ansariel efb4cbc516 Remove unmaintained special versions of phototools floaters for Starlight (CUI) 2019-04-07 16:43:42 +02:00
Ansariel ff1ba0a702 Re-apply XUI changes without reformatting the whole XML 2019-04-07 16:42:30 +02:00
Ansariel a90a6c09e7 Revert XUI changes 2019-04-07 16:40:27 +02:00
Kadah_Coba 4554d2dbdf Fixed QP/PT to support EEP moving day cycle and sun
Reformated the mess that was QP/PT XUI
2019-04-06 23:22:13 -07:00
Rider Linden 570814a767 Merged in graham_linden/viewer-eep-fixes (pull request #340)
SL-10821, SL-10896, SL-10901
2019-04-05 23:41:59 +00:00
Graham Linden fe589170d3 SL-10896
Fix deferred water soften prog lightnorm getting stomped with rotated lightnorm,
because it's a water shader and needs water atmo uniform values,
but it's a deferred lighting shader that needs not-so-rotated lightnorms.

Make sunlight_color not get auto-updated so we can get the correct value from mSunDiffuse.

Remove mix to preserve bumps as it was washing out shadows.
2019-04-05 15:54:21 -07:00
Graham Linden fff2aecf7f SL-10821
Fix directionality of da and preserve bumps on completely shadowed areas.
2019-04-05 14:35:55 -07:00
Graham Linden 39803f29c6 Fix spec gone wild in ALM water rendering. 2019-04-05 11:39:14 -07:00
Rider Linden dde8811238 Merged in graham_linden/viewer-eep-fixes (pull request #339)
SL-10748
2019-04-05 17:15:52 +00:00
Graham Linden f0fcbeff74 SL-10748
Clamp far_clip for sun shadows to >= 256.0 to prevent issues when draw distance < ~100m.
2019-04-05 10:07:17 -07:00
Rider Linden f6283ad141 Merged in graham_linden/viewer-eep-fixes (pull request #338)
SL-10854
2019-04-05 17:05:54 +00:00
Graham Linden 09bb0336f1 SL-10854 part 2
Clamp ambient to keep shadows dark.

Apply min with shadow value after we've pow'd by light gamma consistently between forward and deferred.
2019-04-05 09:19:46 -07:00
Graham Linden fa6f770a89 Merge 2019-04-05 07:47:21 -07:00
maxim_productengine d7789999cb SL-10897 FIXED [EEP] Sliding a keyframe will not prompt to save changes before closing the window. 2019-04-05 17:05:01 +03:00
Kadah_Coba 036f9f58e1 Merge phoenix-firestorm-lgpl-eep-integration 2019-04-05 03:25:33 -07:00
Kadah_Coba a39bc2d28c Quickprefs: Improved day cycle slider
Added sliders for sun, but highly buggy
2019-04-05 03:24:24 -07:00
Graham Linden c699ee9a7f SL-10854
Clamp ambient contrib to get darker shadows.

New PCF sampling func.
2019-04-04 17:19:59 -07:00
Ansariel 89a34c44f3 Remove obsolete remnants of parcel windlight 2019-04-05 00:23:28 +02:00
Rider Linden 6d756c5337 Merge 2019-04-04 11:48:03 -07:00
Rider Linden dfdeeb353c SL-10849: Select the correct notification for unchecking the parcel owners may override button. 2019-04-04 11:47:28 -07:00
Rider Linden e4c281c134 Merged in graham_linden/viewer-eep-fixes (pull request #336)
SL-10887
2019-04-04 17:30:11 +00:00
Graham Linden bfd2a594d7 SL-10887
Disable occlusion culling when rendering water reflection/refraction maps again (still getting probabalistic results for reflection map contents). :/
2019-04-04 10:27:43 -07:00
Rider Linden 7703ae3b1b Merged in graham_linden/viewer-eep-fixes (pull request #335)
SL-10886
2019-04-04 17:05:02 +00:00
Graham Linden 4ba6e05469 SL-10886
Render sun/moon beacons in non-ALM mode too.
2019-04-04 09:58:04 -07:00
maxim_productengine 64942c5cd1 SL-10875 FIXED [EEP] Selecting the Day Cycle window causes the previous keyframe to become selected if keyframes are close together 2019-04-04 18:09:23 +03:00
Kadah_Coba f917c39b4f Initial QP day cycle slider to see if method is viable 2019-04-04 02:13:55 -07:00