summaryrefslogtreecommitdiff
path: root/indra/newview/lldrawpoolwlsky.cpp
AgeCommit message (Collapse)Author
2022-10-11SL-18190 Cleanup -- convert some vec4's to vec3's (as they really are), ↵Dave Parks
remove some unused glsl files.
2022-01-14SL-16606: Add profiler category DRAWPOOLPtolemy
2021-11-30SL-16386 consolidate all VertexShader capability checks to a single ↵Dave Houlton
LLPipeline::shadersLoaded()
2021-11-30SL-16386 remove references to (const true) LLGLSLShader::sNoFixedFunctionDave Houlton
2021-10-19SL-16197 Optimize LLEnvironment handling of shader uniforms. Instrument ↵Dave Parks
LLSD. Enable Fast Timers when Tracy is enabled to catch Fast Timer overhead.
2021-01-29SL-14706 Merge Sovereign Engineer's fix for stars not centered around ↵Ptolemy
camera: Stars render around center of sim instead of center of camera.
2020-09-15Revert "SL-13768 Remove glow from moon when sun is down due to it using the ↵Dave Houlton
sun glow setting (pull request #297)"
2020-09-12Merged in SL-13768_remove_moon_glow (pull request #297)Michael Pohoreski
SL-13768 Remove glow from moon when sun is down due to it using the sun glow setting
2020-09-11SL-13465 Restore Pre-EEP haze effecting moonPtolemy
2020-09-11SL-13768 Remove glow from moon when sun is down due to it using the sun glow ↵Ptolemy
setting
2020-08-28SL-13768 remove moon glow from sky and cloudsDave Houlton
2020-04-20Merge branch 'master' into DRTVWR-497Andrey Lihatskiy
2019-10-25SL-12014 Animesh is now a separate rendering typeandreykproductengine
2019-06-20SL-11373Graham Linden
Fix class2/windlight clouds.
2019-06-11SL-11370, SL-11372, SL-11337Graham Linden
Fix culling on Low+ water reflection pass. Make Mid+ / High use class1 deferred sky again (no rainbows, but faster!). Fix setting of cloud color for deferred sky/cloud shaders. Put water reflections back in wrong colorspace for consistency with release.
2019-06-06SL-10969Graham Linden
More tweaking ambient light.
2019-06-05SL-11357Graham Linden
Nerf moisture and ice levels iff there's no sun or moon to generate light to refract.
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-30SL-11071Graham Linden
Make sun disc and moon shaders use sRGB hardware tex sampling. Remove sun disc shader use of fullbright transport (fogging).
2019-04-18SL-10988Graham Linden
Make moon disc image render only if current or previous textures are available.
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-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-14Remove unused cloud shadow shader var for Clang.Graham Linden
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-04Fix line-endings.Graham Linden
2019-03-02SL-10664Graham Linden
2019-02-13SL-10181, SL-10546Graham Linden
Fix distortion map rendering in deferred mode not including underwater fog effects. Fix distortion map rendering not including post-deferred content at all. Fix distortion map rendering not including anything but sky when camera is underwater. Update sun_up_factor/sunmoon_glow_factor uniforms even when sun disc isn't in use.
2019-02-06SL-10478Graham Linden
Fix side-effects of having both sun and moon as potential directional light contributors. We pass an int to the shader indicating which to prefer instead of making per-pixel decisions and pass the moonlight color/di independently. Obsolete llsettingssky fade color which was unused elsewhere and cached for no reason.
2019-02-01SL-9996, SL-1130, SL-5546Graham Linden
Fix bug with setting texture matrix for rigged mesh. Fix z-fighting between sea and sky in ALM by cheating sky, stars, and moon using gl_FragDepth. Fix handling of atmospheric haze glow w.r.t independent sun/moon positioning (we can no longer depend on them being mutex to each other).
2019-02-01Roll back attempted fix for 9996 on ALM which has unacceptable knock-on effects.Graham Linden
2019-02-01Fix issue with OSX shader compiler not implementing #if correctly (nice job, ↵Graham Linden
Timmy).
2019-01-24SL-10276Graham Linden
SL-9851 Fix cloud shaders to ignore clouds when cloud_scale is 0. Fix creation of heavenly body geo to avoid degenerate vector math and not randomly flip orientation when crossing zenith. Add sun_up_factor to eliminate sun glow around moon when sun is down.
2019-01-04Add new shaders for generating shadows from clouds.Graham Linden
Add new class3 shadow shaders for VSM shadows. Add disabled shadow pass in WLSky for using above.
2018-12-10Mods to allow using ALM rendering in water reflections soGraham Linden
the reflections will better match what they're reflecting when ALM is enabled.
2018-12-05[EEP] NULL gAtmosphere crash fixandreykproductengine
2018-11-02SL-9806 stop rendering stars post deferred so they can be depth sorted ↵Graham Linden
properly with clouds and heavenly bodies.
2018-10-30SL-9976 change moon blend/brightness handling in shaders and cleanup ↵Graham Linden
extraneous GL state management.
2018-10-30SL-9966Graham Linden
Port over transport, gamma, atmospherics shader stub updates for per-fragment atmospherics. Fix bindings of current/next noise map when current and next are the same (select only one and force blend factor to 0).
2018-10-30SL-9766 Move up blend_factor init so we can override if we're short of ↵Graham Linden
blendable noise maps.
2018-10-30SL-9966 fix cloud noise map bindings when current and next are identical.Graham Linden
2018-10-29SL-9977Graham Linden
SL-9973
2018-10-22SL-9806Graham Linden
Get dome rendering to not assert the depth test state behind deferred render's back. Make clouds write and test depth to give stars something to depth test against. Add z-bias in star vert shader to force some depth testing of stars against clouds.
2018-10-09SL-1289Graham Linden
add cloud_variance control for randomized perturbance of clouds to break up tiling monotony
2018-10-08SL-9751Graham Linden
Add optional moon brightness setting
2018-10-05SL-1925Graham Linden
More settings for rainbow/halo atmospheric effects, final default asset UUIDs, and shader mods.
2018-10-02SL-9775Graham Linden
Add LLPointer<> on stack to avoid textures being deleted out from under the sky code. Make textures used by sky settings remove their faces from media textures. Add ability to detect when a given texture is viewer media with vfunc.
2018-10-01SL-1655Graham Linden
Make water horizon consistent between ALM and non-ALM rendering again. Fix using deferred sky rendering in reflections. Make matrix mode explicit around push/pop for safety.
2018-09-18SL-1475Graham Linden
Make stars use higher alpha and brighten reflected color before mixing to get stars to show up in reflections on water.
2018-09-17SL-1873Graham Linden
Make range of star brightness in code and in UI 0-500 (not 512).