Open mingweiLIU opened 1 year ago
How are you running the program - from the command line? Under a MSVC debugger? It looks like it's not finding the shader source code -- you can use VSG_FILE_PATH to set the path to the data directory if you haven't installed the program. If your machine is shutting down, that could mean that there are Vulkan problems; adding the --debug flag on startup will run the Vulkan validation layer and should report any problems.
I have copied the data files into the project directory in the build directory, actually, there will be an error that PBR could not find the shader if the shader source code is missing. The --debug information is :
There are two workarounds for not finding the shaders:
I have set the VSG_FILE_PATH, and I don't think this is due to the reason that vsgCS could not find the shaders, since the images/Cesium_ion_256.png could be found, which is in the same folder the shaders are. Also, there are no warnings and errors for the shader missing.
I've pushed changes to master that fix problems with an installed vsgCs, including a missing shader file issue. The required version of VSG is now 1.0.3, so you might need to refresh your VSG install.
Hi, I finally make the project work with no network error, but I encountered another problem: the earth is black with no images, what's more, the PC will shut down munites after the application is running. There is no error or warning in the console, and I've updated the GPU Driver ( GPU is RXT2080), do you think is there any other information I have missed?