tobspr / RenderPipeline

Physically Based Shading and Deferred Rendering for the Panda3D game engine
https://github.com/tobspr/RenderPipeline/wiki
Other
967 stars 133 forks source link

Missing reflections #120

Open slboi opened 3 years ago

slboi commented 3 years ago

Hello,

Thank you for sharing such an amazing project. I'm seeking help for the following issue. Consider your example: 07-Shading-Models, where we find a screenshot.png file of the basic materials. If I run this example on my machine I find that some reflections are missing. my_machine

Here is the output of the terminal: [>] CORE Using panda3d-supplied core module [>] RenderPipeline Using Python 3.7 with architecture linux_amd64 [>] RenderPipeline Using Panda3D 1.11.0 built on Dec 20 2020 12:49:37 [>] RenderPipeline Using git commit fa04d77b5754543729eaece06e32b93222f06585 [>] MountManager Auto-Detected base path to /home/slava/soft/render_pipeline [>] RenderPipeline Mount manager was not mounted, mounting now ... [>] MountManager Setting up virtual filesystem [>] MountManager Mounting auto-detected config dir: /home/slava/soft/render_pipeline/config/ [>] MountManager Mounting ramdisk as /$$rptemp [>] RenderPipeline No settings loaded, loading from default location Known pipe types: glxGraphicsPipe (all display modules loaded.) [>] RenderPipeline Driver Version = 4.3.0 NVIDIA 440.44 [>] RenderPipeline Driver Vendor = NVIDIA Corporation [>] RenderPipeline Driver Renderer = GeForce GTX 1050 Ti/PCIe/SSE2 [>] RenderPipeline Render resolution is 1600 x 900 [!] RPLoader Loading '/$$rp/data/gui/loading_screen_bg.txo' took 96.53 ms [>] LightManager Tile size = 24 x 16 , Num tiles = 67 x 57 [>] GPUCommandQueue Allocating command buffer of size 32768 [>] GroupedInputBlock Native UBO support = False [!] RPLoader Loading '/$$rp/data/default_cubemap/cubemap.txo' took 390.36 ms [!] RPLoader Loading '/$$rp/data/builtin_models/skybox/skybox.txo' took 143.84 ms [>] PluginManager Loading plugin settings [>] PluginManager Creating plugin instances .. [>] Debugger Creating debugger [>] plugin:scattering Loading scattering method for 'eric_bruneton' [>] StageManager Setup stages .. [>] StageManager Preparing stages .. [>] AOStage Blur quality is MEDIUM [>] StageManager Awaiting future pipe Exposure [>] UpdatePreviousPipesStage Creating previous pipes stage .. [>] StageManager Writing shader config [>] plugin:pssm Initializing pssm .. [!] RPLoader Loading '/$$rp/data/film_grain/grain.txo' took 99.98 ms [!] RPLoader Loading '/$$rp/rpplugins/bloom/resources/lens_dirt.txo' took 144.79 ms [!] RPLoader Skipping further loading warnings (max warning count reached) [>] ScatteringMethodEricBruneton Precomputing ... [>] RenderPipeline Finished initialization in 2.566 s, first frame: 3 :pgraphnodes(error): PointLight shadow buffers must have an equal width and height! :pgraphnodes(error): PointLight shadow buffers must have an equal width and height! :pgraphnodes(error): PointLight shadow buffers must have an equal width and height! :pgraphnodes(error): PointLight shadow buffers must have an equal width and height! :pgraphnodes(error): PointLight shadow buffers must have an equal width and height! :pgraphnodes(error): PointLight shadow buffers must have an equal width and height! :pgraphnodes(error): PointLight shadow buffers must have an equal width and height! :pgraphnodes(error): PointLight shadow buffers must have an equal width and height! :pgraphnodes(error): PointLight shadow buffers must have an equal width and height! :pgraphnodes(error): PointLight shadow buffers must have an equal width and height! :pgraphnodes(error): PointLight shadow buffers must have an equal width and height! :pgraphnodes(error): PointLight shadow buffers must have an equal width and height! :pgraphnodes(error): PointLight shadow buffers must have an equal width and height! :pgraphnodes(error): PointLight shadow buffers must have an equal width and height! :pgraphnodes(error): PointLight shadow buffers must have an equal width and height! :pgraphnodes(error): PointLight shadow buffers must have an equal width and height! :pgraphnodes(error): PointLight shadow buffers must have an equal width and height! :pgraphnodes(error): PointLight shadow buffers must have an equal width and height! :pgraphnodes(error): PointLight shadow buffers must have an equal width and height! :pgraphnodes(error): PointLight shadow buffers must have an equal width and height! :pgraphnodes(error): PointLight shadow buffers must have an equal width and height! :pgraphnodes(error): PointLight shadow buffers must have an equal width and height! :pgraphnodes(error): PointLight shadow buffers must have an equal width and height! :pgraphnodes(error): PointLight shadow buffers must have an equal width and height! :pgraphnodes(error): PointLight shadow buffers must have an equal width and height! :pgraphnodes(error): PointLight shadow buffers must have an equal width and height! [>] RenderPipeline Took 2.239 s until first frame [!] Panda3D :linmath(warning): Tried to invert singular LMatrix4. [>] RenderPipeline Hiding loading screen after 10 pre-rendered frames. [>] RenderPipeline Reloading shaders .. [>] StageManager Writing shader config

Panda3d is installed from here with pip: https://www.panda3d.org/download.php?platform=xenial&version=devel&sdk

pip install --pre --extra-index-url https://archive.panda3d.org/ panda3d

Any explanations or suggestions to fix it?

zurgeg commented 3 years ago

I think I'm having the same problem over here. Tobspr did say SSR was in beta so might just be a bug? I don't know.

zurgeg commented 3 years ago

@slboi Do you have the extensions installed? I don't have them installed and I have the same problem.

zurgeg commented 3 years ago

Still doesn't work with extensions. @tobspr This looks to be a bug on NVIDIA GPUs. I have a Radeon card I can try with later.

zurgeg commented 3 years ago

Still won't work on a Radeon, will try rolling back to an older P3D version