Commit Graph

85 Commits (405f5c879c44f32635dcb94de2c7dfb9e4a8673a)

Author SHA1 Message Date
Graham Linden c9b2759469 SL-1475
Make stars use higher alpha and brighten reflected color before mixing to get stars to show up in reflections on water.
2018-09-18 21:54:38 +01:00
Graham Linden 9581a197ac SL-1873
Make range of star brightness in code and in UI 0-500 (not 512).
2018-09-17 19:48:58 +01:00
Graham Linden 211ae97cbd SL-9635 remove init of libatmosphere causing crashes on Intel HD 2018-09-12 20:15:23 +01:00
Graham Linden 24e0e64f2f Fix cloud shader tex binding to be more robust.
Make vert generation not skip dome verts used for clouds when doing advanced atmospherics.
2018-09-11 00:23:10 +01:00
Graham Linden 642a4ddd60 Fixes for switching between atmospherics implementations on the fly. 2018-09-10 20:39:48 +01:00
Graham Linden e075c65ee2 First pass at preferences and feature table hookup for advanced atmospherics. 2018-09-10 16:43:49 +01:00
Graham Linden 4bd2b8b98b Fix createDensityProfileLayer dropping passed in values.
Enable sky density panel to update advanced atmo precomputed textures.

Take wild stab at appropriate ranges for density parameters in edit panel UI.

Clean up debug-only code that isn't necessary anymore.

Point autobuild at latest version of libatmosphere package.
2018-09-07 17:24:29 +01:00
Graham Linden 451ab80ca6 Fix tex format mismatch between what libatmosphere was generating and what we were claiming to use in rendering.
First pass at sky shader using libatmosphere sky radiance lookup.

Add atmo density controls to ext daycycle floater tabs.
2018-09-06 22:50:26 +01:00
Graham Linden a65afc30a9 Merge 2018-09-04 23:43:39 +01:00
Graham Linden 32631f09a5 8283/4 WIP 2018-09-04 23:41:36 +01:00
Graham Linden 2e55eae9cc Merge and fix MAINT-9087 and MAINT-9084 2018-09-04 23:08:20 +01:00
maxim_productengine 51fbbf7645 MAINT-9064 One more fix for crash caused by new shader calls 2018-09-04 16:07:49 +03:00
Rider Linden cb7592e490 Merged in graham_linden/viewer-eep-graham (pull request #65)
MAINT-8983
2018-08-31 16:23:28 +00:00
Graham Linden c46b70c257 Null out shader pointers after passes are complete (prevents them being non-null and masking crashes when graphics prefs change). 2018-08-31 16:33:57 +01:00
andreykproductengine 9480ee9a4d MAINT-9064 Fix crash caused by new shader calls 2018-08-31 16:05:06 +03:00
Graham Linden 6dd9dd3ab6 MAINT-9064
Fix binding of current/next sun/moon textures.

Remove redundant code in GLSLShader determination of tex uniform bindings.

Unhack mix calls in sun/moon shaders to reverse sense of blending (was working around reversed bindings).
2018-08-30 17:54:59 +01:00
Graham Linden b86e899e7e MAINT-9006
Make perspective projection consistent between ALM and non-ALM when drawing water (horizon matches).

Make perspective projection consistent between ALM and non-ALM when drawing heavenly bodies (sun disc position matches).

Make gamma correction of sun disc tex consistent between ALM and non-ALM rendering.
2018-08-23 00:53:11 +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 4fde1adbcf Fix star rendering issues in ALM. 2018-07-10 18:23:02 +01:00
Graham Linden a9fba594dd Restore setting the inv proj matrix for advanced atmo render path.
Set nSight debug setting to 0 to fix ALM snapshots.

Add popMatrix call to balance push around heavenly body rendering in ALM and fix mat stack overflow.
2018-07-09 18:27:01 +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
Graham Linden ec496d5e1a MAINT-4019 fix ALM star rendering (make post-deferred and actually blend) 2018-06-30 00:22:10 +01:00
Graham Linden 5c2f49b865 Make distinct ALM moon shader, tweak mix factor for day vs night moon shading, and fix transposed name of daycycle func. 2018-06-27 22:00:50 +01:00
Graham Linden 3d3d24e3c1 Fix non-ALM render path to bind the 2nd moon texture (and not blend with the default square).
Also fixes MAINT-3962, ALM and non-ALM moon shading should be identical.
2018-06-27 17:52:23 +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 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 b6b9094d26 Fix sunlight != sunlight_color_copy and remove hack disable of clouds. 2018-06-05 20:20:43 +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 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
Graham Linden graham@lindenlab.com 3116416fcb Le Merge 2018-05-01 00:10:11 +01:00
Graham Linden graham@lindenlab.com 21ddbd64af Mods to make adv atmo WL sky render using 2 tris instead of dome. 2018-04-26 22:35:26 +01:00
Graham Linden graham@lindenlab.com 6cc4a091b3 Add settings/validations for new advanced atmo settings. 2018-02-22 00:35:24 +00:00
Graham Linden graham@lindenlab.com 99b82d9449 Atmospherics WIP
libatmosphere integrated in indra/llrender/llatmosphere.cpp

Still working on runtime shaders to use libatmosphere precomputed atmospherics textures
2018-02-18 15:52:23 +00:00
Rider Linden b227c86b45 Remove the old wl environment code. 2017-11-13 14:40:54 -08:00
Rider Linden 52b0d4173c No longer 'goth windlight only', sky parameters passed from settings object. 2017-09-27 09:36:26 -07:00
Rider Linden 150fba7c5c Still not working. Black Sky. 2017-09-21 15:58:13 -07:00
Oz Linden c8726aba30 remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
Richard Linden 80dfbbaacd merge from viewer-release 2013-10-08 11:59:24 -07:00
Richard Linden 59628d6f85 Automated merge with http://bitbucket.org/lindenlab/viewer-release 2013-10-01 14:28:39 -07:00
Graham Linden 2a03e8f9fb MAINT-3172 fix rendering regressions from release mergedown 2013-09-20 16:44:39 -07:00
Richard Linden cbe397ad13 changed fast timer over to using macro
another attempt to move mem stat into base class
2013-09-05 14:04:13 -07:00
Richard Linden e340009fc5 second phase summer cleaning
replace llinfos, lldebugs, etc with new LL_INFOS(), LL_DEBUGS(), etc.
2013-08-09 17:11:19 -07:00
Graham Madarasz (Graham) fbf3d8b781 NORSPEC-291 WIP materials underwater with haze, reflection broken, water dist broken 2013-07-11 16:21:23 -07:00
Graham Linden 326e20b0e5 NORSPEC-291 WIP materials underwater w and wo alpha, water fog color broken, no refl, no water dis 2013-07-10 09:47:46 -07:00
simon ee2fce8790 Merge downstream code and viewer-beta 2013-05-09 14:10:45 -07:00
Graham Madarasz bf6182daa8 Update Mac and Windows breakpad builds to latest 2013-03-29 07:50:08 -07:00