Commit Graph

4437 Commits (1a437cbedf94de90d749f426dde09f2466693de2)

Author SHA1 Message Date
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 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 f887f65830 SL-18190 WIP - Linear space atmospherics take 2 2022-09-28 16:49:11 -05: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 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
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 23ad6e930b SL-18190 WIP - Whoopsie from last commit 2022-09-26 17:41:22 -05:00
Dave Parks 725d042640 SL-18190 WIP - Windlight to linear space proof of concept, better parity between release viewer and materials viewer when reflections disabled. Avoid run-away probe ambiance. 2022-09-26 17:17:34 -05:00
Dave Parks 20f44fb522 SL-18190 Reduce banding - tweak noise function. 2022-09-23 18:58:04 -05:00
Dave Parks 64cfcea3f4 SL-18190 Reduce banding - experiment with RGB16F reflection probes 2022-09-23 18:13:20 -05:00
Dave Parks f4d49f887e SL-18190 Reduce banding. 2022-09-23 17:48:45 -05:00
Dave Parks 75de4d3276 SL-18156 Cleanup of MikktSpace integration, apply MikktSpace tangents to all meshes. 2022-09-23 12:53:24 -05:00
Dave Parks 01d6671091 SL-18120 Fix for specular color of legacy materials tinting environment reflections from "environment" intensity. 2022-09-23 10:42:09 -05:00
Dave Parks e5d463ca20 SL-17705 Backwards compatibility pass. Support OpenGL pre-4.0 by disabling reflection probes and anti-aliasing. Get render parity with current release viewer when reflection probes are disabled. 2022-09-22 17:27:18 -05:00
Dave Parks d72c0f1d6a SL-18190 Fix for fullbright alpha blended legacy materials appearing in wrong color space 2022-09-21 12:48:10 -05:00
Dave Parks c466e44334 SL-18190 Reduce banding (stay in linear space as much as possible, increase precision of reflection probes). Faster radiance and irradiance map generation. 2022-09-20 19:09:26 -05:00
Dave Parks 1eeee12ecb SL-18190 Don't allocate mips for irradiance maps because they're never generated. Disable OpenGL core profile on Intel by default. 2022-09-20 12:28:45 -05:00
Andrey Kleshchev f7ecf0ee38 SL-18065 Fix bake textures' fetch loop 2022-09-20 01:53:43 +03:00
Dave Parks 04d3a29a69 SL-18190 Faster better stronger radiance/irradiance maps 2022-09-19 17:27:33 -05:00
Dave Parks 655f8d8ee1 Fix for overbright and artifacted radiance maps on NVIDIA hardware 2022-09-17 20:18:54 -05:00
Dave Parks cc0d3fdb00 Fix for crash on NVIDIA hardware 2022-09-17 20:11:53 -05:00
Dave Parks 29f92451f6 Cleanup more unused functions and fix spotLightF (whoops) 2022-09-17 16:09:11 -05:00
Dave Parks b2553fc8b4 Fix for spotlights in background not matching foreground. Remove some unused functions. 2022-09-17 15:48:55 -05:00
Dave Parks 48eea4de0a Adjust radiance maps to better match Substance 2022-09-17 15:37:21 -05:00
Dave Parks 13ac0f77ff Make sure specular highlights from punctual lights don't fall off of polished surfaces 2022-09-17 14:38:07 -05:00
Dave Parks 6790605575 WIP - Fix for alpha PBR lighting for point lights (spot lights treated as point lights for now) 2022-09-17 13:04:23 -05:00
Dave Parks 1ab43e06b9 Merge branch 'DRTVWR-559' of ssh://bitbucket.org/lindenlab/viewer into DRTVWR-559 2022-09-17 11:05:15 -05:00
Dave Parks 69ee833702 WIP - multiSpotLightF uses proper PBR shading, alpha is broken but pushing now in case my hard drive melts 2022-09-17 11:04:50 -05:00
Dave Parks a32125bc0e WIP - replace PBR implementation - point lights 2022-09-17 01:52:01 -05:00
Dave Parks b2cf07f53c WIP - switch PBR implementations 2022-09-17 01:12:52 -05:00
Howard Stearns c467d8f02a SL-18128 - fix #if !DEPTH_CLAMP in shaders 2022-09-16 16:28:51 -07:00
Dave Parks 09f3d6eaee Merge branch 'DRTVWR-559' of ssh://bitbucket.org/lindenlab/viewer into DRTVWR-559 2022-09-16 16:25:38 -05:00
Dave Parks 8dc59e5ef3 SL-18128 Clear out much OpenGL cruft and switch to core profile on AMD 2022-09-16 16:25:26 -05:00
Andrey Kleshchev 7649114588 Merge branch master (DRTVWR-571) into DRTVWR-559
# Conflicts:
#	indra/newview/llpanelface.cpp
#	indra/newview/llpanelface.h
2022-09-16 21:07:39 +03:00
Dave Parks e61b6570b1 SL-17701 Fix for crash on AMD WHQL drivers. 2022-09-14 18:53:16 -05:00
Andrey Kleshchev 5d918f98ea SL-18161 Add PBR materials to Uploads in preferences 2022-09-15 00:29:54 +03:00
Dave Parks 379ae7eec0 SL-17701 Per pixel binormal generation on PBR alpha to be consistent with PBR opaque. 2022-09-14 10:55:50 -05:00
Dave Parks 93389059d5 Merge branch 'DRTVWR-559' of ssh://bitbucket.org/lindenlab/viewer into DRTVWR-559 2022-09-13 18:41:43 -05:00
Dave Parks 2a5219b23f SL-17701 WIP -- Correct color space management for base color and emissive color factors and textures. Support for double sided alpha blended PBR materials. 2022-09-13 18:41:24 -05:00
Andrey Kleshchev 2e268392a3 SL-17701 Fix coding policy 2022-09-14 01:37:46 +03:00
Dave Parks 5a10b11b0d SL-17701 WIP -- Hook PBR transparency parameter up to alpha pass. 2022-09-13 17:16:00 -05:00
Dave Parks ff3a28422d SL-17701 WIP -- Parity for point lights between opaque and transparent PBR materials 2022-09-13 17:07:30 -05:00
Dave Parks ca5a6bb0b8 Merge branch 'DRTVWR-559' of ssh://bitbucket.org/lindenlab/viewer into DRTVWR-559 2022-09-13 15:25:32 -05:00