浏览代码

Fixed issue with URP 10.x.x conflicting with SurfaceData struct

/main
Andre McGrail 4 年前
当前提交
35e8ab7a
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 3
      Packages/com.verasl.water-system/Shaders/WaterInput.hlsl

3
Packages/com.verasl.water-system/Shaders/WaterInput.hlsl


TEXTURE2D(_FoamMap); SAMPLER(sampler_FoamMap);
TEXTURE2D(_DitherPattern); SAMPLER(sampler_DitherPattern);
// Must match Lightweigth ShaderGraph master node
struct SurfaceData
struct WaterSurfaceData
{
half3 absorption;
half3 scattering;

正在加载...
取消
保存