Commit Graph

461 Commits (bdc94eac5cda3dd6700a1cd462178b7ac3c4cfec)

Author SHA1 Message Date
Rye Mutt 994d432e66 Port required changes to render rainbows and sun dogs to class1 deferred sky shader and remove redundant and slow class2 version.
# Conflicts:
#	indra/newview/app_settings/shaders/class2/deferred/skyF.glsl
2022-09-30 21:50:48 +03:00
Ptolemy cc6d132e90 SL-14732: Merge Sovereign Engineer's cloud patch: Fix writing outside outside of the bound fbo in forward render class2 cloud shader 2021-01-29 14:32:37 -08:00
Ptolemy 1e26adf288 SL-14707: Merge Sovereign Engineer's fix for clouds: Clouds are unusually dim in EEP 2021-01-22 16:31:50 -08:00
Dave Houlton 28b9a465ac SL-13629, reconstruct rainbow lookup coord to reduce interior banding 2021-01-19 11:26:13 -07:00
Dave Houlton 9e58a7bdd6 SL-13629 Modify texcoord to reverse rainbow color order 2021-01-13 09:15:45 -07:00
Ptolemy daa957b93b SL-14035: Incorporate patch from Sovereign Engineer to fix specular reflection 2021-01-06 17:38:24 -08:00
Dave Houlton eb6c8c937e Merge branch 'master' 6.4.10 into DRTVWR-510 2020-09-29 14:02:22 -06:00
Dave Houlton e8f4017b91 DRTVWR-4976 Misc shader cleanup.
Removed some potential div-by-0 NaNs and a mangled clamp.
2020-09-16 17:38:56 -06:00
Dave Houlton a5e8b6cea5 SL-13768 clang-format class2 deferred skyF.glsl (whitespace) 2020-09-16 16:47:23 -06:00
Dave Houlton 038929158c SL-13768 de-obfuscate the ALM version of skyF.glsl 2020-09-16 16:42:53 -06:00
Dave Houlton be99bca2c3 SL-13768 remove moon glow from ALM deferred path as well 2020-09-15 16:52:13 -06:00
Dave Houlton 16be7c27c6 SL-13768 clang-format shader files (whitespace) 2020-08-28 10:54:23 -06:00
Dave Houlton 0f80162dcf SL-13768 de-obfuscate cloud/sky vertex shaders 2020-08-28 10:45:12 -06:00
Dave Houlton 7396879ef6 SL-13768 remove moon glow from sky and clouds 2020-08-28 09:50:01 -06:00
Dave Houlton c21fe67ddd SL-13416 eliminate sun/moon specular on shadowed surfaces 2020-07-21 15:44:25 -06:00
Dave Houlton 1e801c7eea SL-13163 - Fix (revert) EEP specular contribution calculation for deferred 2020-07-14 11:36:43 -06:00
Dave Houlton 0e3e3db40e SL-13416 eliminate sun/moon specular on shadowed surfaces 2020-06-22 14:43:41 -06:00
Dave Houlton c5f00ab478 SL-13449, fix link errors for class1 soften shaders 2020-06-16 18:22:35 -06:00
Dave Houlton ea9afd6600 SL-13084 Combined commit for the EEP specular color fix
SL-13084: Fix clouds flipped along East/West axis to match texture preview Cloud Image and direction to match Cloud Scroll

SL-13804: Fix clouds flipped along East/West axis to match texture preview Cloud Image and direction to match Cloud Scroll

SL-13084: Fix inverted cloud scroll with ALM is off

SL-13084: Move texture coords section to top in class2/windlight/cloudsV to match class1/deffered/cloudsV

SL-13084: Add references to other common files
2020-06-13 08:31:01 +03:00
Ptolemy 8925e821e8 SL-13084: Add references to other common files 2020-06-05 09:35:45 -07:00
Ptolemy 4a92f17870 SL-13084: Move texture coords section to top in class2/windlight/cloudsV to match class1/deffered/cloudsV 2020-06-05 09:35:45 -07:00
Ptolemy b6941de16a SL-13084: Fix inverted cloud scroll with ALM is off 2020-06-05 09:35:45 -07:00
Ptolemy 534d326c48 SL-13084: Fix clouds flipped along East/West axis to match texture preview Cloud Image and direction to match Cloud Scroll 2020-06-05 09:32:37 -07:00
Dave Houlton 3c4a1b3fd8 SL-13163 - Fix (revert) EEP specular contribution calculation for deferred 2020-05-21 17:27:53 -06:00
Dave Houlton ff27f6c8f7 SL-13019, fix broken varying linkage on MacOS 2020-04-14 12:56:40 -06:00
Runitai Linden 9e0cf3edaa Fix for class2/softenLightF.glsl not matching class1/softenLightF.glsl 2020-03-25 15:29:11 -05:00
Runitai Linden 3d22273726 Fix for bad fullbright shiny shininess values and inconsistency between materialF and fullbrightShinyF 2020-03-24 11:22:01 -05:00
Runitai Linden 3e472948db WIP - Make EEP match production. 2020-03-20 16:50:37 -05:00
Ptolemy 3792c3c7de SL-12850 Adhere to coding standard 2020-03-13 12:37:14 -07:00
Ptolemy bedbbdc5c3 SL-12850 remove debug 2020-03-13 12:35:12 -07:00
Ptolemy 744872b43d SL-12850 2020-03-13 11:46:13 -07:00
Runitai Linden 0a0cfcf2ef SL-12233 Fix for disagreement between fullbright implementations with ALM on and off. 2020-03-13 12:58:47 -05:00
Ptolemy d32821ea5b SL-12574 Fix EEP cubemap not matching non-EEP for both ALM on and off 2020-03-06 17:20:46 -08:00
Runitai Linden f0a9b6c01b Fix for sunlight having improper gamma curve for angular attenuation. Fix for lack of angular attenuation on ambient lighting on triangles facing away from sun. 2020-03-06 14:27:46 -06:00
Runitai Linden a3759b4910 Fix for sky in wrong color space. 2020-03-06 13:54:27 -06:00
Runitai Linden 7d0cf70e4f Fix for under water being much brighter and mismatching between alpha and deferred. Don't make terrain fullbright under water. 2020-03-06 11:05:55 -06:00
Runitai Linden 7c7d71269f WIP - Windlight sun lighting should happen in sRGB space, not linear space. This keeps ambient from getting overblown and better matches environment lighting with ALM on/off. 2020-03-05 16:28:06 -06:00
Runitai Linden 1481d78bb2 Changes somehow missing from last commit 2020-03-04 16:23:31 -06:00
Ptolemy 22ec67975c SL-12574: Simplify Direct Ambient 2020-02-25 13:25:15 -08:00
Ptolemy 4be51fa559 DRTVWR-440: SL-12574: Tweak environment cube map to better match Windlight 2020-02-07 16:17:15 -08:00
Dave Houlton c1652b4c42 SL-12005, back out SRGB changes for projector spotlights
Deferred spotlights were transitioned srdb->linear in commit 653133b
The lights transition between the deferred and (some other) path at fixed camera
distance, causing a distinct light-level pop. Backing out this change to avoid
the pop. Note to the future: pick a light space at the beginning and stick with it.
2020-02-04 10:45:05 -07:00
Dave Houlton 020ffe1bd3 SL-11055 Increase fog burn-through for fullbrights (for reals) 2019-12-03 17:49:49 -07:00
Dave Houlton 41330f4a39 Roll back commit 41531 2019-11-25 15:03:09 -07:00
Dave Houlton 24920de799 SL-11055 Add back pre-EEP fog burnthrough for fullbrights 2019-11-19 12:15:45 -07:00
Graham Linden 4e4011cddc SL-11589
Modify altitude blend factor in cloud shaders to fade more aggressively and fix cloud rendering artifacts when at altitude.
2019-08-13 08:14:14 -07:00
Graham Linden eb9a977a36 SL-11550 2019-07-24 16:07:53 -07:00
Graham Linden b507d63566 SL-11621
Remove all references to unused shader var global_gamma.

Remove many unused decls for gamma from shaders.

Make post-deferred gamma correction use display_gamma.

Make setting display_gamma use the correct RenderDeferredDisplayGamma setting.
2019-07-23 11:36:22 -07:00
Graham Linden aa4b24beee SL-11443
Make fullbright rigged objects with alpha mode none use fullbright shader instead of incorrectly using the material shader.

Increase effect of variance in cloud shaders.
2019-07-22 12:21:24 -07:00
Graham Linden b8f64c55b7 SL-11545
Fix glow calcs in sky shaders (not just the not shared enough atmospherics funcs).

Revert 10625 attempted fix as it breaks baggy clothes as much as skipping readbacks does.
2019-07-12 09:34:38 -07:00
Graham Linden 664722168d SL-1491
Make sun additive contribition depend on facing the sun (without breaking fog).

Put back scaling factor keeping sun contrib from blowing out with new FS param range for glow.
2019-07-10 14:50:59 -07:00