Static cube mapping is only several vector calculation in GPU at runtime. But dynamic cube mapping is different. The typical way to do this is to combine an updated static cube-mapping for each frame. The required action is to use camera to take 6 pictures as the new cube texture. It is much slower, and it is only a mock of Ray-tracing.
Here is my implementation finished within 4 hours:
本文探讨了静态立方映射与动态立方映射的区别。静态立方映射仅涉及GPU运行时的向量计算,而动态立方映射则需每帧更新静态映射,并通过摄像机获取新的立方纹理作为输入,这一过程更为复杂且模拟了光线追踪效果。

1万+

被折叠的 条评论
为什么被折叠?



