Problem with 3D Depth Capture on Sky: Children in Light
- ShadowCat
- Topic Author
Less
More
7 months 5 days ago - 7 months 5 days ago #1
by ShadowCat
Problem with 3D Depth Capture on Sky: Children in Light was created by ShadowCat
It's very simple to test. I'm just trying to use MXAO and Depth of Field Shaders, but the depth capture information is wrong, which doesn't match the actual screen view. Having wrong positions and proportions. You can see better using Display Depth with Blend enabled.
Image below showing the current result.
Any ideas what can be done?
Image below showing the current result.
Any ideas what can be done?

Last edit: 7 months 5 days ago by ShadowCat.
Please Log in or Create an account to join the conversation.
- crosire
Less
More
7 months 5 days ago #2
by crosire
Replied by crosire on topic Problem with 3D Depth Capture on Sky: Children in Light
RESHADE_DEPTH_INPUT_X_SCALE and RESHADE_DEPTH_INPUT_Y_SCALE in global preprocessor definitions. You can use DisplayDepth.fx to find the right values first.
Please Log in or Create an account to join the conversation.
- ShadowCat
- Topic Author
Less
More
7 months 5 days ago - 7 months 5 days ago #3
by ShadowCat
Replied by ShadowCat on topic Problem with 3D Depth Capture on Sky: Children in Light
I've already tried using these parameters, but it doesn't work in the end. There's always something out of place. Oops, forget it, I think it worked, I think. Then I send the current result that I have
Last edit: 7 months 5 days ago by ShadowCat.
Please Log in or Create an account to join the conversation.
- ShadowCat
- Topic Author
Less
More
7 months 5 days ago - 7 months 5 days ago #4
by ShadowCat
Replied by ShadowCat on topic Problem with 3D Depth Capture on Sky: Children in Light
This was the best result I could get.
Oh yeah, I almost forgot. The game uses Vulkan, I don't know if that would be some kind of problem.
Oh yeah, I almost forgot. The game uses Vulkan, I don't know if that would be some kind of problem.
Last edit: 7 months 5 days ago by ShadowCat. Reason: Adding details
Please Log in or Create an account to join the conversation.
- crosire
Less
More
7 months 4 days ago #5
by crosire
Replied by crosire on topic Problem with 3D Depth Capture on Sky: Children in Light
First of all, enable "Copy depth buffer during frame to prevent artifacts", to get rid of those block artifacts at the beginning. Then you'll want to look at the depth buffer image without overlaying it and compare it to the color image (just make a screenshot, one with DisplayDepth enabled, one without, or better yet, use the "Save before and after images" feature in the screenshot settings). That makes it easier to judge if e.g. an offset is needed (does the top left corner of the depth image start at the same location as the top left corder of the color image, or are there black bars in one that are not in the other). After the offset is figured out, that's when you can start changing scale.
Please Log in or Create an account to join the conversation.
- ShadowCat
- Topic Author
Less
More
7 months 4 days ago #6
by ShadowCat
Replied by ShadowCat on topic Problem with 3D Depth Capture on Sky: Children in Light
Well, I took both pictures with and without the display depth using Before and After, but I'm still having some problems. I'm using Medibang to merge the two images, but even after changing their position and scale, they're not getting the same. There's always some information in the wrong position, and I noticed that DisplayDepth contains more information than the game itself visually, both in height and width.
It seems that the angle displayed by the game and the one displayed using DisplayDepth are different.
Well, I'll take a break for now, so I can understand it better later on.
Ah, when "Copy depth buffer during frame to prevent artifacts" is enabled it stops working. doesn't display anything anymore, just frozen until deactivating the option
It seems that the angle displayed by the game and the one displayed using DisplayDepth are different.
Well, I'll take a break for now, so I can understand it better later on.
Ah, when "Copy depth buffer during frame to prevent artifacts" is enabled it stops working. doesn't display anything anymore, just frozen until deactivating the option
Please Log in or Create an account to join the conversation.
- crosire
Less
More
7 months 4 days ago - 7 months 4 days ago #7
by crosire
Replied by crosire on topic Problem with 3D Depth Capture on Sky: Children in Light
If it just won't match up no matter, then it is very likely the game is using some form of lens distortion post-processing on the image. I'd check the game settings to see if there are any graphics settings that can be disabled (which sound related to post-processing, effects, lens, camera, ...).
Last edit: 7 months 4 days ago by crosire.
Please Log in or Create an account to join the conversation.
- ShadowCat
- Topic Author
Less
More
7 months 4 days ago - 7 months 4 days ago #8
by ShadowCat
Replied by ShadowCat on topic Problem with 3D Depth Capture on Sky: Children in Light
Unfortunately, in this game there is no graphical control, I would say. The game was made for mobile phones at first, so there are many limitations in graphic and control modifications. so much so that it is not even possible to decide the desired FPS.
Well, I don't think there's anything we can do for now. I'll try to give some feedback to the game about the graphic part, I'll know if they will respond or not.
In short, thank you for your help, even though it didn't work, it helped me understand things better.
Well, I don't think there's anything we can do for now. I'll try to give some feedback to the game about the graphic part, I'll know if they will respond or not.
In short, thank you for your help, even though it didn't work, it helped me understand things better.
Last edit: 7 months 4 days ago by ShadowCat.
Please Log in or Create an account to join the conversation.