Update envmap_fragment.glsl
Per https://github.com/mrdoob/three.js/issues/11367#issuecomment-308303716 Equirectangular U sampling update to intuitively equiangular-per-raster sampling. A quick visual test shows no change from the old version, which worries me a bit, since I'm not getting the trig-on-paper to give identical results. If the math DOES work out provably identically, the original version is certainly more efficient.
Showing
想要评论请 注册 或 登录