3
0

История коммитов

Автор SHA1 Сообщение Дата
  galibzon 6c98c7451a Fixes #15149 (#15335) 2 лет назад
  gadams3 f2b942ea56 Addressing PR feedback, updating comments, removing unused functions 3 лет назад
  gadams3 9f296f68d0 Materials: Fixing problems with material hot reloading after shader and material type changes 3 лет назад
  santorac 5d8ea15672 Added unit tests for new material pipeline features. 3 лет назад
  santorac 37fbc5a798 Established the core structure of material pipeline functors. This allows the material pipeline to select appropriate shaders based on data from the material without exposing knowledge of the specific shaders to the material type. Transparency, tinted transparency, and optional shadow casting are all working. 3 лет назад
  santorac 8d040facca Refactored material property code in preparation for material pipeline functor support. 3 лет назад
  santorac ddbb3da2ef Render pipelines can filter shaders based on a material pipeline tag. This is a precursor to supporting material pipeline functors that enable and disable specific shaders. 3 лет назад
  gadams3 f897c08428 Material Canvas: Proposed changes to remove material hot reload notification bus 3 лет назад
  Roald Frederickx 8d0587ec38 Add MaterialVersionUpdates class + address PR feedback 3 лет назад
  Roald Frederickx 4c7e26aca2 Properly resolve values in SetValue version updates 4 лет назад
  Roald Frederickx a8da3b0b09 MaterialPropertyValue::CastToType() extracted from MaterialAsset 4 лет назад
  Roald Frederickx 346f20c8e3 Generic MaterialVersionUpdate with SetValue operation 4 лет назад
  santorac d862264ab1 Imporved material version update warning message to include the cache file name. 4 лет назад
  santorac 8a5e4e67fa Fixed warning messages about material file version updates. The warning was always reporting the file was at version 1 even when it specified a different materialTypeVersion. I also made the warning message distinguish between a early version number and an unspecified version number. 4 лет назад
  santorac 730daae1e6 Added code comments. 4 лет назад
  santorac b61238e50c Minor fixes to whitespace and comments. 4 лет назад
  santorac a896ff11bc Changed .material serialization to avoid loading the .materialtype file, since the .material builder doesn't declare a source dependency on the .materialtype. Otherwise there can be ambiguous edge cases where changes to the .materialtype might or might not impact the baked MaterialAsset. Note that another option would have been to add a the appropriate source dependency, but that would hurt iteration time as any change to the .materialtype file would cause every .material file and .fbx to rebuild. 4 лет назад
  santorac 45429872d6 Switched back to making MaterialAsset::GetPropertyValues automatically finalize the material asset. I realized that it's too burdensome to expect client code to call Finalize on the MaterialAsset; every code that calls GetPropertyValues would have to call Finalize(). Instead of using const_cast in GetPropertyValues like I was doing before, I just changed GetPropertyValues to be a non-const function. There were a few places in Decal code I had to update to pass non-const MaterialAsset pointers. This isn't ideal, but I think it's better than the alternatives. 4 лет назад
  santorac 2627b507d3 Fixed unused variable warning 4 лет назад
  santorac c24546a85d Fixed unused variable warning. 4 лет назад
  santorac 2d6d14abf7 Changed MaterialAsset::GetPropertyValues to not auto-finalize. Client code must call Finalize manually. It's better to avoid unexpected side-effects from a const getter function. 4 лет назад
  santorac 8084775d7a Updating code comments. 4 лет назад
  santorac a627cda5ae Got the unit tests working again. 4 лет назад
  santorac c5b128bec4 First pass at reworking and formalizing the way deferred material asset baking works. The feature basically works but needs more testing. 4 лет назад
  Guthrie Adams e97f5de94a Updated material version warning messages to include the affected asset 4 лет назад
  galibzon 6763e2a3ac Shaders changes require two or more change cycles before updating (#5142) 4 лет назад
  santorac 144af200bf Fixed potential unused variable 'originalVersion' with 'maybe_unused' attribute. 4 лет назад
  santorac f4d5a75574 Fixed an issue where the wrong version number was being reported in a warning message. It showed the latest version instead of the original version number. 4 лет назад
  santorac 46061eb302 Simplified the code around MaterialAsset::ApplyVersionUpdates() 4 лет назад
  santorac 1633ced656 Reports warnings when a material version auto update is applied, notifying the user they should update their source data. 4 лет назад