浏览代码

Merge pull request #172 from Unity-Technologies/texture-randomizer-hdrp-fix

Make TextureRandomizer compatible with HDRP
/main
GitHub 4 年前
当前提交
a1e7c042
共有 2 个文件被更改,包括 7 次插入0 次删除
  1. 3
      com.unity.perception/CHANGELOG.md
  2. 4
      com.unity.perception/Runtime/Randomization/Randomizers/RandomizerExamples/Randomizers/TextureRandomizer.cs

3
com.unity.perception/CHANGELOG.md


Semantic Segmentation Labeler now produces output in the proper form for distributed data generation on Unity Simulation by placing output in randomized directory names
Texture Randomizer is now compatible with HDRP
## [0.6.0-preview.1] - 2020-12-03
### Added

4
com.unity.perception/Runtime/Randomization/Randomizers/RandomizerExamples/Randomizers/TextureRandomizer.cs


[AddRandomizerMenu("Perception/Texture Randomizer")]
public class TextureRandomizer : Randomizer
{
#if HDRP_PRESENT
static readonly int k_BaseTexture = Shader.PropertyToID("_BaseColorMap");
#else
#endif
/// <summary>
/// The list of textures to sample and apply to tagged objects

正在加载...
取消
保存