Commit Graph

29 Commits (b50ed1fcbd41368dcf05d5d5ca760297fba1b4b9)

Author SHA1 Message Date
Cosmic Linden 9004cf64bf secondlife/viewer#2448: Fix crash rendering rigged PBR prims 2024-08-30 10:57:44 -07:00
Dave Parks 80ea30af1a
#1769 gltf optimization pass (#1816)
#1814 and #1517 Fix mirror update rate and occlusion culling
2024-06-21 13:13:08 -05:00
Dave Parks 15fd13f830
#1530 Increase joint limit for GLTF Assets (#1582)
* Migrate GLTF scene rendering to its own shaders
* Add support for ambient occlusion map separate from metallic roughness map (or absent)
* Use UBO's for GLTF joints
* Better error handling of downloading GLTF assets
2024-05-29 16:56:39 -05:00
RunitaiLinden cadc1a02cc
1285 GLTF Animation Prototype 2024-04-24 09:51:15 -05:00
RunitaiLinden b2a450a308
#1126 gltf scene import prototype (#1172)
* #1126 GLTF Scene import initial prototype (working geometry import for some assets)

* #1126 WIP -- Expand support for more vertex formats, PoC material import, shadow support, scale support

* #1126 move GLTF implementation to newview/gltf

* #1126 Refactor attribute loading to be less copy/pasta for each combination of types

* #1126 Partially working object selection.  Ability to have multiple scenes at once.  Helpful message on how to use the preview button.

* #1126 Add bounding box debug display and untangle GLTF raycast from LLVOVolume raycast

* #1126 Working raycast on GLTF scenes.

* #1126 Remove some #pragma optimize offs
2024-04-09 19:21:10 -05:00
Dave Parks 93a82d4b75 DRTVWR-559 Fix for mac build. 2023-02-22 11:23:13 -06:00
Dave Parks 19f7497d9a DRTVWR-559 WIP -- occlusion culling for reflection probes -- has a defect for objects close to the camera at some angles and leaks query objects, will follow up. 2023-02-21 20:42:25 -06:00
Dave Parks 577f6a46f0 SL-19181 Modulate "glow" by PBR emissive. 2023-02-09 17:00:36 -06:00
Dave Parks a2647e953a SL-18229 Fix for PBR materials on HUDs misbehaving. Incidental decruft. 2023-02-07 18:25:22 -06:00
RunitaiLinden 7bd9d21e19
Optimizations, decruft, and intel compatibility pass (#53)
SL-18869, SL-18772  Overhaul VBO management, restore occlusion culling, intel compatibility pass, etc
2023-01-19 09:13:45 -06:00
Dave Parks d27d23ab26 SL-18852 Refactor GLTF material rendering to not be special compared to other types. Hook GLTF alpha masking up to highlight transparent. 2022-12-16 11:12:06 -06:00
Dave Parks 57c54ec4b7 SL-18851 Fix for PBR materials sometimes not casting shadows when they should. 2022-12-16 08:59:02 -06:00
Dave Parks 8155361355 SL-18453 WIP -- Use GLTF draw pool to render shadows. Still need a GLTF specific shadow shader to multiply alpha. 2022-10-28 11:19:43 -05:00
Dave Parks de4c018499 SL-18105 Hook up render pipe directly to LLTextureEntry::mGLTFMaterial and add LLViewerFetchedTextures to LLFetchedGLTFMaterial. Lower reflection probe resolution to 128x128 per side. 2022-10-19 14:41:17 -05:00
Dave Parks 43822fa6e4 SL-18190 Fix for texture animation not working on opaque PBR materials. 2022-09-22 18:10:50 -05:00
Dave Parks abf788175c SL-18096 WIP -- partial support for double sided rendering. Shadow map and picking support TBD. 2022-09-06 15:07:22 -05:00
Ptolemy 7229dfcc59 SL-17701: PBR: Add support for gltf Alpha MASK (cutoff) 2022-09-02 16:12:49 -07:00
Ptolemy e81b149c4a Revert "SL-17703: PBR: Fix missing ORM to use 1,0,0"
If ORM is blank the roughness and metal are multiplied into a default white ORM texture.  This reverts commit 71ae65ae17.
2022-08-29 17:34:49 -07:00
Ptolemy 71ae65ae17 SL-17703: PBR: Fix missing ORM to use 1,0,0 2022-08-29 14:06:48 -07:00
Dave Parks 90bdeddb8f SL-17940 Fix for rigged attachments with PBR materials not rendering. 2022-08-15 13:15:25 -05:00
Ptolemy 7b54cf3793 SL-17704: PBR: Use default normal map if one isn't provided 2022-08-12 18:30:19 -07:00
Ptolemy 6369180eae SL-17682 PBR: Fix Occlusion Roughness Metal not being in linear space; removes need for redundant linear/sRGB conversions. 2022-07-06 12:29:19 -07:00
Ptolemy 402cbefc8f SL-17274: Cleanup incorrect emissive comment 2022-06-27 15:01:13 -07:00
Brad Kittenbrink d9b3eef439 Fix coding polict trigraphs check for DRTVWR-559 2022-06-27 10:51:31 -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
Dave Parks 088ddc28a4 SL-17653 Fix writing of PBR materials to gbuffer. 2022-06-23 23:43:41 -05:00
Ptolemy b5867cf5e6 SL-17273: Fix drawpool to pass normal and spec map to PBR shader 2022-06-23 14:43:48 -07:00
Dave Parks 3400e5fd30 SL-17284 Reflection probe tuning and optimization take 1 2022-05-16 17:21:08 +00:00
Ptolemy 54919fa749 SL-17274: Stub for PBR DrawPool and shader 2022-05-02 10:16:54 -07:00