Unity HDRP内置文件WorleyUtilities
- WorleyUtilities文件路径如下:
- 文件代码如下
- 然后转译到ShaderLab中:
- 存档:
WorleyUtilities文件路径如下:
D:…\Library\PackageCache\com.unity.render-pipelines.high-definition@14.0.8\Runtime\Lighting\VolumetricClouds\WorleyUtilities.hlsl
文件代码如下
#ifndef WORLEY_UTILITIES_H
#define WORLEY_UTILITIES_H// Implementation inspired from https://www