Home Forums Games202-高质量实时渲染 环境光渲染出来偏暗 Reply To: 环境光渲染出来偏暗

#8330 Score: 0
cmc233
Participant
6 pts

两种可能

1.prt里存储成png图片时将线性空间转换到了sRGB空间 Color3f tonemapped = coeffRef(i, j).toSRGB();颜色计算给webgl的时候应该也得做相应的gamma矫正

2.prt里计算TransportSHCoeffs有乘以kd/pi吗?prt里Color3f Li()返回的是sum TransportSHCoeffs*LightCoeffs