Binary Space Partitioning
    
            
摘要:【Binary Space Partitioning】 BSP was discovered by John Carmack used BSP trees in Doom and Quake. Although the game Doom is now of some age virtually a
        
阅读全文
摘要:【Unity中的屏幕坐标:ComputeScreenPos/VPOS/WPOS】 1、通过 VPOS / WPOS 语义获取。 VPOS 是 HLSL 中 对 屏幕 坐标 的 语义, 而 WPOS 是 Cg 中 对 屏幕 坐标 的 语义。 上面的Shader,得到的效果如图: VPOS/ WPOS 
        
阅读全文