浏览代码

HDRP: Attemp to fix 2201_ReflectionProbes_Priority Test

/main
sebastienlagarde 6 年前
当前提交
d405c5eb
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 3
      com.unity.render-pipelines.high-definition/HDRP/Lighting/Reflection/HDAdditionalReflectionData.cs

3
com.unity.render-pipelines.high-definition/HDRP/Lighting/Reflection/HDAdditionalReflectionData.cs


void MigrateToUseInfluenceVolume()
{
influenceVolume.boxSize = legacyProbe.size;
influenceVolume.shape = influenceShape;
influenceVolume.shape = influenceShape; //must be done after each size transfert
influenceVolume.boxBlendDistancePositive = blendDistancePositive;
influenceVolume.boxBlendDistanceNegative = blendDistanceNegative;
influenceVolume.boxBlendNormalDistancePositive = blendNormalDistancePositive;

正在加载...
取消
保存