大神求解,关于基于Dxlib的VSM如何使用Hardware filtering~
之前在用dxlib来做3D游戏,做到VSM(Variance Shadow mapping)的时候,不知道如何使用Hardware filtering .。 原文是使用Glsl ( Make good use of hardware PCF filtering on NVidia by using shadow sampling functions in the shader ) 找了好久的资料都搞不定,苦逼学生党,伤不起啊目前效果http://organicvectory.com/images/stories/ovplanet/no_hw_filter.jpg 使用Hardware filteringhttp://organicvectory.com/images/stories/ovplanet/filtering.jpg
顺便说下,是dx9.0的。
来人支援啊~~~求帮助~~求大神 完结了............原来才3.0之前的版本是不支持
Anisotropic texture filtering is not supported, hence D3DSAMP_MAXANISOTROPY is ignored and D3DTEXF_ANISOTROPIC cannot be set for magnify, or minify for these stages. dxlib只知道名字完全没用过。不过这是开源的,有问题就直接看它的源代码好了。 但是它只是提供了函数接口,并没用给源代码吧。。。可能是我没找到吧,如果可以,发个网站给我,多谢了 http://homepage2.nifty.com/natupaji/DxLib/dxdload.html
官方的下载页面
在“改造希望の方へ”下面的那个下载连接就是打包的DXLIB的源代码工程 看到了,多谢了,又可以好好研究一番了
页:
[1]