Compare commits
2 Commits
709ffc074f
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
| b6d8ca428f | |||
| 9f15aaa9e6 |
@@ -4,3 +4,5 @@
|
|||||||
Please check `core/include/render_type_def.h` for the buffer order convention in HLSL to write a shader
|
Please check `core/include/render_type_def.h` for the buffer order convention in HLSL to write a shader
|
||||||
|
|
||||||
When CMAKE is called for the first time, the library path file will be generated in the root directory. Please configure the directory of qt6.10 yourself. In addition, the dependent assimp is uploaded to this repository because its size is relatively small.
|
When CMAKE is called for the first time, the library path file will be generated in the root directory. Please configure the directory of qt6.10 yourself. In addition, the dependent assimp is uploaded to this repository because its size is relatively small.
|
||||||
|
|
||||||
|
CRT must be vc143 version. If you ve compiled but cant run successfully, please use the vs2022/MSVC14.44's crt dll.
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 602 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 396 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 598 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 558 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 849 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 508 KiB |
@@ -78,8 +78,10 @@ Renderer::Renderer(Graphic &graphic) : m_graphic(graphic) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// [新增] 默认尝试读取 C:/temp。文件不存在时不阻止引擎启动,PBR 会使用旧环境项回退。
|
// [新增] 默认尝试读取 C:/temp。文件不存在时不阻止引擎启动,PBR 会使用旧环境项回退。
|
||||||
if (!LoadEnvironmentCubeDirectory(L"C:/temp")) {
|
std::filesystem::path cubeDir = std::filesystem::path{StatesRender::S_GetExeDir()} / std::filesystem::path{L"assets/skybox"};
|
||||||
OutputDebugStringW(L"未加载默认 TextureCube。请在 C:/temp 放置 "
|
// if (!LoadEnvironmentCubeDirectory(L"C:/temp")) {
|
||||||
|
if (!LoadEnvironmentCubeDirectory(cubeDir)) {
|
||||||
|
OutputDebugStringW(L"未加载默认 TextureCube。请在根目录下的assets/skybox/目录放置 "
|
||||||
L"posx/negx/posy/negy/posz/negz 六张同尺寸正方形图片。\n");
|
L"posx/negx/posy/negy/posz/negz 六张同尺寸正方形图片。\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user