Ansariel
945c7e4f64
Micro optimization in alphas drawpool
2020-05-10 23:21:33 +02:00
Ansariel
256ba88003
Re-add particle rendering optimization from dbfcd6c9c5 LL got lost for over 7 years now...
2020-05-10 23:13:53 +02:00
Ansariel
ccea567c08
Merge viewer-eep
2019-06-19 20:20:14 +02:00
Graham Linden
7f24395889
SL-11318
...
Make alpha pass start with no shader bound.
Make diffuse mode alpha-blended fullbrights get into alpha pass properly.
2019-06-19 08:31:43 -07:00
Graham Linden
58f7b981bd
SL-11337
...
Fix handling of ambient (was getting reset to 1,1,1,1 unintentionally).
Modify shaders to balance ambient across render modes again.
2019-05-31 13:47:44 -07:00
Ansariel
7fdc689a85
Merge viewer-eep
2019-03-21 20:54:50 +01:00
Graham Linden
2d514e4b10
SL-10763
...
Fix broken logic for alpha drawpool when rendering with basic shaders off.
Force unbind of 2nd tex unit that we use during water rendering.
2019-03-19 17:24:16 -07:00
Graham Linden
69f5ab9004
Make alpha drawpool optimizations an opt-in render debug setting for the adventurous.
2019-03-15 14:31:32 -07:00
Graham Linden
d5f3e7f28e
Disable optimizations to batch fullbright and emissive draws together to minimize GL blend state changes.
2019-03-15 14:09:23 -07:00
Graham Linden
83941a5ec6
Restore optimizations for fullbright/emissives with changes to fix lighting breakage when they're in play.
2019-03-15 13:05:56 -07:00
Graham Linden
a10ec81e82
SL-10743, SL-10744
...
Don't step on SUNLIGHT_COLOR uniform w/ syncLightState competing set.
Put drawpool alpha render loop lighting setup changes as they were
(this will give back some performance and possibly require reopening 10566).
2019-03-15 08:13:04 -07:00
Graham Linden
3396b728d2
Don't rebuild reflection when only edge water patches are in play.
...
Use (Restore)TexSetup for tex binding (should be equivalent now).
Simplify uniform management in alpha drawpool loop.
Fix wrong modelview mat being used for distortion map gen.
2019-03-05 09:35:04 -08:00
Graham Linden
f3303654a5
Roll back even more alpha draw pool optimizations that break particles.
2019-03-04 16:20:31 -08:00
Graham Linden
659eaf045e
Fix line-endings.
2019-03-04 15:40:07 -08:00
Graham Linden
cc43bee5b1
Factor emissives and fullbrights out of alpha draw pool loop of death.
2019-03-04 14:13:27 -08:00
Graham Linden
f1fe689e18
SL-10566
...
Put back old alpha pool draw loop with option to render emissives out of order to save state changes.
2019-03-04 13:19:39 -08:00
Graham Linden
0b4982ac89
Roll back optimizations to lldrawpoolalpha causing emissive strangeness and alpha materials lighting errors.
2019-03-04 10:31:55 -08:00
Graham Linden
552267f1c9
Fix unused local var 'partition' and avoid assert in rendering highlights.
2019-03-04 09:50:11 -08:00
Graham Linden
45a541d2d5
SL-10566
...
Disable pre-cull of water causing refraction/reflection map generation more than is necessary.
Re-org alpha draws to limit state changes based on render type.
2019-03-04 08:04:18 -08:00
Graham Linden
4c3050a395
SL-10664, SL-10666
...
Fix up culling issues from perf work and fix Depth of Field rendering to get depth values properly.
Baseline for performance work.
2019-03-03 10:42:19 -08:00
Ansariel
772924252b
Merge viewer-eep
2019-02-28 23:38:39 +01:00
Graham Linden
c1d2416826
EEP performance WIP
...
Mods to improve alpha obj render performance.
Removes hacky fix for HUD elements getting atmospherics.
Re-orders rendering of glow to remove ~10ms/frame of shader re-re-rebinding.
Fix up default classes and basic shader loading (remove unused shared modules).
2019-02-28 14:06:19 -08:00
Graham Linden
d7ad30a2d4
SL-10566 part the fourth
...
Fix water rendering causing distortion map update very frame.
Reduce binds in alpha draw pool for HUD atmo suppression (may regress HUD lighting weirdness).
Add ability to retrieve current user clip plane so it can be saved/restored around water map gen.
Leave render type masks as is after reflection map render to get detail filtering applied to distortion map again.
Re-enable occlusion in distortion map rendering.
2019-02-27 17:07:31 -08:00
Ansariel
acb6fda901
Merge viewer-eep
2019-01-26 00:02:49 +01:00
Graham Linden
7e9033821a
De-duplicate deferred gbuffer access for getPosition/getNorm.
...
De-duplicate ambient occlusion shader code and move to new aoUtil.glsl
Split shared shadow tap funcs into shadowUtil.glsl
2018-12-06 10:59:11 -08: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
Ansariel
4c4b76ab37
Merge viewer-neko
2018-06-22 22:22:26 +02:00
maxim_productengine
984ea33f7b
MAINT-8750 Add transparency indicator for invisiprims.
2018-06-14 18:51:18 +03:00
Ansariel
2862283c7e
Merge Firestorm LGPL
2018-06-01 20:50:03 +02:00
Ansariel
dcedba081a
Merge viewer-bear
2018-05-18 09:43:11 +02:00
maxim_productengine
c9fed71e60
MAINT-8649 FIXED CTRL+ALT+T does not make alpha masking textures visible
2018-05-17 18:12:04 +03:00
andreykproductengine
9437d1511e
merge from viewer-release
2018-06-01 01:18:47 +03:00
Ansariel
5d924483a8
Merge viewer-cougar
2018-03-02 15:00:48 +01:00
ruslantproductengine
325c076d09
MAINT-7213 Shared media (media as a texture) unusable with transparent mesh
...
New outline selection around mesh objects.
2017-10-26 18:33:08 +03:00
Ansariel
6585ed272a
FIRE-21101: Use alternative shader setup for particles in OpenGL compatibility profile to fix performance issue with crappy implemented particle crap
2017-04-22 11:34:52 +02:00
Nicky
b64d68b10f
Make sure glow works when using VAOs.
...
- Use emissive shader in LLDrawPoolAlpha::renderAlpha (like LL does)
- Make sure LLVertexBuffer::setBuffer calls setupClientArrays with the new attrib mask, otherwise dissabled attrib arrays will stay disabled and never get enabled.
2017-03-22 00:02:25 +01:00
Ansariel
c182741596
Merge viewer-lynx
2016-11-16 09:55:54 +01:00
andreykproductengine
791b0de262
MAINT-6790 Fixing log spam
2016-10-11 18:16:11 +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
Ansariel
4a6e25964a
FIRE-11745: More performance fixing by commenting out call to set blend mode after consultation with Nicky
...
Restoring blend mode seems to be unnecessary here. In the next iteration of the loop,
the blend mode will be set before writing to the vertex buffer. Additionally, at
the end of the method, the blend mode will be restored via calling gGL.setSceneBlendType(LLRender::BT_ALPHA)
2015-02-17 00:38:19 +01:00
Ansariel
5efde2a445
FIRE-11745: Add particles performance fix for testing (re-add changes that got lost in one of LL's merges)
2015-01-09 00:47:52 +01:00
Nicky
b4e92f61af
lldrawpoolalpha post-merge fix.
2014-06-10 20:08:30 +02:00
Tank_Master
6babf8abd2
Merge LL 3.7.7
2014-06-09 11:29:57 -07:00
Richard Linden
17e9c872ad
Automated merge with http://bitbucket.org/lindenlab/viewer-release
2013-11-11 19:17:49 -08:00
Richard Linden
697d2e720b
renamed TimeBlock to BlockTimerStatHandle
2013-10-15 20:24:42 -07: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
Ansariel
c18f33a1ba
Re-add particle rendering optimization that got lost in merge orgy upstream
2013-12-01 13:30:59 +01:00