Commit Graph

46289 Commits (8a82305068f68ae4075be7ff86b5b4af8a71e5c3)

Author SHA1 Message Date
Cosmic Linden 8a82305068 SL-18340: Fix PBR alpha materials treating spotlight as point light 2022-10-13 11:12:59 -07:00
Dave Parks 3ac80d7ec2 Merge branch 'DRTVWR-559' of ssh://bitbucket.org/lindenlab/viewer into DRTVWR-559 2022-10-10 18:57:32 -05:00
Dave Parks 07bca31e06 SL-18190 Fix alpha not playing nice with water surface by split LLDrawPoolAlpha into two passes, one above water, one below water, and clip against water plane. Currently brute forces two complete alpha passes, still need to cull against water plane and add support for fullbright shaders. 2022-10-10 18:53:43 -05:00
Andrey Kleshchev 15ac2f6763 SL-17653 Local materials should reuse existing pointer when present instead of creating a new one. 2022-10-11 00:37:24 +03:00
Dave Parks 5890f423b4 Merge branch 'DRTVWR-559' of ssh://bitbucket.org/lindenlab/viewer into DRTVWR-559 2022-10-10 10:20:16 -05:00
Jonathan Goodman 5c65f58cb8 Merged in SL-18290 (pull request #1151)
SL-18290

Approved-by: Dave Parks
2022-10-10 15:19:58 +00:00
Dave Parks 0fed3884c2 SL-18190 Use funky distance based error correction only on water surface (revisit for general use later). 2022-10-10 10:19:36 -05:00
Jonathan Goodman 7ff19ec98c Merged DRTVWR-559 into SL-18290 2022-10-10 15:19:04 +00:00
Dave Parks ace892b8f5 Merge branch 'DRTVWR-559' of ssh://bitbucket.org/lindenlab/viewer into DRTVWR-559 2022-10-07 19:27:40 -05:00
Dave Parks 25bff0c21d SL-18190 Move water shaders to class 3, add debug stub for underWaterF.glsl, make underWaterF and softenLightF apply water fog in linear space. 2022-10-07 19:27:19 -05:00
Andrey Kleshchev 2fa8bce1cf SL-18326 GLTF material functionality in a Notecard 2022-10-08 01:14:22 +03:00
Dave Parks 18309bc7fb SL-18190 Fix for DoF 2022-10-07 15:25:48 -05:00
Dave Parks 4a4b0f8ee8 SL-18190 Rearrange render order so 3D UI has access to the depth buffer. 2022-10-07 13:25:40 -05:00
Dave Parks 26f99409d2 SL-18190 Temporarily disable occlusion culling by default -- not compatible with depth buffer management changes. 2022-10-07 12:52:43 -05:00
Dave Parks 176f34791b SL-18190 Fix for mac build 2022-10-07 10:05:44 -05:00
Dave Parks 9448db5d4a SL-18190 Water shader WIP. Better parallax correction for sphere probes. Reduce probe memory footprint. Remove framebuffer copies and move to deprecate stencil buffer usage. 2022-10-06 18:40:01 -05:00
Jonathan Goodman a73b226f9e Merged DRTVWR-559 into SL-18290 2022-10-06 19:53:18 +00:00
Geenz Linden db92f95649 Switch away from std::string
API expects const char* anyways.
2022-10-06 15:18:17 -04:00
Geenz be1cdc1aaa Initial pass at adding KHR_debug support
This still needs some work - I'm not super satisfied with the overall structure of the code.  Will continue to iterate as I add in proper RenderDoc support.
2022-10-05 09:48:18 -07:00
Dave Parks 2b28fecf48 SL-18190 Fix for mac build 2022-10-05 10:44:17 -05:00
Dave Parks 46009c19e9 Merge branch 'DRTVWR-559' of ssh://bitbucket.org/lindenlab/viewer into DRTVWR-559 2022-10-05 08:12:00 -05:00
Dave Parks 30bcc7d6d5 SL-18190 WIP - Add refraction to water without splitting scene between above and below water 2022-10-05 08:11:33 -05:00
Andrey Kleshchev 1a437cbedf SL-18144 Bakes On Mesh not showing in-world as Albedo 2022-10-04 20:33:10 +03:00
Dave Parks 1e72e3d82c SL-18190 Remove some commented out code. 2022-10-04 12:21:25 -05:00
Dave Parks 1900df3615 SL-18293, SL-18190 -- Fix for debug displays not showing up (wireframe still busted). WIP on reflection probe/PBR driven water shader. 2022-10-04 12:20:19 -05:00
Dave Parks 7d42681501 SL-18239 Unify PBR and non-PBR treatment of ambient/SSAO/irradiance. Restore SSAO to release version. 2022-09-30 10:57:01 -05:00
Dave Parks d001c52c34 SL-18132 Fix for errant shadow when sun shadows are disabled. 2022-09-29 19:24:08 -05:00
Dave Parks 6f2acc8e60 Merge branch 'DRTVWR-559' of ssh://bitbucket.org/lindenlab/viewer into DRTVWR-559 2022-09-29 19:01:41 -05:00
Dave Parks 10b2d1be01 SL-18190 End of linear space odyssey -- just eat the conversions in atmosphericsFuncsF for sunlight and additive, but leave linear ambient in tact. 2022-09-29 18:56:21 -05:00
Brad Kittenbrink f2867c71db Better fix for DRTVWR-559 mac build breakage 2022-09-29 13:58:05 -07:00
Brad Kittenbrink 5c83ac76b5 fix for mac build breakage DRTVWR-559 2022-09-29 13:24:38 -07:00
Andrey Kleshchev 332ddc67de SL-17653 Small change in material loading order 2022-09-29 23:17:49 +03:00
Andrey Kleshchev 9346b45188 SL-17653 Multi-material file support for local materials 2022-09-29 22:39:32 +03:00
Brad Kittenbrink 02df55b9b3 Fix coding policy failure for DRTVWR-559 2022-09-29 11:32:23 -07:00
Dave Parks 411aa9f727 SL-18190 Fix for haze color being completely wrong (now it's just half wrong). 2022-09-29 00:19:52 -05:00
Dave Parks 2e499bcc40 SL-18190 Prune srgb_to_linear from atmosphericsFuncs.glsl 2022-09-28 19:14:00 -05:00
Dave Parks 2f082bb4ee SL-18190 Parity with release viewer when reflections are disabled. 2022-09-28 18:13:58 -05:00
Dave Parks d3b77a3fb7 Merge branch 'DRTVWR-559' of ssh://bitbucket.org/lindenlab/viewer into DRTVWR-559 2022-09-28 16:49:26 -05:00
Dave Parks f887f65830 SL-18190 WIP - Linear space atmospherics take 2 2022-09-28 16:49:11 -05:00
Andrey Kleshchev 144fb0c315 SL-18233 Fixed editor not udpating after saving material from task inventory 2022-09-28 20:18:21 +03:00
Andrey Kleshchev 6b46793771 SL-18233 Double clicking material in an object shows notecard 2022-09-28 20:01:06 +03:00
Dave Parks a63fcfc9d5 SL-18190 Remove some (likely) superfluous color space conversions 2022-09-28 00:15:34 -05:00
Dave Parks 67c7a13647 SL-18190 Missed magic number. 2022-09-27 23:46:03 -05:00
Dave Parks d9b610dd92 Merge branch 'DRTVWR-559' of ssh://bitbucket.org/lindenlab/viewer into DRTVWR-559 2022-09-27 23:32:18 -05:00
Dave Parks aaf7b17db0 SL-18190 WIP -- Take 2 on linear space windlight (more methodical approach -- make desired interface but brute force color conversions). Placeholder PBR water and move to deprecate forward rendering shaders. 2022-09-27 23:32:02 -05:00
Andrey Kleshchev e6fad1ea5f SL-17999 Material with limited permissions should be copied to object's inventory 2022-09-27 23:26:25 +03:00
Andrey Kleshchev 3e59ae1c43 SL-17640 Support loading materials from multi-material files 2022-09-27 17:59:40 +03:00
Dave Parks 44f2286e42 SL-18190 Use bindDeferredShader in alpha pool. Don't redundantly apply ao to irradiance. 2022-09-26 18:08:42 -05:00
Dave Parks d53c077315 Merge branch 'DRTVWR-559' of ssh://bitbucket.org/lindenlab/viewer into DRTVWR-559 2022-09-26 17:41:52 -05:00
Dave Parks 23ad6e930b SL-18190 WIP - Whoopsie from last commit 2022-09-26 17:41:22 -05:00