Rider Linden
86a38d1ea2
Remove optimize pragma for mac
2018-09-13 09:45:29 -07:00
Graham Linden
a21fa8664b
SL-1127 fix sky tex update with EEP interpolation getting confused
...
Disable RenderUseAdvancedAtmospherics in feature table to prevent Ultra from turning it on before its time.
2018-09-13 00:34:24 +01: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
5db0338ace
Put back less debuggable but more terse accum of update conditions.
2018-09-04 23:47:52 +01:00
Graham Linden
94d844e187
Remove MSVC debug pragmas.
2018-09-04 23:44:41 +01:00
Graham Linden
2e55eae9cc
Merge and fix MAINT-9087 and MAINT-9084
2018-09-04 23:08:20 +01:00
Graham Linden
f45edabe47
MAINT-9026 hook up sun/moon scale to settingsvo and render code
2018-08-22 23:02:16 +01:00
Graham Linden
126191ada5
Protect sky code from (extremely unlikely yet still possible) lack of sky settings.
2018-08-07 22:47:55 +01:00
Graham Linden
e3ef729477
Remove optimization of building skybox as possible source of MAINT-8864
2018-07-19 21:32:35 +01:00
Graham Linden
5fade93da8
Make moon/star rendering handle transitions between settings w defined textures and settings without better.
...
Reverse direction of mix to match blend_factor values in stars shader.
2018-07-11 00:01:12 +01:00
Graham Linden
a90e61b798
Support blending current/next bloom textures in deferred star rendering.
2018-07-10 19:08:14 +01:00
Graham Linden
8969b11435
MAINT-8838 render a sun disc if the texture(s) are provided by WL settings (default is no sun disc and just haze)
...
Refactor sky texture optimization to retain building the cubemap used by shiny.
2018-07-03 16:37:32 +01:00
Rider Linden
1eda16b319
Merge
2018-06-28 09:24:58 -07:00
Graham Linden
6dc109a8d2
Remove unnecessary coord sys transformation to fix moon positioning.
...
Avoid doing sky texture generation when using atmospherics shaders (which don't need that texture anyway).
2018-06-26 16:46:38 +01:00
Rider Linden
438d977147
Adding pause clouds to menu, and throttling expensive visual update on change.
2018-06-25 16:02:51 -07:00
Graham Linden
52b946fd09
Fix double-def of IMG_BLOOM1 from pulling over server change not needed in viewer code.
...
Make viewer code use LLSettingsSky static func to hide indraconstants dep.
2018-06-21 21:25:15 +01:00
Rider Linden
1f9b8f59af
Don't recalculate lighting every frame. Fix altitude transitions. On track switch ignore time threshold on blender.
2018-06-19 16:46:12 -07:00
Rider Linden
8b9ff4487b
Adding some timers for tracking
2018-06-19 12:04:35 -07:00
Graham Linden
34865c4bb5
Mods to hook up water settings to water normals for rendering with support for current to next blending.
...
Modify LLSettingsFoo::buildDefaultFoo to use a static and avoid re-validation of default sky/water/daycycle settings.
Remove all references to gSun/MoonTextureId globals (they should come from sky settings now).
2018-06-13 00:51:39 +01:00
Graham Linden
fc8d0de673
Make cloud rendering use textures defined in sky settings and add code to shaders to lerp between current and next cloud texture.
2018-06-11 22:39:57 +01:00
Graham Linden
a0598b1265
Fix water fog consolidation in underwater shaders.
...
Add plumbing facilities to allow current and next moon textures to be passed to moon shader.
Modify moon shader to blend between current and next moon textures by blend factor.
2018-06-11 17:46:16 +01:00
Graham Linden
507c492182
Add specific shader for the moon to allow different rendering at day vs night.
...
Add MouseMoon positioning ala MouseSun debug setting and accessors to use it.
2018-06-08 22:22:20 +01:00
Graham Linden
8dd8501386
Fix mis-merge of LLSettingsBase and remove optimize pragmas.
2018-06-01 15:50:25 +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
439273c9c1
Merge
2018-05-23 01:16:12 +01:00
Graham Linden graham@lindenlab.com
ae5f24eb4d
Make rendering of sun / moon work with both in the sky (test visibility independently).
2018-05-21 19:10:32 +01:00
Graham Linden graham@lindenlab.com
589e23884f
Remove no longer used var hosing OSX build.
2018-05-18 23:44:16 +01:00
Graham Linden graham@lindenlab.com
190fa8614c
Remove MSVC debug pragmas and comment out code to dump example grids.xml file w/ hard-coded grids.
2018-05-18 23:16:56 +01:00
Graham Linden graham@lindenlab.com
8082cb8668
Make nighttime elev constant _SIN, since it uses a sin value.
...
Put that constant in sky settings and eliminate dups.
Fix up logic around when to use heavenly bodies (fix broken moon in basic sky).
Remove unnecessary clip to horizon.
Put in temp code to ena/dis sun/moon based on LLEnvironment::getIsDaytime().
2018-05-18 23:14:56 +01:00
Graham Linden graham@lindenlab.com
39fb9cc9b4
Fix Mie Config validation in sky settings.
...
Start cleanup of heavenly body rendering.
2018-05-18 00:23:58 +01:00
Graham Linden graham@lindenlab.com
4d4a7dfb9f
Merge and disable new sky render.
2018-05-16 23:45:56 +01:00
Rider Linden
3925e37532
Fix the blend code to record the amount of the blend and to store what is being blended towards.
2018-05-15 17:17:51 -07:00
Graham Linden graham@lindenlab.com
84e47f45f6
Get libatmosphere shader into link chain for Adv WL shaders.
...
Point autobuild at fixed libatmosphere.
2018-03-08 22:26:31 +00: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
Graham Linden graham@lindenlab.com
98862a53a7
Fix 16F enum for compat w/ SL gl headers on Mac.
...
Make density profile/layer parsing handle when
LLSD heard you liked arrays so it put an array
in your array.
2018-03-03 00:53:39 +00:00
Graham Linden graham@lindenlab.com
acdead96cd
Replace ifdefs with comments marking legacy atmo params.
2018-03-02 23:29:28 +00:00
Graham Linden graham@lindenlab.com
72270213f5
Add 3p package for adv atmospherics to autobuild.
...
Mark legacy atmospherics code with ifdefs.
Fix up legacy uplift to include new atmospherics settings.
2018-02-28 21:46:30 +00:00
Rider Linden
1df10afa2a
Merge
2017-11-30 11:42:49 -08:00
Nat Goodspeed
e3a2c5e321
DRTVWR-418: Merge from latest viewer-release
2017-11-29 14:47:09 -05:00
Rider Linden
0bf6386c61
Now with validation.
2017-11-17 13:04:28 -08:00
Rider Linden
35873f5963
Clean up on sun and moon
2017-11-13 16:43:47 -08:00
Rider Linden
b227c86b45
Remove the old wl environment code.
2017-11-13 14:40:54 -08:00
andreykproductengine
149b2d88dd
MAINT-7228 Vertex buffer allocation failure handling
2017-11-01 19:36:13 +02:00
Rider Linden
cc22ffc6d7
Watter settings active and start of new joystick button type.
2017-10-13 17:17:49 -07:00
Rider Linden
e4b035d0cd
Skys settings object active.
2017-10-05 15:40:48 -07:00
Rider Linden
23916be3da
Moon is showing, sun still not working.
2017-09-29 16:46:39 -07:00