Andrey Kleshchev
664ba53e4c
SL-17584 Make setShaders crashes more informative
2022-08-20 00:35:02 +03:00
Andrey Kleshchev
069304ca39
Merge branch 'master' (DRTVWR-543) into DRTVWR-559
...
# Conflicts:
# autobuild.xml
# indra/llrender/llgl.cpp
# indra/newview/CMakeLists.txt
# indra/newview/llvovolume.cpp
2022-06-29 21:23:23 +03:00
Dave Parks
5cfc336ba2
Fix for 2-bit errors in writing to and reading from norm.w
2022-06-28 18:46:48 -05:00
Dave Parks
254bbc86e5
Add emissiveRect to softenLightF.glsl
2022-06-28 15:39:04 -05:00
Ptolemy
7ac0923e33
SL-17274: Document which shader encodesNormal includes
2022-06-27 14:09:44 -07:00
Dave Parks
9439c721f4
SL-17274 Hook up emissive map and non-texture parameters to pbropaqueF.glsl
2022-06-24 12:15:34 -05:00
Brad Kittenbrink
c13e204474
WIP adding check for existence of ARB_texture_cube_map_array extension
2022-06-23 22:53:55 -07:00
Brad Kittenbrink
6b85705951
fixing DRTVWR-559 glext usage on mac by upgrading to use khronos distributed glext.h
2022-06-23 22:53:36 -07:00
Michael Pohoreski
ac62a74458
Merged DRTVWR-559 into SL-17274_gbuffer_flags
2022-06-23 15:42:42 +00:00
Michael Pohoreski
d67e1f4f91
Merged DRTVWR-559 into SL-17274_view_dir
2022-06-23 14:53:07 +00:00
Ptolemy
4d2b2f464b
SL-17274: Add GBuffer flag for PBR
2022-06-22 11:32:10 -07:00
Dave Parks
d0d1b832d4
SL-17600 Proper irradiance probes.
2022-06-22 13:25:50 -05:00
Ptolemy
27ca7760cc
SL-17274: Remove hard-coded magic number checking if G-Buffer flag is set
2022-06-21 22:23:38 -07:00
Ptolemy
77b96114c3
SL-17274 Cleanup hard-coded gbuffer atmos flag for softenlight
2022-06-21 22:00:12 -07:00
Dave Parks
31e2fa5e50
SL-17600 WIP -- Proper radiance maps (not just mipped cubemaps).
2022-06-21 22:44:30 -05:00
Ptolemy
36d9fa9015
SL-17274: Add view_dir uniform
2022-06-21 16:50:09 -07:00
Dave Parks
929abcd296
SL-17523 Add reflection probe ambiance to windlight settings and integrate with UI and ReflectionMapManager
2022-06-10 16:36:38 -05:00
Dave Parks
509476f95e
SL-17574 Add probe detail combo box to advanced graphics preferences. Fix spot light shadows not working in probes.
2022-06-10 01:13:41 -05:00
Andrey Lihatskiy
a426e8ddb3
DRTVWR-543 post-merge cleanup
2022-05-27 19:05:14 +03:00
Andrey Lihatskiy
3da7a50b71
Merge branch 'master' into DRTVWR-543-maint
...
# Conflicts:
# autobuild.xml
# indra/cmake/LLCommon.cmake
# indra/llcommon/CMakeLists.txt
# indra/llrender/llgl.cpp
# indra/newview/llappviewer.cpp
# indra/newview/llface.cpp
# indra/newview/llflexibleobject.cpp
# indra/newview/llvovolume.cpp
2022-05-27 02:51:33 +03:00
Dave Parks
6eaf8521ab
SL-17287 Instrument and optimize cubemap render. Fix for cubemap snapshots doing a full resolution render instead of a 512x512 render.
2022-05-20 19:05:28 -05:00
Dave Parks
6c6d9a10f8
SL-17287 Update Tracy to 0.8.1. Clean up GPU instrumentation.
2022-05-20 13:31:18 -05:00
Dave Parks
3564b24e2a
SL-17286 Reflection probe alpha/fullbright support.
2022-05-19 22:24:41 -05:00
Dave Parks
b2141e9446
Merge remote-tracking branch 'remotes/origin/DRTVWR-546' into DRTVWR-559
2022-05-16 12:26:17 -05:00
Dave Parks
3400e5fd30
SL-17284 Reflection probe tuning and optimization take 1
2022-05-16 17:21:08 +00:00
Brad Kittenbrink
fa26abf901
Fix mac build for SL-17283 reflections work
2022-05-04 15:32:34 -07:00
Dave Parks
93260cfeff
SL-17283 LLReflectionMapManager prototype. Remove snapshot code related overhead from reflection map renders. Add parallax correction and support for multiple reflection maps.
2022-05-04 16:07:50 +00:00
Andrey Kleshchev
904b16a0a7
SL-17124 switchContext and loadShaderFile crashes
...
- Do not try initializing shaders if requirements are not met or if window does not exist
- Warn user before closing window. Situation is unexpected, there is chance of more issues, like a freeze or a crash on close()
- mHasMultitexture is a solid requirement, if it is not present, we won't be able to run
2022-04-29 19:41:22 +03:00
Dave Parks
93a0259666
SL-17282 prototype mixing of reflection map into legacy materials
2022-04-29 13:51:11 +00:00
Dave Parks
deffbca3ee
SL-17281 environment map prototype (stupid slow and hacky, but provides a way to get a "real" environment map for shader development)
2022-04-28 15:51:31 +00:00
Andrey Kleshchev
c184c882c6
SL-17035 Reverted a part of previous commit
...
According to davep, the intent of Debug GL is to crash and in this it's doing it's job, but the rest of the fix that makes the state not persist is a good solution.
2022-04-15 00:13:36 +03:00
Andrey Kleshchev
e5cd4da823
SL-17035 Crash at gl_debug_callback
...
RenderDebugGL was avaliable from develop menu, but since it was persistent, caused slowdowns and crashes it could result in users crashing or lagging without knowing the cause. To resolve the issue it was made to last for a single session.
2022-04-14 22:26:58 +03:00
Dave Parks
9dc8fee0f5
SL-16928 Fix for broken bumpmaps on Intel GPUs
2022-03-04 17:05:05 -06:00
Dave Parks
85e480616d
Fix for mac build
2022-02-23 19:59:46 -06:00
Dave Parks
4f9fa5e817
Fix for some GPUs thinking they have 0 available vram.
2022-02-23 19:53:49 -06:00
Dave Parks
fc0b238654
Fix for media textures failing to update (and eating lots of memory) on Mac/Intel
2022-02-23 17:55:44 -06:00
Dave Parks
d9a68339d5
SL-16815 and SL-16906 Avoid redundant bumpmap generation, add some assertions around ref counting and (hack) fix crash on shutdown from dangling texture reference (reduced to 1 dangling texture from several hundred, can't find the remaining reference).
2022-02-23 16:51:33 -06:00
Dave Parks
74641a1213
SL-16815 Cleanup -- disable multithreaded bumpmap generation while tracking down loading issues, fix sync issue in single threaded mode in media textures, restore LL_IMAGEGL_THREAD_CHECK functionality
2022-02-22 19:48:01 -06:00
Dave Parks
1c5c45f273
SL-16815 Fix for broken media texture updates when multithreaded GL is disabled.
2022-02-22 14:58:50 -06:00
Dave Parks
0d6aa3c0fe
SL-16815 Remove frame stalls from occlusion queries, bumpmap updates, and querying for available video memory.
2022-02-17 22:52:23 +00:00
Dave Parks
f47730b92c
SL-16418 Media texture update stall fix. Make media texture updates use LLImageGL thread to update, fix AMD sync issue on ImageGL thread and install debug callbacks on LLImageGL thread when debug gl enabled.
2022-02-14 18:07:24 +00:00
Ptolemy
c38812aa15
SL-16727: Revert change causing llvieweroctree to not render reflections when shadows are set to projectors cause by commit bb379cb8cc
2022-02-03 11:11:46 -08:00
Dave Houlton
fdc4a81b57
Revert "Merged in euclid-16418 (pull request #846 )"
...
This reverts commit 40fe5277e1 , reversing
changes made to af830e5fc5 .
2022-02-01 15:49:32 -07:00
Dave Houlton
8d0efb54db
SL-16418 rename media tex image per-update to avoid contention stall
2022-01-27 17:09:29 -07:00
Runitai Linden
1a440be5e1
SL-16653 Fix for some textures having incorrect texel colors after the first row (and add more paranoia checks on texture data).
2022-01-19 10:35:58 -06:00
Ptolemy
b41a54e126
SL-16606: Add profiler category VERTEX
2022-01-14 11:50:21 -08:00
Ptolemy
b70614bd87
SL-16606: Add profiler category UI
2022-01-14 11:50:21 -08:00
Ptolemy
bf0643e28a
SL-16606: Add profiler category TEXTURE
2022-01-14 11:50:21 -08:00
Ptolemy
97552d2e75
SL-16606: Add profiler category SHADER
2022-01-14 11:50:20 -08:00
Ptolemy
206a8bb30f
SL-16606: Add profiler category PIPELINE
2022-01-14 11:50:20 -08:00