unity做了个很恶心的事情

unity_SpecCube0这里如果在reflectionprobe范围内就传reflectionprobe

如果在probe范围外这里就传environmap 

在GI的间接光照specular计算里面

 

那张黎曼积分 它用 cubemap的lod给近似了。。。。。用gloss来取mipmaplevel

(smooth gloss是1-smooth square root之类的 和metallic没关系)

 

indirect specular.....还很有道理。。。。。。

相关文章:

  • 2021-12-24
  • 2022-12-23
  • 2021-11-22
  • 2021-06-27
  • 2021-08-29
  • 2022-02-19
  • 2022-01-13
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-07-26
  • 2022-12-23
  • 2021-11-14
  • 2021-09-30
相关资源
相似解决方案