summaryrefslogtreecommitdiff
path: root/indra/newview
AgeCommit message (Collapse)Author
2019-04-03SL-10189, SL-10880: Mark the day instance so that it does not try to ↵Rider Linden
reanimate a day cycle when setting a fixed sky. Add new floater for setting the shared environment to local and allowing modifications.
2019-04-03Add shader unloads for new deferred avatar/attachment alpha/mask shadow shaders.Graham Linden
2019-04-03Replace MAINT-8836 fix dropped in merge of 6.1.2Graham Linden
2019-04-03Replace dropped code from 6.1.2 for loading new avatar/attachment alpha/mask ↵Graham Linden
shadow shaders.
2019-04-03Remove unused iterator for Xcode 10.2 happiness.Graham Linden
2019-04-03SL-10876Graham Linden
Fix edge cases in determining when we can skip doing shadow rendering work.
2019-04-02SL-10855Graham Linden
Apply sRGB colorspace to deferred cloud output.
2019-04-02SL-10857Graham Linden
Juggle forced frag depths for moon/sun/stars/sky to get depth fighting with distant terrain...wait for it...sorted.
2019-04-02SL-10853Graham Linden
Fix windlight shader level selection.
2019-04-02Fix shader link fail from forward decl of wrong soft clip func in class 1.Graham Linden
Fix trying to bind diffuse maps for shader without uniform in shadow shaders. Clean up merge fail around mShaderLevel namechange.
2019-04-02Merge 6.1.2 LoveMeRender new hotnessGraham Linden
2019-04-02Merged in lindenlab/viewer-releaseAndreyL ProductEngine
2019-04-02increment viewer version to 6.1.2Nat Goodspeed
2019-04-02Merged in Geenz/viewer-eep-shader-fixes (pull request #322)Rider Linden
Water plane rendering improvements Approved-by: Graham Madarasz <graham@lindenlab.com>
2019-04-02Make sure emissive is actually handled with atmospherics consistently.Geenz
2019-04-01Scale the specular contribution to account for brighter highlights.Geenz
This is more or less to achieve the non-ALM bloom behavior in most circumstances. Why scale it? Normalized blinn-phong gets brighter the higher the specular exponent. As it stood, the old spec contribution was extremely bright despite looking "correct". This is largely eyeballed, but generally looks better for all light sources applied to the surface of the water.
2019-04-01Make sure that atmospheric calcs aren't done twice.Geenz
The atomospherics were being applied both in the G-buffer and during the sun light pass. This ensures that is not the case. Additionally, re-enable specular on the water plane, scale the bloom factor to something more reasonable, and also someone broke specular on emissive surfaces. That's fixed too now.
2019-04-01Whoops, forgot a shader!Geenz
2019-03-30Make sure the specular and diffuse buffers are being sampled in sRGB space.Geenz
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-29SL-10566Graham Linden
Enable RenderAlphaBatchEmissives by default to get some perf back.
2019-03-29SL-10844, SL-10584Graham Linden
Add Geenz doings to the contribs list. Fix per-frag atmospherics to use sRGB conversion. Update ref to new KDU package.
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-29Back out a couple of not-so-well tested changes.Geenz
2019-03-29Merge with upstream at https://bitbucket.org/rider_linden/viewer-eepGeenz
2019-03-29Merged in andreykproductengine/maint-eep (pull request #315)Rider Linden
SL-10766 and SL-9650 Approved-by: Andrey Lihatskiy <andreylproductengine@lindenlab.com> Approved-by: Rider Linden <rider@lindenlab.com>
2019-03-29Merged in maxim_productengine/viewer-eep (pull request #317)Rider Linden
SL-10833 FIXED [EEP] Text in the Sky Altitudes boxes is low contrast and difficult to read. Approved-by: Andrey Kleshchev <andreykproductengine@lindenlab.com>
2019-03-29SL-10833 FIXED [EEP] Text in the Sky Altitudes boxes is low contrast and ↵maxim_productengine
difficult to read.
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-29SL-9650 About Land UI is corruptedandreykproductengine
2019-03-29Fixing gamma correction in EEP Step 1:Geenz
Thou shall always read the sky cubemap as sRGB using hardware sampling.
2019-03-28SL-10831Graham Linden
Make moon brightness env setting affect moon diffuse/ambient color combo so it affects in-world lighting. Adjust how the moon brightness affects the moon disc texture rendering (washes out less).
2019-03-28SL-10829, SL-10830Graham Linden
Replace old spot prio calc. Replace fudge factors on light radius and falloff for deferred lights.
2019-03-28SL-10766 Viewer is crashed after changing "day offset" settingsandreykproductengine
2019-03-27Fix projector falloff and attenuation handling.Graham Linden
2019-03-26Remove remaining 0.5/1.5 fudge factors on lighting radius/falloff params.Graham Linden
Make moonlight darker and slightly bluish for scotopic feel when moon is primary.
2019-03-26Modify spotlight prio calc to more stable version.Graham Linden
2019-03-26Fix unused var warn-error for Clang.Graham Linden
2019-03-26More consistent lighting across ALM/non-ALM/deferred/forward rendering.Graham Linden
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-25Add clamp to keep speccolor non-negative.Graham Linden
Make spot shadowing more consistent.
2019-03-22Fix class1/2 light sum loops to use light_diffuse[0] for sunlight_color too.Graham Linden
Rearrange ordering of scale down of light in class1 as well.
2019-03-22Make class3 light sum loop use light_diffuse[0] for sunlight_color instead ↵Graham Linden
of atmosAffectDirectionalLight with sunlight_color that isn't updated correctly.
2019-03-21SL-10751Graham Linden
Fix skydome VB generation to cover entire range of phi (give sky pants). Add shader code to fade out clouds to simulate old look at altitude.
2019-03-20SL-10449Graham Linden
Fix name of attenuation setter used. Fix flipped light vec. Make class3 lights use shadows on projector ambiance too.
2019-03-20SL-10449Graham Linden
Make setting ALM from Mid through High graphics possible on OSX by fixing link error from softenLight shader. Set values to the atmos attenuation and additive color varyings to avoid warnerror from OSX GLSL compiler/linker.
2019-03-20Backed out changeset: 29f763ea2f9bAndreyL ProductEngine
The fix caused SL-10357
2019-03-20Merged in graham_linden/viewer-eep-fixes (pull request #305)Rider Linden
SL-10764, SL-10768. SL-10763
2019-03-19SL-10763Graham Linden
Fix broken logic for alpha drawpool when rendering with basic shaders off. Force unbind of 2nd tex unit that we use during water rendering.