summaryrefslogtreecommitdiff
path: root/indra/llrender/llglslshader.cpp
AgeCommit message (Collapse)Author
2019-07-22Remove binding and use of glIsShader for now (only useful for avoiding ↵Graham Linden
warnings about deleting shader objects re-used across programs).
2019-07-22SL-10761Graham Linden
Make vograss objects set their face vert/index counts to 0 when setting the number of blades to 0 to disable rendering so we don't allocate space and then skip setting it up with actual index data in getGeometry.
2019-05-02Roll back sRGB decode changes from contrib for now.Graham Linden
Fix direct light matching across alpha/blended-material/deferred. Get diffuse lighting to match from Low to Ultra.
2019-04-10Separate out vertex program objects from fragment program objects and use it.Geenz
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-03-30Additional gamma correction work: start moving over to EXT_texture_sRGB_decode.Geenz
2019-03-13Mods to make merge with viewer-release have less whitespace-only change and ↵Graham Linden
fix diffs between EEP and VR.
2019-03-12More tab restoration.Graham Linden
Also fix ref to removed extra GLSL link module. 'warn-on-failure:no-tabs'
2019-03-12Tab restoration project.Graham Linden
'warn-on-failure:no-tabs'
2019-03-07Fix tabs.Graham Linden
2019-03-07SL-10618, SL-10698Graham Linden
Fix reflection/distortion map culling planes again. Fix broken handling of shadow disables in ALM forward shaders.
2019-01-30SL-10415, SL-10434Graham Linden
Further tweaking of directional shadow sampling to balance between peter-panning and shadow acne. Move stars to just this side of the sky some to reduce parallax. Remove decodeNormF and uses of decode_normal in favor of unified use of getNorm (try to help the Intel HD x000 compiler learn to link correctly).
2018-12-06De-duplicate deferred gbuffer access for getPosition/getNorm.Graham Linden
De-duplicate ambient occlusion shader code and move to new aoUtil.glsl Split shared shadow tap funcs into shadowUtil.glsl
2018-11-12SL-10044 SL-10045Graham Linden
Fix class 1 and 2 transport/gamma funcs and made usage consistent across all shaders. Fix class1\environment\waterV reverting to old d1/d2 names for wave directions.
2018-11-06Move to using a shared deferredUtil object for getting pos/norm from gbuffer.Graham Linden
Eliminate 20+ callsites with copy-paste of getPosition and/or getNorm code. Make pipeline use getShadowTarget/releaseShadowTarget consistently.
2018-11-01SL-10000 fix storing of ambient value when converting legacy settingsGraham Linden
2018-10-29SL-9977Graham Linden
SL-9973
2018-09-04Merge and fix MAINT-9087 and MAINT-9084Graham Linden
2018-08-30MAINT-9064Graham Linden
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-06-11Fix water fog consolidation in underwater shaders.Graham Linden
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-01Code cleanup and move to using typedefs of S64Seconds/F64Seconds for ease in ↵Graham Linden
sync w/ sim side which has not llunits types.
2018-06-01Merge to 5.1.6Graham Linden
2018-05-31MergeRider Linden
2018-05-18Remove MSVC debug pragmas and comment out code to dump example grids.xml ↵Graham Linden graham@lindenlab.com
file w/ hard-coded grids.
2018-05-01Le MergeGraham Linden graham@lindenlab.com
2018-03-12De-duplicate shader code for encoding and decoding normals to/from gbuffer ↵Graham Linden graham@lindenlab.com
format.
2018-03-12De-duplicate sRGB conversion funcs from many shadersGraham Linden graham@lindenlab.com
and unify on using the version that works on OSX. Add more logging to shader loading about fallbacks and loading succcess. Add frag shaders for sharing sRGB and normal encode/decode via GL shader linkage.
2018-03-03Remove MSVC pragmas breaking OSX build.Graham Linden graham@lindenlab.com
2018-02-26Redo advanced atmo shader integration with SL.Graham Linden graham@lindenlab.com
2018-02-18Atmospherics WIPGraham Linden graham@lindenlab.com
libatmosphere integrated in indra/llrender/llatmosphere.cpp Still working on runtime shaders to use libatmosphere precomputed atmospherics textures
2018-01-30Keep attributes name (useful for debug)ruslantproductengine
2017-12-26MAINT-6437 - Tile-Based Texture Animation Scales Incorrectly for Rigged Mesh ↵ruslantproductengine
when worn (MacOS only) FIXED.
2017-09-26Clouds still funky but better.Rider Linden
2017-09-22MergeRider Linden
2017-09-20Cleanup inside GLSLShader for uniform mapping.Rider Linden
2017-09-20DRTVWR-418: Fix C++ errors detected by Xcode 9.Nat Goodspeed
You can't legitimately perform an ordered comparison between a pointer and an int, even 0. Fix a number of 'if (ptr > 0)' to plain 'if (ptr)'. Fix LLEditWearableDictionary::WearableEntry constructor to avoid varargs mechanism. It used to accept three different counts, followed by three different lists of enums, fetched in each case as 'int' -- dubious in itself. The constructor body performed three different loops to populate those enums into three different member vectors. Instead, make the constructor accept three vectors and initialize the member vectors from the passed vectors. Now that C++ has inline vector initialization, change existing constructor calls to pass temporary vectors initialized with what used to be the varargs enum values.
2016-11-11MAINT-6913 - (Via Sovereign Engineer and Shyotl Kuhr) Pack the skinned ↵Brad Payne (Vir Linden)
matrix and translation into a single mat3x4 for optimal data transfer to reduce uniform slot usage.
2016-07-18Backed out changeset: 5fe5ad059c05ruslantproductengine
2016-05-23Automated merge with tip of viewer-releasecallum_linden
2016-05-13Add invert texture coordinates for media textures.ruslantproductengine
2016-05-06merge 4.0.4-release and MAINT-5974Oz Linden
2016-04-12MAINT-6286 Viewer 4.0.3.312680 ignores settings for Shaders in Graphics ↵ruslantproductengine
Preferences for ATI Radeon HD 3800 Series graphics card
2016-03-16merge changes for DRTVWR-417Oz Linden
2016-03-10MAINT-1109 FIXED Toggling graphics options causes viewer memory to increase, ↵ruslantproductengine
eventually causing the rendering pipeline to fall over and crashing the viewer Patchset #2
2016-01-15merge changes for 4.0.1-releaseOz Linden
2015-12-01MAINT-1109 Toggling graphics options causes viewer memory to increase, ↵ruslantproductengine
eventually causing the rendering pipeline to fall over and crashing the viewer Te reason of memory leak - unloaded shaders. Fixed.
2015-11-10remove execute permission from many files that should not have itOz Linden
2015-10-02MAINT-3568 Mac OS X, ALM, Full Bright, Shininessruslantproductengine
The reason of this bug the same as was in MAINT-4165, MAINT-4839. I.e. in short: SL engine is sensitive to the uniform variable location.
2015-03-01MAINT-4839 FIXED Animation of Mesh Dress doesn't work.ruslantproductengine
MAINT-4165 FIXED Crash on skinned, texture animated geometry with deferred rendering enabled.
2014-11-18Fix for gpu_bench crash without parallels knock-onGraham Linden
2014-11-17Avoid using GL_ARB_timer_query functionality when not supported and protect ↵Graham Linden
against probably-not-NULL current bound shader pointer