浏览代码

Fix code formatting

/main
Evgenii Golubev 8 年前
当前提交
48afa10b
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 3
      Assets/ScriptableRenderLoop/HDRenderLoop/Lighting/SinglePass/SinglePass.hlsl

3
Assets/ScriptableRenderLoop/HDRenderLoop/Lighting/SinglePass/SinglePass.hlsl


// The EnvLightData of the sky light contains a bunch of compile-time constants.
// This function sets them directly to allow the compiler to propagate them and optimize the code.
void InitSkyEnvLightData(int index) {
void InitSkyEnvLightData(int index)
{
_EnvLightSky.envShapeType = ENVSHAPETYPE_SKY;
_EnvLightSky.envIndex = index;
_EnvLightSky.forward = float3(0.0, 0.0, 1.0);

正在加载...
取消
保存