Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-12-06 | Fix LLGLTFMaterial hashing | Henri Beauchamp | |
This PR fixes the non-working material hashing for LLGLTFMaterial instances. There are several issues in the current code, stemming to the fact that the hashing is performed on the block of the member variables: 1.- There are padding bytes between member variables, even after rearranging them to avoid most of the padding; in particular, the std::array's size is not a multiple of 4 bytes (64 bits), and most compilers will pad them to the next 4-byte aligment as a result. Note that C++ standards do not impose the zeroing of padding bytes on construction of a class instance, with only a couple exceptions (such as explicit zero-initialization). Those bytes MUST therefore be zeroed by us on construction. 2.- The TextureTransform strutcure getPacked() method did not touch some of the packed bytes, and as a result could *potentially* cause an issue for hashing when applied to a transform of another material instance. 3.- With the recent addition of the local textures tracking map, the said map cannot be hashed as a block of memory (map pairs will typically be allocated on the heap or on the stack, not in the memory block used by member variables). This PR solves all these issues and offers proper hashing of LLGLTFMaterial instances. | |||
2023-11-06 | SL-20523 Local textures not updating on PBR Materials #5 | Andrey Kleshchev | |
2023-11-06 | SL-20523 Local textures not updating on PBR Materials #4 | Andrey Kleshchev | |
2023-11-06 | SL-20523 Local textures not updating on PBR Materials #3 | Andrey Kleshchev | |
2023-11-06 | SL-20523 Local textures not updating on PBR Materials #2 | Andrey Kleshchev | |
2023-11-06 | SL-20523 Local textures not updating on PBR Materials #1 | Andrey Kleshchev | |
Update editor in which texture changed to local | |||
2023-10-25 | Fix DRTVWR-559 std::array usage in llrender and llprimitive after merge | Brad Linden | |
2023-10-09 | SL-20225: LLGLTFMaterial code sync | Cosmic Linden | |
2023-08-29 | SL-20229 Add GenericStreamingMessage and use it to receive GLTF material ↵ | RunitaiLinden | |
overrides | |||
2023-05-03 | Improved fix for SL-19675 crash. How about just don't refer to data when ↵ | Brad Linden | |
you don't need it | |||
2023-04-21 | SL-19606: Fix missing GLTF texture transforms in PBR alpha mask/alpha blend ↵ | Cosmic Linden | |
shadows | |||
2023-03-23 | SL-19169 Local material updates aren't applied with non-default transforms | Andrey Kleshchev | |
2023-03-22 | DRTVWR-559 Fix for bad hashing of materials breaking render batches and who ↵ | Dave Parks | |
knows what else. | |||
2023-03-02 | SL-19281 Unify handling of haze and gamma between fullbright and not and ↵ | Dave Parks | |
move haze back to sRGB color space to stay consistent with sky colors. Also fix broken "roughness" stuck at 0.2. | |||
2023-02-27 | SL-19279: LLGLSLShader::bindXXX is not free. Pack the uniforms | Cosmic Linden | |
2023-02-15 | SL-19121: Address review comments from SL-19080 phase 2 | Cosmic Linden | |
2023-02-14 | Merge pull request #73 from secondlife/SL-19080 | cosmic-linden | |
SL-19080: GLTF Material asset consistency: Part 2: Update viewer GLTF Material asset upload to v1.1 | |||
2023-02-09 | SL-19080: Address clang-provided errors | Cosmic Linden | |
2023-02-09 | SL-19080: Update GLTF Material asset upload to v1.1, with stricter GLTF ↵ | Cosmic Linden | |
compliance and removal of unsupported features | |||
2023-02-02 | SL-18908 Make media texture override base color and emissive texture on PBR ↵ | Dave Parks | |
materials when present. | |||
2023-01-10 | SL-18820: Fix applying material clearing transform overrides. Loosen some ↵ | Cosmic Linden | |
asserts to allow non-default transform overrides. | |||
2023-01-09 | SL-18820: Update LLGLTFMaterial: Add setBaseMaterial() and equality comparison | Cosmic Linden | |
2022-11-14 | SL-18634: Fix GLTF material texture transform not serializing when texture ↵ | Cosmic Linden | |
ID is null | |||
2022-11-09 | Revert "SL-18523: When editing an object's material override, use the ↵ | Sabrina Shanman | |
object's material override as a base, rather than its render material (pull request #1190)" | |||
2022-11-08 | SL-18523: When editing an object's material override, use the object's ↵ | Cosmic Linden | |
material override as a base, rather than its render material | |||
2022-11-02 | SL-18485: Render GLTF materials with extension KHR_texture_transform with ↵ | Cosmic Linden | |
approprate texture transforms | |||
2022-11-02 | SL-18520 Use GLTF material.extras to pass flags for enabling overriding ↵ | Dave Parks | |
alpha mode and double sided to default | |||
2022-11-01 | SL-18520 WIP - Use off-by-epsilon and special UUID identifier hacks to allow ↵ | Dave Parks | |
overriding to default values. | |||
2022-10-31 | SL-18442 Port of Caladbolg's fix for emissive overrides not taking. Remove ↵ | Dave Parks | |
unused function. | |||
2022-10-27 | SL-18411: GLTF material transform serialization, plus fix improper indexing ↵ | Cosmic Linden | |
not matching GLTF spec | |||
2022-10-20 | SL-18411: Copy over LLGLTFMaterial changes (most notably various ↵ | Cosmic Linden | |
getters/setters and texture transform stub) | |||
2022-10-19 | SL-18105 Hook up TE override material to render pipe by way of render material. | Dave Parks | |
2022-10-19 | SL-18105 Hook up render pipe directly to LLTextureEntry::mGLTFMaterial and ↵ | Dave Parks | |
add LLViewerFetchedTextures to LLFetchedGLTFMaterial. Lower reflection probe resolution to 128x128 per side. | |||
2022-10-17 | WIP for SL-17697 live editing now computes diffs of changed material ↵ | Brad Kittenbrink | |
properties in tinygltf schema json | |||
2022-10-14 | SL-18105 Add to/from json capability to LLGLTFMaterial | Dave Parks | |
2022-09-23 | SL-18134 Rename Albedo to Base Color to be more consistent with GLTF spec | Dave Parks | |
2022-08-08 | SL-17937 Fix for broken PBR material batching. | Dave Parks | |
2022-06-29 | SL-17685 Drag and drop material support | Dave Parks | |
2022-06-28 | SL-17379 More complete integration of material asset type | Dave Parks | |
2022-06-23 | SL-17653 Last commit was accidentally partial | Dave Parks | |