Commit Graph

91 Commits (bdc94eac5cda3dd6700a1cd462178b7ac3c4cfec)

Author SHA1 Message Date
Ansariel d881fa40d3 Merge branch 'DRTVWR-546' of https://bitbucket.org/lindenlab/viewer 2021-11-20 22:35:31 +01:00
Dave Parks 28f9fb06a9 SL-16289 Rigged mesh rendering overhaul 2021-11-20 18:49:19 +00:00
Ansariel 609cf90e3c Fix surprising render results 2021-05-27 18:12:03 +02:00
Ansariel eb93395009 Merge branch 'DRTVWR-525' of https://bitbucket.org/lindenlab/viewer 2021-02-15 21:02:07 +01:00
Kitty Barnett c8286c2403 Merge branch 'rlva/development' 2021-02-13 13:56:46 +01:00
Dave Houlton dab0948544 DRTVWR-525, improve dev's quality-of-life 2021-02-04 10:54:00 -07:00
Kitty Barnett 35564009af Merge branch 'rlva/feature/effect-sphere' into rlva/development 2021-01-06 16:28:42 +01:00
Kitty Barnett 22a5734051 A clever bunny noticed that other commands use dist[min|max] rather than [min|max]dist 2021-01-06 04:36:56 +01:00
Kitty Barnett db89a4646c Minor refactoring + add @setsphere_origin to switch between avatar and camera anchoring 2021-01-06 02:24:39 +01:00
Kitty Barnett 626f806fc4 Add a mode parameter to @setsphere and add a blur effect 2021-01-05 23:27:00 +01:00
Ansariel 69efafe064 Merge viewer-eep 2019-08-04 16:20:35 +02:00
Graham Linden b507d63566 SL-11621
Remove all references to unused shader var global_gamma.

Remove many unused decls for gamma from shaders.

Make post-deferred gamma correction use display_gamma.

Make setting display_gamma use the correct RenderDeferredDisplayGamma setting.
2019-07-23 11:36:22 -07:00
Ansariel 82c68aca0d Merge viewer-eep 2019-04-17 21:12:55 +02: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
Ansariel 7fdc689a85 Merge viewer-eep 2019-03-21 20:54:50 +01:00
Ansariel f8ad1551b3 Merge viewer-eep 2019-02-10 13:12:23 +01:00
Graham Linden 8890c3238a SL-10478
Fix side-effects of having both sun and moon as potential directional light contributors.
We pass an int to the shader indicating which to prefer instead of making per-pixel decisions
and pass the moonlight color/di independently.

Obsolete llsettingssky fade color which was unused elsewhere and cached for no reason.
2019-02-06 16:42:23 -08:00
Graham Linden 5a8610ccb7 SL-9996, SL-1130, SL-5546
Fix bug with setting texture matrix for rigged mesh.

Fix z-fighting between sea and sky in ALM by cheating sky, stars, and moon using gl_FragDepth.

Fix handling of atmospheric haze glow w.r.t independent sun/moon positioning
(we can no longer depend on them being mutex to each other).
2019-02-01 13:41:31 -08:00
Graham Linden 08440def11 WIP for 10374 (reduce number of shaders linking against deferredUtil).
Prepare for using ifdef to conditionally engage using gl_FragDepth in water shaders
(because GL requires that writing to gl_FragDepth on any path means you need to
 write a depth value on every path).
2019-01-30 12:34:20 -08:00
Ansariel acb6fda901 Merge viewer-eep 2019-01-26 00:02:49 +01:00
Graham Linden 966dc7fc8f SL-10276
SL-9851

Fix cloud shaders to ignore clouds when cloud_scale is 0.

Fix creation of heavenly body geo to avoid degenerate vector math
and not randomly flip orientation when crossing zenith.

Add sun_up_factor to eliminate sun glow around moon when sun is down.
2019-01-24 14:54:11 -08:00
Graham Linden d8eff424a5 SL-10664 2019-03-02 07:17:46 -08:00
Ansariel c699f816d1 Merge viewer-eep 2018-11-16 00:22:32 +01:00
Graham Linden 536799d07e SL-9977
SL-9973
2018-10-29 23:02:20 +01:00
Ansariel 83b514a46f Merge viewer-eep 2018-10-24 22:57:18 +02:00
Graham Linden f8aac19237 SL-1289
add cloud_variance control for randomized perturbance of clouds to break up tiling monotony
2018-10-09 18:44:43 +01:00
Graham Linden ffc6393309 SL-9751
Add optional moon brightness setting
2018-10-08 22:08:35 +01:00
Graham Linden 5eed233618 SL-1925
More settings for rainbow/halo atmospheric effects, final default asset UUIDs, and shader mods.
2018-10-05 21:32:42 +01:00
Ansariel 1733550573 Merge viewer-eep 2018-09-22 00:42:04 +02:00
Graham Linden 1df7760d31 SL-9632 add uniform and code to supress atmospherics in all shaders that could be used by HUDs
Make sky and cloud shaders use common scaleSoftClip implementation in gammaF.glsl
2018-09-14 21:52:52 +01:00
Kitty Barnett 565d5f7611 Added @setsphere modifiers and exposed them as shader uniforms
--HG--
branch : RLVa
2018-06-30 15:15:29 +02: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 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 8cfdc07e79 Code cleanup and move to using typedefs of S64Seconds/F64Seconds for ease in sync w/ sim side which has not llunits types. 2018-06-01 23:32:30 +01:00
Graham Linden graham@lindenlab.com 3116416fcb Le Merge 2018-05-01 00:10:11 +01:00
Graham Linden graham@lindenlab.com 0d7fa932d5 Move class3 sky/cloud shaders to where they need to be to get picked up by ALM.
Modify autobuild.xml to use new libatmo w/ state save/restore fixes (addresses font render glitch).

Put in nSight debug support.
2018-04-20 18:14:29 +01:00
Kitty Barnett fd38970f23 Added vision spheres using a post-processing shader (PoC)
--HG--
branch : RLVa
2018-04-07 16:19:11 +02: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 e4b035d0cd Skys settings object active. 2017-10-05 15:40:48 -07:00
Ansariel 44f904b680 Sync with upstream 2016-11-26 19:57:12 +01:00
ruslantproductengine eebbda288d Backed out changeset: 5fe5ad059c05 2016-07-18 20:09:18 +03:00
callum_linden 05fcb7c812 Automated merge with tip of viewer-release 2016-05-23 16:50:56 -07:00
ruslantproductengine 1b5af4be29 Add invert texture coordinates for media textures. 2016-05-13 18:47:23 +03:00
Ansariel 3192fe832f Merge viewer-quickgraphics 2016-03-08 01:41:31 +01:00
Oz Linden c8726aba30 remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
Tank_Master 7b2cc02863 Merge LL fitted mesh 2014-02-06 00:41:33 -08:00
Dave Parks ff8b002c3b Quite down log spam from loading shaders.
Up bone cap to 64 for rigged meshes.
2013-10-10 13:56:06 -05:00
Graham Linden 95e34d86b9 The unbearable lightness of being norspec 2013-09-18 18:24:16 -07:00