Commit Graph

41082 Commits (b507d63566e8896af702dd10f5643dc29068a8a9)

Author SHA1 Message Date
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 230c9b68d8 Remove binding and use of glIsShader for now (only useful for avoiding warnings about deleting shader objects re-used across programs). 2019-07-22 16:24:49 -07:00
Graham Linden b346624307 SL-10761
Make vograss objects set their face vert/index counts to 0 when setting
the number of blades to 0 to disable rendering so we don't allocate space
and then skip setting it up with actual index data in getGeometry.
2019-07-22 15:44:35 -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
maxim_productengine b1231c33ca SL-11557 FIXED [EEP] Clicking near a selected keyframe moves the keyframe 2019-07-19 11:28:29 +03:00
andreykproductengine 92a54be1ff SL-11598 Make internal view a perfect square to ensure identical x and y behavior 2019-07-16 18:14:43 +03:00
Graham Madarasz ced2ca2acd Merged in graham_linden/viewer-eep-g (pull request #465)
SL-11605, SL-11610
2019-07-16 21:15:41 +00:00
Graham Linden dc7aa170b8 SL-11610
Give bake its own RT to avoid issues with sharing the water distortion map.

Use glFinish to insure RTs will be complete.
2019-07-16 14:12:37 -07:00
Graham Linden 00590defe4 SL-11605
Fix broken throttling of sky/envmap updates.
2019-07-16 10:40:01 -07:00
Graham Linden 5bae46b357 Add more asserts to try to catch 10761 before the driver kabooms. 2019-07-16 08:22:34 -07:00
andreykproductengine bba3cc5987 SL-11599 Crash on closing floater with uncommited changes 2019-07-16 17:07:41 +03:00
Graham Madarasz e96356ce60 Merged in graham_linden/viewer-eep-g (pull request #462)
SL-10761, SL-11590, SL-10625
2019-07-15 23:23:48 +00:00
Graham Linden f6eab05017 Fix OSX compiler error from missing defaulted param and changed signature of renderAlphaMaskTextures. 2019-07-15 16:02:10 -07:00
Graham Linden 2fa2da3302 SL-11590
Modified windlight shader to remove adjustment to glow.z
2019-07-15 15:59:45 -07:00
Graham Linden 946da4e507 SL-10761
Add work-around for broken intel drivers which can't use glReadPixels from RGBA FBOs to get alpha without locking up.
2019-07-15 15:04:48 -07:00
Graham Linden ddf703611d SL-10761
Add code to force a usage hint when VBOs are disabled and make useBVOs reflect that as well.
2019-07-15 10:33:16 -07:00
Graham Linden afdda55b8f SL-11588
Make avatar alpha shader ignore vertex color again.
2019-07-12 14:45:15 -07:00
Graham Linden 1133160476 SL-11109
Make shadowAlphaMask shader ignore vertex alpha before discards iff we're a fullbright object.

Keep llappearance from stuffing dangling pointers into the alpha cache (crash iff you're using nSight debugging and disable readbacks).
2019-07-12 13:26:02 -07:00
Graham Linden 5bd99a6c5c SL-11370
Prevent Low/Low-mid from including things in the distortion map render it should not.
2019-07-12 10:50:59 -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 6a7f12ebcf SL-10625
Keep texture baking from pointlessly mercy flushing GL like a kid that just discovered the toilet handle.

Make glReadPixels call use GL_ALPHA8 (a texture format) instead of GL_ALPHA (an enum to indicate the alpha channel).
2019-07-11 13:34:32 -07:00
Graham Linden 695ec5229f Fix knock-on from touching the sky tex gen which also generated the shiny env map. 2019-07-11 08:33:41 -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
Graham Linden d23bf2c16e SL-11541 WIP
Make LLSettingsSky::gammaCorrect work like the soft scale clip and gamma correct from release.

Add transmittance effects to the low-end sky tex gen.
2019-07-10 13:02:09 -07:00
andreykproductengine 01bdbdb6ac SL-11572 [EEP] Revert keyframe markers to dots 2019-07-10 19:09:45 +03:00
Graham Linden 5e84b7af35 Fix materials content being emissive when it should not. 2019-07-08 13:23:43 -07:00
Graham Linden a03221d534 Make dyn tex updates happen during display startup again (didn't help 10625 anyway). 2019-07-08 13:09:20 -07:00
Graham Linden 76c41dafe9 Roll back 10625 change and continue to side-step intel readback bug. 2019-07-08 11:18:54 -07:00
Graham Linden 26bf61811b SL-10625
Appease Clang.
2019-07-08 11:06:42 -07:00
Graham Linden c1b6d91c32 SL-11540
Make class1/environment and class1/deferred water match.
2019-07-08 10:48:34 -07:00
Graham Linden 1d86dcd846 SL-10625 another shot across the bow
Move dynamic texture update (which does local back readback work) to just before swap
which may keep the Intel driver from tripping on its own shoelaces and is also subjectively faster for bakes.
2019-07-08 10:10:22 -07:00
Graham Linden 9f2148cc1f SL-11552
Fix materialF including debug force to linear color and re-add logic
to stomp emissiveness when normals are not present unless explicitly requested via diffuse alpha mode.
2019-07-05 11:21:45 -07:00
Graham Linden 48f169423b SL-11545, SL-11543, SL-10625
Fix emissives without normal maps clobbering the alpha output in materialF.

Modify glow size calc to get close to pre-EEP sun glow behavior (may require sky vert settings >= mid).

Make bake ignore alpha readback for Intel until we can determine why their drivers now go boom.
2019-07-03 10:04:05 -07:00
Graham Linden 7e5000bb64 SL-11533
Make alpha shader include vertex color modulation in both srgb and linear flavors.
2019-07-02 11:20:09 -07:00
Graham Linden 576f1cdd7e SL-11521, SL-10625
Try aligning data used for glReadPixels to see if we can coax the Intel driver stack into being a less souciant pile of detritus.

Replace face color based test replaced with other logic in error.
2019-07-01 17:23:59 -07:00
Graham Linden f770e55ac6 SL-11427
Fixed downscaling of the refscale passed in from WL in the water shader.
2019-07-01 12:04:26 -07:00
Graham Linden 2911cd3623 SL-11519
Make refraction map include objects for all reflection detail levels.
2019-06-28 15:57:22 -07:00
Graham Linden 21536f412e SL-11521
Make llvovolume submit completely transparent yet still glowy faces again.
2019-06-28 15:49:42 -07:00
Graham Linden 118151750d SL-11381
Make fullbright alpha test use correct handling when mask cutoff == 0.
2019-06-28 15:33:39 -07:00
Graham Linden 83d3e565f7 Modify water blend between refl and refr maps to preserve sunset colors more like non-ALM. 2019-06-28 14:47:24 -07:00
Graham Linden 4e796ce898 SL-9928
Take out angular atten on additive too.
2019-06-28 11:07:44 -07:00
Graham Linden c169707993 SL-9928
Remove spec killing additive fix for 1491 to unbreak fog.
2019-06-28 10:58:32 -07:00
Graham Linden b659e5596e SL-11514
Convince Geenzo code to get a little DeMorgan in it.

Trophy Unlocked: make all alpha textures partcipate in picking.
2019-06-28 08:45:07 -07:00
Graham Linden 7c651f8423 SL-11512
Modify method for nerfing additive on terrain so it doesn't trip up deferred lighting and make light artifacts.
2019-06-27 16:07:54 -07:00
Graham Linden 4b8ec2f11f SL-11503 take two
Make ALM use of non-ALM water rendering for refraction map light differently than non-ALM use of same.
2019-06-27 15:15:09 -07:00
Graham Linden 774d91b20b SL-11503
Make underwater terrain shader mult vert lighting.
2019-06-27 09:46:15 -07:00
Graham Linden 8ba159fed9 SL-11151, SL-11504
Remove update threshold logic causing hiccups and rework sky updates.

Make deferred water do double transport again to match non-ALM rendering more closely.
2019-06-27 09:10:38 -07:00
Graham Linden cfdcd0fc8c SL-11151
Modify env settings blender to not skip.
2019-06-26 13:37:07 -07:00
Graham Linden 9eeb4c9750 SL-10625
Make intel throttle the CPU with sleeps in all cases and fix calc of microsec frame time.
2019-06-25 15:14:32 -07:00
Graham Linden d7e5d8d11b Put bloom rendering back as it was. 2019-06-25 13:02:07 -07:00