summaryrefslogtreecommitdiff
path: root/indra/llrender/llrender.cpp
AgeCommit message (Collapse)Author
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
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
2013-09-23NORSPEC-285 fix merge error with attenuation on alpha masquerading as this ↵Graham Linden
norspec from wayback
2013-09-18The unbearable lightness of being norspecGraham Linden
2013-10-08Fix for random bad colors in UI on Intel HD 4000Dave Parks
2013-08-09second phase summer cleaningRichard Linden
replace llinfos, lldebugs, etc with new LL_INFOS(), LL_DEBUGS(), etc.
2013-07-01NORSPEC-290 Shader optimization WIP -- compatibility pass with OpenGL 3.3, ↵Dave Parks
slight cleanup.
2013-06-28NORSPEC-290 Shader optimization WIP -- remove a couple normalizes, pows, and ↵Dave Parks
divides from various lighting functions.
2013-06-27Automated merge with ↵Dave Parks
https://bitbucket.org/lindenlab/viewer-development-materials
2013-06-17MAINT-318 prevent crashes from incomplete quads and lines and prevent ↵Graham Linden
drivers from crashing to desktop when passed short buffers
2013-06-05merge with viewer-releaseRichard Linden
2013-05-09Merge downstream code and viewer-betasimon
2013-04-22for SH-4133: create a debug tool to show textures in active fetchingXiaohong Bao
2013-04-19merge changes for DRTVWR-294Oz Linden
2013-04-11Merge in downstream code (chui fixes, materials)simon
2013-03-29Update Mac and Windows breakpad builds to latestGraham Madarasz
2013-03-04Automated merge with https://bitbucket.org/lindenlab/viewer-catDave Parks