浏览代码

Fix issue with RT inccorectly fill in PerChannelMask mode with Smoonthess only

/main
Sebastien Lagarde 6 年前
当前提交
f97c8de2
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2
      com.unity.render-pipelines.high-definition/HDRP/Material/Decal/Decal.shader

2
com.unity.render-pipelines.high-definition/HDRP/Material/Decal/Decal.shader


Blend 2 SrcAlpha OneMinusSrcAlpha, Zero OneMinusSrcAlpha
ColorMask BA 2 // smoothness/smoothness alpha
ColorMask 0 3 // Caution: We need to setup the mask to 0 in case perChannelMAsk is enabled as 4 RT are bind
HLSLPROGRAM

Blend 2 SrcAlpha OneMinusSrcAlpha, Zero OneMinusSrcAlpha
ColorMask BA 2 // smoothness/smoothness alpha
ColorMask 0 3 // Caution: We need to setup the mask to 0 in case perChannelMAsk is enabled as 4 RT are bind
HLSLPROGRAM

正在加载...
取消
保存