浏览代码

Fixed lightmap sample helper ignoring RGBM unpacking path.

/Branch_Batching2
Torbjorn Laedre 8 年前
当前提交
7aaed715
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      Assets/ScriptableRenderPipeline/ShaderLibrary/EntityLighting.hlsl

2
Assets/ScriptableRenderPipeline/ShaderLibrary/EntityLighting.hlsl


{
illuminance = SAMPLE_TEXTURE2D(lightmapTex, lightmapSampler, uv).rgb;
}
return SAMPLE_TEXTURE2D(lightmapTex, lightmapSampler, uv).rgb;
return illuminance;
}
float3 SampleDirectionalLightmap(TEXTURE2D_ARGS(lightmapTex, lightmapSampler), TEXTURE2D_ARGS(lightmapDirTex, lightmapDirSampler), float2 uv, float4 transform, float3 normalWS, bool lightmapRGBM)

正在加载...
取消
保存