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
Hazim Gazov
7a86d01598
Imported existing code
2010-04-02 02:48:44 -03:00