summaryrefslogtreecommitdiff
path: root/indra/llrender/llglslshader.h
AgeCommit message (Collapse)Author
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-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-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-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-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-09-22MergeRider Linden
2017-09-20Cleanup inside GLSLShader for uniform mapping.Rider Linden
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-03-16merge changes for DRTVWR-417Oz 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
2014-03-19MAINT-3131 Use benchmark to determine GPU class instead of GPU table.Dave Parks
2013-07-01Automated merge with https://bitbucket.org/lindenlab/viewer-catDave Parks
2013-06-28Merge with viewer-bear which was just merged with viewer-releasecallum_linden
2013-06-27Automated merge with ↵Dave Parks
https://bitbucket.org/lindenlab/viewer-development-materials
2013-06-21Automated merge with file:///F:%5Cviewer-bearDave Parks
2013-06-18Occlusion culling overhaul.Dave Parks
2013-05-22Revert changes for MAINT-2616 due to licensing issues, need a full patchsimon
submitted to be acceptable
2013-05-20MAINT-2616 : Updated my Intel driver and now have orange in buttons andsimon
Inventory pull down bar causing blinks to screen. Pulled in FS code, Reviewed by Kelly
2013-05-09Merge downstream code and viewer-betasimon
2013-04-25Merge 3.5.1 into MaterialsGraham Madarasz
2013-04-19merge changes for DRTVWR-294Oz Linden
2013-04-15NORSPEC-49 Add shader profiler, add support for ARB_depth_clamp where availableDave Parks
2013-04-11Merge in downstream code (chui fixes, materials)simon
2013-04-02NORSPEC-74 Fix for assert when Debug GL enabled when rendering materials.Dave Parks
2013-03-29Update Mac and Windows breakpad builds to latestGraham Madarasz
2013-03-01Make WL updates use pre-hashed strings for uniform setsGraham Madarasz (Graham)
2013-02-28Improve perf of GLSL uniform lookups by nameGraham Madarasz (Graham)
2012-09-03Extracted texture baking system into llappearance library.Don Kjer
2012-08-29Use an unordered map for custom #defines instead of a map. Lookups are ↵Jonathan Goodman
faster, and we don't really care about any particular order anyways for these.
2012-08-29Added the ability to remove a preprocessor define.Jonathan Goodman
2012-08-28Added new bindTexture and unbindTexture API to LLGLSLShader. Reviewed by davep.Jonathan Goodman
2012-08-28Added support for adding custom preprocessor definitions (for shader ↵Jonathan Goodman
permutations)
2012-05-21MAINT-616 Factor out calls to glGenFoo where possible, add setting to ↵Dave Parks
control synchronizing strategy WRT occlusion queries, add experimental transform feedback driven LoD update
2012-01-26* Fixed up shader compilation errors to get lighting and shadows working ↵Leslie Linden
again on Mac. * Cleaned up vertex buffer allocation to guarantee allocation and deallocation using the same allocation methods from the same pools. * Added new shader feature for atmospheric helpers in the absence of lighting. Reviewed by davep.
2011-12-14SH-2743 Fix for shader compiler error on some GL 3.x implementations.Dave Parks