会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Canbitwell Products
Yuri'Blog
首页
新随笔
联系
订阅
管理
2010年10月7日
HLSL float 转 int32
摘要: Shader Model 3.0及更低使用 encode (fDist is the normalized distance): const float4 bitSh = float4( 256*256*256, 256*256, 256, 1); const float4 bitMsk = float4( 0, 1.0/256.0, 1.0/256.0, 1.0/256.0); float4 c...
阅读全文
posted @ 2010-10-07 18:48 Yuri
阅读(782)
评论(0)
推荐(0)
编辑
公告