Home Forums Games202-高质量实时渲染 【作业1】请教下,shadowMap中深度的范围 Reply To: 【作业1】请教下,shadowMap中深度的范围

#8115 Score: 0
DCXC
Participant

谢谢回复,glsl没法debug,我转成javascript了,初学glsl,不知道转对没有。
不管怎样,根本上看,这个pack+unpack的逻辑是把一个[-1,1]范围内的值线性转换到[0,1]吗?

  • This reply was modified 3 years, 6 months ago by DCXC.