浏览代码

Remove random + 0.5

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

3
Assets/ScriptableRenderLoop/ShaderLibrary/ImageBasedLighting.hlsl


for (uint i = 0; i < sampleCount; ++i)
{
float2 u = Hammersley2d(i, sampleCount);
u = frac(u + randNum + 0.5);
float2 u = frac(randNum + Hammersley2d(i, sampleCount));
float VdotH;
float NdotL;

正在加载...
取消
保存