提交 58ace619 编写于 作者: GamebabyRockSun_QQ's avatar GamebabyRockSun_QQ

更换了噪声纹理,使用新的高斯噪声纹理来做水彩画效果的噪声纹理

上级 42c049f7
......@@ -1310,7 +1310,7 @@ int APIENTRY _tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR l
//11、加载DDS噪声纹理,注意用于后处理,所以加载到第二个显卡上
{{
TCHAR pszNoiseTexture[MAX_PATH] = {};
StringCchPrintf(pszNoiseTexture, MAX_PATH, _T("%sMesh\\Noise1.dds"), g_pszAppPath);
StringCchPrintf(pszNoiseTexture, MAX_PATH, _T("%sMesh\\GaussianNoise256.dds"), g_pszAppPath);
std::unique_ptr<uint8_t[]> pbDDSData;
std::vector<D3D12_SUBRESOURCE_DATA> stArSubResources;
DDS_ALPHA_MODE emAlphaMode = DDS_ALPHA_MODE_UNKNOWN;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册