summaryrefslogtreecommitdiff
path: root/indra/newview
AgeCommit message (Collapse)Author
2019-04-02Merge 6.1.2 LoveMeRender new hotnessGraham Linden
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.
2019-03-19SL-10764Graham Linden
Fix the light_atten decsl for specular lighting too.
2019-03-19SL-10764Graham Linden
Fix lighting issues when using shaders, but not ALM. Shader code cleanup (remove do nothing functions only in one file). Fix obsolete comment to refer to correct storage for projector ambiance.
2019-03-19SL-10773: Logic was reversed. Test for mCurrentEvenriont missingRider Linden
2019-03-15Make alpha drawpool optimizations an opt-in render debug setting for the ↵Graham Linden
adventurous.
2019-03-15Disable optimizations to batch fullbright and emissive draws together to ↵Graham Linden
minimize GL blend state changes.
2019-03-15Restore optimizations for fullbright/emissives with changes to fix lighting ↵Graham Linden
breakage when they're in play.
2019-03-15MergeGraham Linden
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-03-15SL-10672 Fixed Sun transitioned to image from previous keyframeandreykproductengine
2019-03-14MergeRider Linden
2019-03-14MergeRider Linden