游戏开发论坛

 找回密码
 立即注册
搜索
查看: 2222|回复: 0

FAQ-13 我听说如果不使用"mipmaps_多精度纹理"

[复制链接]

41

主题

184

帖子

184

积分

注册会员

Rank: 2

积分
184
发表于 2006-12-17 15:08:00 | 显示全部楼层 |阅读模式
我听说如果不使用"mipmaps_多精度纹理"真是太蠢了,为什么?

不管你是否使用"mipmaps_多精度纹理"都不要使用"nearest_邻近点"采样,它会在纹理被缩小时产生像素漂移。使用"mipmaps_多精度纹理"可以让你在缩小纹理时获得更高的图像质量。对纹理进行多精度处理只会增加33%额外的内存,当可以极大地改进图像纹理的质量。并且,今天的GPU可以非常有效的处理"mipmaps_多精度纹理",性能几乎不受它的影响。

/******************************/
I've heard that it's a crime to not use mipmaps. Why is this?

Whether you're using mipmapping or not, you should never use "nearest" filtering, which causes texture swimming artifacts when textures are minified. Using mipmaps allows you to create accurately minified versions of your textures, so that they look as good as possible in the distance. Mipmapped textures only require 33% more memory than their non-mipmapped counterparts, so it is wise to trade off the small amount of extra memory for the vastly improved image quality. In addition, today's GPUs are optimized to handle mipmaps very efficiently, so the performance impact of using mipmaps is minimal.

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

作品发布|文章投稿|广告合作|关于本站|游戏开发论坛 ( 闽ICP备17032699号-3 )

GMT+8, 2026-1-26 02:02

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表