Lirusaito
424221201c
Actually save current Post Process Effect at logout
...
Also properly cleanup Post Process Singleton
2019-03-23 05:01:13 -04:00
Lirusaito
f8c8734e79
[PPE] Add SinguPostProcessDefault for setting active and persisting preset
2019-03-08 13:56:07 -05:00
Lirusaito
28e464f368
Code Clean up
2019-03-08 13:51:14 -05:00
Lirusaito
26a7de79c7
[PPE] Preset overrides go in user settings now
2019-03-08 13:50:06 -05:00
Lirusaito
88639c2052
Merge branch 'master' of git://github.com/Shyotl/SingularityViewer into ManagedMarketplace
2019-03-06 17:10:33 -05:00
Shyotl
5a7e0b05a4
Fixup texture compression.
2019-03-05 03:11:04 -06:00
Lirusaito
58ba9e3617
Merge branch 'master' of git://github.com/Shyotl/SingularityViewer
2019-03-02 19:01:49 -05:00
Lirusaito
3b9a0cfbc8
Lowercase default looks bad next to windlight defaults, capitalize it.
2019-02-25 13:09:04 -05:00
Lirusaito
46dff21e97
Feature Request: Post Process Effects from Quick Settings flyout
...
Adds a neat little signal for post process to fire when effects change
Isn't code wonderful?
2019-02-25 12:50:08 -05:00
Lirusaito
2773c22f9b
Fix los argumentos truncamientos
...
Gracias a Damian
2019-02-17 16:46:51 -05:00
Shyotl
736696ac36
Track glEnable states via static refs instead of map lookups.
...
Sync light state, bound shader, and various gl context states similarly to render matrices.
Texture handles now refcounted, as multiple viewer textures could ref the same handle (cubemaps do this)
Clean up gl extension loading a bit. Not necessary, but only look for ARB variants if not included in current core version. Removed unused extensions.
Use core shader api if supported, else use ARB. (FN signatures are identical. Just doing some pointer substitution to ARB if not core.)
Attempt at improving VBO update batching. Subdata updates better batched to gether per-frame.
There's probably other stuff I forgot that is in this changeset, too.
Todo: Fix lightstate assertion when toggling fullscreen with shaders off.
2018-11-19 00:37:48 -06:00
Lirusaito
0dfef2ab25
PyFx partial integration
...
Adds PyFx windlights and post process effects, not enabled by default.
Show custom graphics settings by default, because all our users are smart.
Tweaks SHAutoMask, uses Altocumulus as default cloud now
Added TODO into llrender/llpostprocess.cpp
We should also add the option to make the menu bar transparent, instead of pyfx using skin hacks
Also we need to add a settings preset feature at some point in the future.
We also need to add postproc to wlf.
2017-03-20 11:10:21 -04:00
Shyotl
5e501b9611
Removed TT_RECT_TEXTURE and removed unnecessary shaders.
2017-02-17 23:37:46 -06:00
Shyotl
1c627317ec
No longer include llerrorlegacy.h. Updated llstl to include deletion utilites.
2015-06-19 03:54:20 -05:00
Shyotl
690f3614c1
Merge branch 'master' of https://github.com/singularity-viewer/SingularityViewer.git
...
Conflicts:
indra/llrender/llpostprocess.cpp
2015-05-16 02:53:19 -05:00
Shyotl
8943439629
Remove dupilicate perlin noise impl, and update the remaining one.
2015-05-16 02:30:32 -05:00
Inusaito Sayori
72080e79e9
Sync llcommon with Alchemy a bit.
...
llmath::llround->ll_round
LL_ICC->LL_INTELC
Add llpredicate
Add LL_CPP11 macro
Remove llhash
Update llinitparam, llsd and all relatives of it.
2015-03-20 22:04:04 -04:00
Drake Arconis
948ebe5213
All your codebase are belong to us.
2014-08-22 00:15:09 -04:00
Shyotl
061178ad82
Migrated gl matrix stack to LLMatrix4a
2014-06-22 03:34:51 -05:00
Shyotl
8f6a578ec0
Migration to LLMatrix4a instead of glh::matrix4f
2014-06-15 22:42:32 -05:00
Shyotl
24ca32f9f7
Replace gluProjectf/gluUnprojectf with own versions. Also changed gGLModelView/gGLProjection and other related matrices to LLMatrix4a.
2014-06-06 01:59:04 -05:00
Shyotl
117eca3c98
Try some swizzling instead of forcing everything to rgba8 with core profile. Avoids manual conversions with scratch buffers. Works for all pixel datatypes. Cleaner. Uses less vram.
...
Also, fixed textures when running core pofile.
2014-05-14 03:05:53 -05:00
Shyotl
4eb9dc5191
Use GL_STREAM_DRAW_ARB for post-process fullscreen quad.
2013-12-24 20:17:05 -06:00
Shyotl
2a432f73da
Try and squelch some warnings regarding nightvision post shader on amd gpus.
2013-10-26 16:36:38 -05:00
Shyotl
8441bc80a4
Use LLStaticHashedString for faster uniform lookup.
2013-10-26 16:26:46 -05:00
Shyotl
6fd73ee8bb
Use GL_RED instead of GL_LUMINANCE for post-process noise texture.
2013-10-17 22:07:58 -05:00
Siana Gearz
19625ea6b8
MAINT-2968 disable client GL namegen, go spec
2013-10-13 17:07:45 +02:00
Shyotl
b3d97b0860
Avoid running the motionblur shader if there hasn't been camera movement. Also clamp per-frame fragment velocity to reduce visual artifacts.
2013-07-03 17:12:12 -05:00
Siana Gearz
66083d6531
Removing leftover dead code
2012-12-28 21:07:19 +01:00
Shyotl
2424d2a082
A little bit of postprocess shader tinkering.
2012-12-12 03:10:05 -06:00
Shyotl
efbd339dc8
No return value? VisualStudio don' care.
2012-09-26 19:52:17 -05:00
Shyotl
ff81d9461a
Added motionblur postprocess shader.
...
Conflicts:
indra/newview/skins/default/xui/en-us/floater_post_process.xml
2012-09-19 15:33:58 -05:00
Lirusaito
f4324e8890
Merge branch 'future' of git://github.com/Lirusaito/SingularityViewer
...
Conflicts:
indra/llrender/llpostprocess.cpp
2012-08-10 23:39:06 -04:00
Siana Gearz
7743843a27
Merge branch 'AltCompilers' of git://github.com/LightDrake/SingularityViewer
...
Conflicts:
indra/newview/skins/default/xui/en-us/strings.xml
2012-08-09 03:46:03 +02:00
Siana Gearz
c84e145557
Merge branch 'future' of https://github.com/Shyotl/SingularityViewer
...
Conflicts:
indra/llrender/llrendertarget.cpp
indra/newview/lloverlaybar.cpp
2012-08-09 02:11:14 +02:00
Shyotl
c385133c84
Fixed noisemap not binding for the nightvision shader.
2012-08-03 13:10:16 -05:00
Lirusaito
73fedf453c
Compile fixies~
2012-08-01 09:13:40 -04:00
Shyotl
1d1947c51a
Reworked LLPostProcess and implemented FBO support (much faster if multiple post shaders are enabled, or need a lot of passes).
...
Tweaked LLRenderTarget to support depth textures if FBO support is lacking.
Prefer LLRenderTarget::getFBO() over LLRenderTarget::sUseFBO when determining how to handle a specific LLRenderTarget object. (Decoupling to simplify logic without having to track a global)
2012-07-29 04:28:11 -05:00
Lirusaito
61beedd3d9
Changed style of comments with asterisks to avoid highlighting errors on //* with weak highlighters, change is to all files that could potentially break highlights
...
Most were needed, though some were just for possible problems with highlighting, should not affect performance whatsoever.
2012-01-09 05:40:03 -05:00
Shyotl
54bfdb7704
Stippling removed. Emulated with a texture and some texcoord manipluation. (looks identical, and works with and without shaders)
2012-01-06 00:53:18 -06:00
Shyotl
dff195d120
Several transparent ui-related components were writing to the depthbuffer for some silly reason. Don't do that since it messes with occlusion.
2011-12-30 19:15:21 -06:00
Shyotl
48552e3027
Set blendtype back to BT_ALPHA after postprocess, because ui assumes such [aka: glBlendFunc(GL_SOURCE_ALPHA, GL_ONE_MINUS_SOURCE_ALPHA)]. Also, line-ending fixup.. again.
2011-12-30 17:19:23 -06:00
Shyotl
0030ca3af7
Fixed extra post-process shaders. Cleaned up and no longer using deprecated functions.
2011-12-16 01:46:20 -06:00
Shyotl
83e8a9076b
Several gl calls now wrapped via LLRender (gGL) as prep for future changes:
...
glMatrixMode -> gGL.matrixMode
..GL_MODELVIEW -> LLRender::MM_MODELVIEW
..GL_POJECTION -> LLRender::MM_PROJECTION
..GL_TEXTURE -> LLRender::MM_TEXTURE
glMultMatrix -> gGL.multMatrix
glLoadMatrixf -> gGL.loadMatrix
glPushMatrix -> gGL.pushMatrix
glPopMatrix -> gGL.popMatrix
glLoadIdentity -> gGL.loadIdentity
glRotatef -> gGL.rotatef
glTransformf -> gGL.transformf
glOrtho -> gGL.ortho
glColor3f -> gGL.diffuseColor3f
glColor3fv -> gGL.diffuseColor3fv
glColor4f -> gGL.diffuseColor4f
glColor4fv -> gGL.diffuseColor4fv
glColor4ubv -> gGL.diffuseColor4ubv
glLightModelfv(GL_LIGHT_MODEL_AMBIENT -> gGL.
2011-11-21 15:55:44 -06:00
Shyotl
456bec3e83
Fixed snapshot floater failing to render overlay texture when full-screen preview is enabled
...
Enabled bulk glReadPixels for snapshots if target-resolution matches render-resolution
Snapshot thumbnail generated from downscaled render image, instead of requring an extra pass.
2011-02-16 18:19:22 -06:00
Shyotl
257a971fcd
Removed bloom tab from post-process menu.
2011-02-15 17:19:23 -06:00
Shyotl
fef4e2196c
When typos attack! (Things break)
2011-02-12 14:33:40 -06:00
Shyotl
d0feea7ed7
Re-added gamma setting to color filter shader
...
Fixed issue with setting default values of sliders for gauss shader
2011-02-10 14:57:00 -06:00
Shyotl
a579663eb9
Added Gaussian blur post-process shader
...
Added ability to manually input values in post-process shader menu
2011-02-10 04:03:22 -06:00
Shyotl
a44d633bc8
Enabled post-processing features. Todo: Fix bloom
...
Fixed avatar shadows on AMD (and any other sane GLSL compiler)
Fixed windows compile:
-curl version was updated after running develop.py. Not sure if applicable to linux/darwin
-new llqtwebkit version on windows, since the old url is now invalid.
2011-02-09 19:21:31 -06:00