summaryrefslogtreecommitdiff
path: root/indra/llrender/llrender.cpp
AgeCommit message (Collapse)Author
2021-06-07Merge branch 'master' into DRTVWR-516-maintAndrey Lihatskiy
2021-01-06SL-14035: Don't use sRGB textures when not specifiedPtolemy
2020-09-28Merge branch 'master' into DRTVWR-516-maintAndrey Lihatskiy
# Conflicts: # indra/newview/llvocache.cpp
2020-09-17SL-13729 Performance of LLUI and LLRender2DAndrey Kleshchev
2020-08-05SL-13521, clang-format LLRender::syncLightState() (whitespace)Dave Houlton
2020-08-05SL-13521, stamp out some remaining hard-coded 8sDave Houlton
2020-08-04SL-13521 add an avatar appearance light to deferred modeDave Houlton
2020-06-11SL-13281, add missing srgb->linear conversion for specularDave Houlton
2020-04-21Fix for 'release' configurationAndrey Kleshchev
llassert is not used in 'release' configuration and build fails due to unused tex_index
2020-04-20Fixed merge conflict and restored SL-1130Andrey Kleshchev
2020-04-20Merge branch 'master' into DRTVWR-497Andrey Lihatskiy
2020-03-24Fix for bad fullbright shiny shininess values and inconsistency between ↵Runitai Linden
materialF and fullbrightShinyF
2019-11-29SL-1130 Prevent crash on mMatrixandreykproductengine
2019-05-21SL-11238Graham Linden
Fix ambient light inputs to the renderer. Fix 3rd sky shader w/ mistaken density mod conversion. Make ambient clamp apply to all modes. Tune ALM ambient clamp to match non-ALM.
2019-05-07SL-11055, SL-10966, SL-11087Graham Linden
Make haze look more like WL. Make lack of sun and moon mean black and fixed dir to prevent spooky underlighting.
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-03-30Hide sRGB decode behind a flag, and make sure that sRGB decodes is strictly ↵Geenz
opt-in.
2019-03-30Additional gamma correction work: start moving over to EXT_texture_sRGB_decode.Geenz
2019-03-29Tweaked naming a bit, also white space.Geenz
Will wait for a response from @graham_linden regarding moving the sRGB conversion functions in llmath.h to llrender.
2019-03-29Gamma correction pass 2:Geenz
Make sure lights are in the correct color space. Bonus: cache the sRGB color in setLightColor on point and spot lights. Frees up a pow and some multiplies on the CPU every frame.
2019-03-26Make whether the sun or moon is primary part of llrender light state so we ↵Graham Linden
can set uniforms for shaders along with other light params. Fix atten calcs to not use abs val.
2019-03-15SL-10743, SL-10744Graham Linden
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-02-21SL-10501Graham Linden
Fix broken matrix management code causing modelview mats to be used as tex anim mats (do not depend on default matrix mode already being set). Give the deferred terrain shader a name. Make LLRender use the eMatrixMode enum instead of ints.
2019-02-08Replace funcs dropped in merge.Graham Linden
2019-02-07SL-10486, SL-10501, SL-10487Graham Linden
Make moon texture from default daycycle the default moon texture id and use it for the default and blank assets in the picker. Fix handling of MM_TEXTURE to correctly detect when texture units outside the range 0-3 are used with texture matrix ops to prevent mem overwrite bug and/or asserts.
2019-02-04SL-10461Graham Linden
Pass projector ambiance as the .w element of the light_attenuation uniform so that alpha shader can emulate the behavior of proper spot projectors.
2018-10-29SL-9977Graham Linden
SL-9973
2018-09-06Fix tex format mismatch between what libatmosphere was generating and what ↵Graham Linden
we were claiming to use in rendering. First pass at sky shader using libatmosphere sky radiance lookup. Add atmo density controls to ext daycycle floater tabs.
2018-06-29MAINT-8817 remove automatic update of inv_proj matrix so sunLightF which ↵Graham Linden
expects it not to match the projection mat works again Fix misspellinging in missing settings asset notification string Fix moon quat conversion to get proper directional rotation Add early out so attempting to set parcel env settings doesn't crash
2018-06-05EOL in llsetingssky.cpp and llrender.cpp. const on ptr_t & in llenvironmentRider Linden
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-05-01Le MergeGraham 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-02-15Add debug setting and code to allow nVidia nSight graphics debugging to ↵Graham Linden graham@lindenlab.com
capture SL frames. These changes are only enabled if RenderNsightDebugSupport is true and eliminate use of some OpenGL legacy functionality which is incompatible with nSight capture (mostly glReadPixels and other fixed-function pipe rendering calls).
2017-03-13SL-644 Add guard to mCount in LLRender.cppCallum Prentice
2017-02-03Automated merge with ssh://bitbucket.org/lindenlab/viewer-releaseNat Goodspeed
2016-12-15BUG-41027 (FIX) Changing login location at the login screen crashes the viewerCallum Prentice
2016-11-04MAINT-6905 reducing log spamandreykproductengine
2016-04-24Fix a crash is drawn vertices is 0.Nicky
(transplanted from 89b3e585218ddb8d6a3e62af29f8daf889371e5e)
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
2015-11-10remove execute permission from many files that should not have itOz Linden
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-03MAINT-3585 FIXED Viewer Crashes when attempting to upload image.ruslantproductengine
The bug was fixed, the reasone of crash is following. The Core Flow view contain another GL context and will not care about restoring a previous. I restore context manually. This path also contain a minor changes in another files. All changes described here. Сhange's for fix current bug. indra/llwindow/llwindow.h indra/llwindow/llwindowheadless.h indra/llwindow/llwindowmacosx.h indra/llwindow/llwindowsdl.h indra/llwindow/llwindowwin32.h indra/newview/lllocalbitmaps.cpp indra/newview/llviewerdisplay.cpp indra/newview/llviewerdisplay.h Twice mUsage initialization (replace to forward initialization). indra/llcharacter/lljointstate.h Looks like condition should be befor memcopy call, otherwise - possible CRASH. indra/llcommon/llmd5.cpp Unused condition and variables. indra/llmath/llsphere.cpp Looks like should be under if otherwise - possible CRASH indra\llprimitive\llmodel.cpp Useless assert's. indra/llrender/llrender.cpp indra/newview/lldaycyclemanager.cpp
2014-09-10MAINT-3964 FIXED Textures with Alpha won't Animate on Rigged Mesh when worn ↵ruslantproductengine
: fix in shader (mul texcoord to tex matrix), array's optimization
2014-03-12merge with releaseRichard Linden
2013-10-30MAINT-3359 Don't check for LLGLSLShader::sNoFixedFunction as we don't want ↵Mnikolenko ProductEngine
to loose ui colours(depending on enabled/disabled basic shader).
2013-10-08merge from viewer-releaseRichard Linden
2013-10-01Automated merge with http://bitbucket.org/lindenlab/viewer-releaseRichard Linden